User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - SysEx message being sent twice »
Welcome, Guest. Please Login or Register.
May 8th, 2025, 3:59pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   SysEx message being sent twice
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: SysEx message being sent twice  (Read 823 times)
gregorydarmohray
New Member
*





   
Email

Gender: male
Posts: 8
SysEx message being sent twice
« on: Oct 2nd, 2005, 1:44am »
Quote Quote Modify Modify

I'm mapping a NoteOn 36 message to a SysEx message.  That works fine.   However, when I release the note and get a NoteOff 36, my mapping is ignore and instead the Outout Monitor shows the same NoteOn SysEx message being sent a second time.
 
I'm trying to use some Bass Pedals so that a NoteOn c2 message starts a drum fill from part a to b, and releasing the pedal, generates a NoteOff c2 which should turn off the drum fill.  The maps look something like:
 
* NoteOn 36 36 * *, SysEx F0 43 7e 00 18 7f F7
* NoteOff 36 36 * *, SysEx F0 43 7e 00 18 00 F7
 
My Clavinova CVP-98 wants the 7f at the end to turn on the drum fill and a 00 at the end to turn it off.
 
Why is MIDI-OX sending the SysEx associated with the NoteOn twice?   Why can't I send send the SysEx associated with my NoteOff message?
 
Thanks in advance for your help.
IP Logged

Best Regards,
Gregory Darmohray
503-803-5907
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: SysEx message being sent twice
« Reply #1 on: Oct 2nd, 2005, 4:12am »
Quote Quote Modify Modify

NoteOff is a redundant MIDI message and commonly replaced with NoteOn velocity 0.  This allows "running status" to be used, saving the amount of data transferred.  Windows expands out running status but won't translate from a NoteOn velocity 0 to a NoteOff.
 
Try checking the note velocity.
IP Logged

"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: SysEx message being sent twice
« Reply #2 on: Oct 2nd, 2005, 3:21pm »
Quote Quote Modify Modify

To expand on what Peter said, do NOT map NOTE ON using:
 
* NoteOn 36 36 * *, SysEx F0 43 7e 00 18 7f F7
 
Instead, only map velocities of 1 -127, as velocity 0 is another way of saying NOTE OFF:
 
* NoteOn 36 36 1 127, SysEx F0 43 7e 00 18 7f F7
 
Add a 2nd Note off mapping (for velocity 0):
 
* NoteOn 36 36 0  0, SysEx F0 43 7e 00 18 00 F7  
* NoteOff 36 36 * *, SysEx F0 43 7e 00 18 00 F7  
 
 
« Last Edit: Oct 2nd, 2005, 3:22pm by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


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