Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Uploaded on Oct 19, 2011
For this lab, my musical instrument sounds like someone spraying water on a rainy day. Basically, it's a noise generator with both a high pass filter and a low pass filter. It has an encoder knob that users use to change the the midi number for the low-pass filter. Because integers in Arduino are of finite size, I decided to change the firmware to avoid underflow and overflow. If you try to lower the midi number 0, it stays at 0. If you try to raise the pitch above 255, it stays at 255. It does not wrap around.
The encoder can change the midi number permanently, but pressing the button can double the midi number temporarily--to create a spraying sound. This part is done at the firmware level. But as you can also see, I didn't have much room on the board to put other stuff, and so I put the volume control and the high pass frequency control in the PD program. All right, the rest of the video will be me messing around.