255
edits
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Homework== | |||
[[File:2. build simple sequencer.maxpat]] | [[File:2. build simple sequencer.maxpat]] | ||
Line 10: | Line 10: | ||
[[File:4 led dimmer.maxpat]] | [[File:4 led dimmer.maxpat]] | ||
[[:File:Led_dimmer.ino]] | |||
Introduction: We could send bytes to the board from MAX that could access the computer serial port to control led brightness. Firstly we need "print" to send a serial ports. "serial b 9600" means 9600 bits per second, it is the default for the Arduino, and is perfectly adequate for the majority of users, but we could also change it to other speeds: Serial.begin(2400) would set the Arduino to transmit at 2400 bits per second. I used "Slider" to output values and to control the brightness of LED. | |||
[[File:6 play web cam.maxpat]] | [[File:6 play web cam.maxpat]] | ||
Line 17: | Line 18: | ||
Introduction: This is a very basic patch of playing webcam. Firstly I used the "Metro 30" to set time in 30 milliseconds. Then "jit.grab" could digitize video from the signals into a Jitter matrix. In the end, I used the "jit.pwindow" to display Jitter data and images. Then we could see ourselves from our webcam. | Introduction: This is a very basic patch of playing webcam. Firstly I used the "Metro 30" to set time in 30 milliseconds. Then "jit.grab" could digitize video from the signals into a Jitter matrix. In the end, I used the "jit.pwindow" to display Jitter data and images. Then we could see ourselves from our webcam. | ||
20.4 | |||
[[:File:Class 2-MAX .docx]] | ==Other Exercises== | ||
20.4 "Dimmer and Frequency"[[:File:Class 2-MAX .docx]] | |||
11.5 Sound Cool Arduino - [[:File:sound cool control LED .maxpat]] | 11.5 Sound Cool Arduino - [[:File:sound cool control LED .maxpat]] |
edits