HW 7: Singing Balls

PAT 204/504: Creative Coding (Fall 2025)

Due at 11:59pm ET on November 26


Instructions


Q1: Singing MIDI Balls (5pt)

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.


Q2: Singing FM Balls (5pt)

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.


Hints


Hosted on GitHub Pages. Powered by Jekyll. Theme adapted from minimal by orderedlist.