Re: SASL-triggered MIDI instrs

From: John Lazzaro (lazzaro@CS.Berkeley.EDU)
Date: Sat Nov 13 1999 - 14:30:47 EST


> A lot of the stuff I tend to do involves MIDI control in the form of
> MIDIctrl values, but no note-on or note-off messages. In sfront, however,
> if I trigger a MIDI-capable intrument from a SASL score, it doesn't
> receive MIDIctrl information (even though it's on the right channel). Is
> this a bug or a feature?

Hmm ...

So basically,

1 -- You send a Program Change command in your MIDI stream, so that
Extended MIDI channel 12 (for example) gets mapped to preset 31.

2-- You have an instrument around:

instr foo () preset 31 {

}

3-- You don't launch foo() via MIDI NoteOn's, but via SASL commands

4-- In the code for foo(), your want to use the MIDIctrl[], MIDIbend, MIDItouch,
channel, and preset standard names to sense what's on the MIDI stream,
just like an instrument launched with a NoteOn.

I'll have to dig into the sfront code to see just what's required to
make this work -- it might be simple or it might not be. There's also
the issue of what the MP4-SA standard says on this -- so I'm CC'ing
this to saol-devs to see what the word is. I guess the core standards-related
issue would be:

Is the presence of a "preset #" in an instrument definition sufficient
for all instances of the instrument to get valid data from the MIDI
standard names, or are only instances launched with NoteOn commands
supposed to receieve it?

                                                                --jl



This archive was generated by hypermail 2b29 : Wed May 10 2000 - 12:15:46 EDT