PAT 204/504: Creative Coding (Fall 2025)
Due at 11:59pm ET on November 26
In this assignment, you’ll be implementing a bouncing ball MIDI synth with both Processing and Max. When we click at the canvas, a ball should drop with gravity, bounce back with a decay, and make a MIDI sound through sending an OSC message to Max/MSP whenever the ball hits the ground. The MIDI pitch should be determined by the x-position of the ball. The MIDI velocity should be determined by the size of the ball, which would be randomly assigned. It’s up to you to set the decay to a constant or a variable that depends on the ball size (in the video below, the larger tha ball, the less bouncy it is).
Please submit both your Max patch and a video recording demonstrating your work. You will receive zero credit if the code is missing. Zoom can be a good option for recording.
Now, let’s makes some sounds with the FM polysynth you built for HW 6.
Please submit both your Max patch and a video recording demonstrating your work. You will receive zero credit if the code is missing. Zoom can be a good option for recording.
Ball.pde could be a good starting point.poly object only takes integer inputs. If you want to convert a floating number into an integer, you can connect a float to an integer box to convert it to an int in Max.