|
||
Title: Mapping Program Change to NoteOn gives NoteOff Post by rkwb on Sep 17th, 2004, 8:18am Hi Jamie ! Still (or again) working on my old topic "total recall" for a live band, I tried to map an incoming Program Change to NoteOn, which is what would help me to achieve what I want in Cubase. So I set up a Translation Map in MIDIOX: MOXMAP Version 5 [Map] 1,ProgChg,*,*,*,*,N,0,*,NoteOn,*,*,*,* [Options] WaitForFullNRPN=0 MapNRPNDataIncr=0 SendFullNRPN=0 ReverseDataEntry=0 However, when I monitor input and output I can see that the resulting output is NoteOff Input: TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT 75267909 2 -- 192 2 --- 1 --- PC: Electric Grand Piano Output: TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT 75267909 2 2 144 2 0 1 D -1 Note Off What am I doing wrong as I can tbelieve that this would be an undiscovered bug ;-) Thanks and best regards RKW |
||
Title: Re: Mapping Program Change to NoteOn gives NoteOff Post by Jamie OConnell on Sep 17th, 2004, 3:15pm When you issue a Note ON, you also have to specify a velocity. It also happens that a velocity of 0 equals a Note OFF, so you'll want to prevent that (although I suspect you'll want Note OFFs at some point?). Program change is a 2 byte message, while Note ON is a 3 byte message, so all your mappings will have 0 velocity (and thus be Note OFFs). To fix this, specify a velocity: MOXMAP Version 5 [Map] 1,ProgChg,*,*,*,*,N,0,*,NoteOn,*,*,100,100 This will map Program Change into a Note On. The Pitch will be the patch number and velocity will be 100. |
||
Title: Re: Mapping Program Change to NoteOn gives NoteOff Post by rkwb on Sep 17th, 2004, 4:29pm YAPADAPADOOOOOOOOO !!!!!!!!!!!!!!!!!!!!!!! That was the final little thing !!!!!!!! I'm now able to remotely control Cubase to load the complete setup for any song of our five piece band with a any MIDI controller within a second !!!!! Thanks a lot ! RKW |
||
MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |