Assignment 4 is to make a qlist-driven polyphonic instrument that plays a simple sequence. There are many ways to do this. I did something simple and made the synthesizer just play sinusoids. What follows is what I did:
n 67; 350 n 71; 350 n 74; 700 n 67; n 71; n 74This is a dorky-sounding doorbell; the musically minded among you might want to put in your own more artistic sequence.
There are many, many possible improvements you could make on this. It might be better to have the qlist specify durations note by note. You might also want to make a smarter voice allocation scheme than just counting through the four voices. Yu'll probably want to make a spiffier sound which will then need more parameters. You might want to send the parameters via messages to the voices instead of just sending them everywhere globally. Etc...