This will be the output of the function that transforms tweets into music. It will be the input to the function that actually plays a sound or punches holes in paper tape.
It should be an array of segments, each of which is able to encode at least the following:
one or more notes to play simultaneously (they may be from different octaves)
the duration to play the notes
whether the note should be continuous with the next segment
This will be the output of the function that transforms tweets into music. It will be the input to the function that actually plays a sound or punches holes in paper tape.
It should be an array of segments, each of which is able to encode at least the following: