No edit summary |
No edit summary |
||
Line 59: | Line 59: | ||
[[Max 2 Drum Piece]] | [[Max 2 Drum Piece]] | ||
= Adding | = Adding Fourth Drum Piece = | ||
== Setting Up Arduino Hardware == | == Setting Up Arduino Hardware == | ||
Adding the | Adding the fourth was the procedure as before . I added in another analogPin, another val, and another Serial.print. | ||
[[File: | [[File:arduino_4_drum_1.png|400px]] | ||
[[File: | [[File:arduino_4_drum_2.png|400px]] | ||
[[File:arduino_4_drum_3.png|400px]] | |||
== Adding Third Drum Piece to Max/MSP == | == Adding Third Drum Piece to Max/MSP == | ||
This time adding the fourth instrument was not the same procedure as before. I realized that the audio files provided by Max/MSP did not have enough drum sounds to complete the 5 pieces that I desired. Because of this added sound files that I had of different drum pieces. I was able to link them with open and sfplay~. I also added live gain to each piece so you can adjust them separately to the appropriate volume. | |||
[[File:max_4_drum.png|400px]] | |||
Here is the coding for Arduino and Max/MSP: | Here is the coding for Arduino and Max/MSP: | ||
[[Arduino | [[Arduino 4 Drum Piece]] | ||
[[Max | [[Max 4 Drum Piece]] |