Page 1 of 1

MIDI command for sustain pedal and Modulation wheel

PostPosted: Sun Sep 17, 2017 5:18 am
by RezaYazdi604
What are the MIDI commands I need to send to MusicStudio to activate the "sustain pedal button" and "modulation wheel"? I can activate them on my iPad but I want to send them from my MIDI keypad?

I use 0x09 for NoteOn and 0x08 for NoteOff

Thanks

Re: MIDI command for sustain pedal and Modulation wheel

PostPosted: Sun Sep 17, 2017 5:56 am
by RezaYazdi604
I believe I found the wheel command is 0xE0, correct?
What is the command for the sustain pedal to be activated (pressed)?

***correction in the previous post: NoteOn is 0x90 and NoteOff is 0x80

Re: MIDI command for sustain pedal and Modulation wheel

PostPosted: Tue Sep 19, 2017 4:37 am
by RezaYazdi604
No worries! Thanks to google I found the answer to my question

MIDI command (0xB0, 0x40, 0x40)

0xB0 is the Control Change command
0x40 (64) Damper Pedal (Sustain On or Off)
Any value less or equal to 0x3F (63) will have the pedal off
Any value more or equal to 0x40 (64) will turn the pedal ON

Have fun!

Re: MIDI command for sustain pedal and Modulation wheel

PostPosted: Thu Sep 21, 2017 7:30 pm
by Alex
Correct!

The second value (in your example 0x40 = 64) specifies the MIDI CC number. Sustain is 64, modulation is 1, volume is 7, pan is 10. Here's more info:
http://www.xewton.com/musicstudio/doc/?id=10#MIDI_IN