MiniMusicPlayer3.java from Head First Java - Sounds like drums to me.
posted 7 months ago
This example program from Head First Java. It supposed to be a music video with synth sound and random rectangles. Instead, I have drum sounds with random rectangles. If I comment out the line The sound returns to synth but there aren't any rectangles. I know this is the ControllerEvent to signal the rectangles according to the book it does nothing but this. I wonder if maybe it is a drum sound? What is going on?
posted 6 months ago
Well I finally have some progress. I made one simple change from the book. I'm not 100% sure what it means. I changed the ControllerEvent line to to put the ControllerEvent on a different channel from the piano sound. I'm guessing because I can't have the ControllerEvent on the same channel as the note samples. I'm not sure why it works on other computers but not mine. It must be some environmental differences? I'm using a Debian Linux OS. Is there anyone using the same configuration who can explain why?