148
edits
No edit summary |
No edit summary |
||
Line 80: | Line 80: | ||
= Adding Fourth Drum Piece = | = Adding Fourth Drum Piece = | ||
== Setting Up Arduino Hardware == | == Setting Up Arduino Hardware == | ||
Adding the fourth was the procedure as before . I added in another analogPin, another val, and another Serial.print. | Adding the fourth was the procedure as before. I added in another analogPin, another val, and another Serial.print. | ||
[[File:arduino_4_drum_1.png|400px]] | [[File:arduino_4_drum_1.png|400px]] | ||
Line 90: | Line 90: | ||
[[File:max_4_drum.png|400px]] | [[File:max_4_drum.png|400px]] | ||
Here is the coding for Arduino and Max/MSP: | |||
[[Arduino 4 Drum Piece]] | |||
[[Max 4 Drum Piece]] | |||
= Adding Fifth Drum Piece = | |||
== Setting Up Arduino Hardware == | |||
The setup was the same as before. I added in another analogPin, another val, and another Serial.print to accomadate the fifth and final peice. | |||
[[File:arduino_5_drum_1.png|400px]] | |||
[[File:arduino_5_drum_2.png|400px]] | |||
[[File:arduino_5_drum_3.png|400px]] | |||
[[File:arduino_5_drum_3.png|400px]] | |||
== Adding Fifth Drum Piece to Max/MSP == | |||
Since I had already setup using my own sound files for the drums when I added the fourth piece, this step was simple enough. Added another element to unpack and then copied the everything below from a another drum piece and connected it to unpack, changed the audio file, and connect it to the output. | |||
[[File:max_5_drum.png|400px]] | |||
edits