MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> mapping program changes to note on AND offs
(Message started by: U.Sastra on May 3rd, 2002, 6:38am)

Title: mapping program changes to note on AND offs
Post by U.Sastra on May 3rd, 2002, 6:38am
Hi

I would like to know how I can map a program change message (coming from a floorboard) to send a note on AND a note off after it.
I tried adding another map, one for note on and one for note off, but it seems only one get's through.

Thanks in advance!

Title: Re: mapping program changes to note on AND offs
Post by Jamie OConnell on May 3rd, 2002, 12:07pm
I misread the question the first time.  Here is a better answer:

To map a single message into 2 messages, you have to clone the first mapping.  You also need to provide the Note On with a non-zero velocity (or else it is interpreted as a note Off).  Here's a direct Program Change to Note On / Off mapping:

 * ProgChg  *  *  *  *  x | * NoteOn  *  *  100 100
 * ProgChg  *  *  *  *    | * NoteOff  *  *  *     *




MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.