Nov 3
The system is in a largely stable state. By that I mean it receives data and makes sound. I've only tested it with the test_input file, not audio yet.
Most of the past week's work involved tidying up the existing functions instead of introducing entirely new ideas. I added some more comments, tried to make my usage of music21 and my MyNote class more consistent, tried to use more consistent variable names (everything is a 'motis', no more references to 'phrases'), and just did a lot of testing to figure out what was wrong with each step of the process. I started using the time.time() in the retrieve_next_note function and it works perfectly. I added a few basic functions to act as OSC counterparts to other functions, for example osc_generate_motif for generate_motif. This was to make it easier to call the base functions without having to make OSC/SocketServer calls every time, such as when the system generates a few motifs when initialized.
Aside from some a couple issues to work on (making the difference between rhythmic and melodic motifs clear), I'm going to pick a better MIDI synth to use than the built OS X piano Max/MSP is using and start practicing this weekend. I'm going to continue working on the code, but this work will be based on shaping the performance practice.