GMU:My Computer, Max, and I/Kaël Skyhawk Hauptmann: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 131: Line 131:
[[File:drum_kit_beat.mov|400px]]
[[File:drum_kit_beat.mov|400px]]


See [[Arduino 5 Drum Piece]] and [[Max 5 Drum Piece]] for coding.
As you can see, I was able to hook up 5 Piezo sensors to the Arduino by using a breadboard, alligator clips, jumper cables, and 1M resistors. One problem I encountered was that when I hooked up more than one sensor, there would be some noise, some of the sensors would constantly output a low signal when other sensors were struck, but the number is usually very low and negated because of the threshold that I put in the Arduino and Max/MSP code. When each sensor is struck it outputs the assigned drum noise.
 
See [[Arduino 5 Drum Piece]] and [[Max 5 Drum Piece]] for final coding.