gogins / csound-extended

Extensions for Csound including algorithmic composition, Android app, and WebAssembly.
GNU Lesser General Public License v2.1
40 stars 1 forks source link

Inconsistency between MIDI channel number and CsoundAC::Event instrument number #154

Closed gogins closed 3 years ago

gogins commented 3 years ago

Channel and instrument are the same except that MIDI channel numbers are 0-based and Csound (and therefore, by extension, CsoundAC) instrument numbers are 1-based. Ensure that this is consistent.

I discovered this by exporting a MIDI file from a CsoundAC piece and finding that MIDI channel numbers were 1 too high.

gogins commented 3 years ago

I think this is fixed now.