Open EvanPartidas opened 1 year ago
You normally don't need to use sequence
. So in the second example you can leave off the last line.
The purpose of that is to override the whole processing stuff if you know exactly what you want. The place that I use it is when the user clicks on a note you can get a callback. Then I create a sequence with just that note in it and play it. If I have anything more complicated I go through the renderAbc() method.
Will cause this error
self.flattened.tracks is undefined
This (unintuitively) acheives that effect.
I'm not sure what the point of synth.sequence is, but it seems
MidiBufferOptions.sequence
wants anAudioTracks
type, not anAudioSequence
type.