Line 102: | Line 102: | ||
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. | ||
<gallery> | |||
File:arduino_4_drum_1.png | |||
File:arduino_4_drum_2.png | |||
File:arduino_4_drum_3.png | |||
</gallery> | |||
=== Adding Fourth Drum Piece to Max/MSP === | === Adding Fourth 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 I added sound files that I had of different drum pieces. I was able to link them with open and sfplay~. I added live gain to each piece so you can adjust them separately to the appropriate volume. | 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 I added sound files that I had of different drum pieces. I was able to link them with open and sfplay~. I added live gain to each piece so you can adjust them separately to the appropriate volume. | ||
<gallery> | |||
File:max_4_drum.png | |||
</gallery> | |||