Frank Nordberg wrote:
>Jean-Francois Moine wrote:
>>
>> Hello,
>>
>> Trying to have an organ on my PC computer, I have some questions about
>> the %%MIDI pseudo-comments:
>>
>> - in abc2midi, the documentation says the MIDI program is in the range
>> 1..128, while it seems to be in the range 0..127. Where is the truth?
>
>You're talking General midi here. The midi standard itself neithere
>specifies or limits the number of programs.
Not the total number; the number of programs per bank is limited to
128 because the number has to fit in 7 bits.
>Technically the General Midi programs are numbered 0-127, but many
>instruments and computer programs use the numbering 1-128 instead (or
>even 00-7F). You're definitwely not the only one who's confused about
>this ;-)
That's correct.
While we're on the subject, I was under the impression that the first
number in the %%MIDI program specification was the bank number rather
than the channel, and that changing the channel was a separate %%MIDI
command? This is logical, since to specify the program you need to
specify the bank and the instrument number within that bank, but not
the channel. The way it's currently set up in BarFly, %%MIDI 2 3
means use the third instrument in bank 2. Since Quicktime instruments
are not really organised into banks you cound also write this as
%%MIDI program 1 130 (130 = 127 + 3). This is likely to cause problems
with external synths though.
Phil Taylor
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html