Page 1 of 1

MIDI Volume - Cntrl #7 question

Posted: Wed Jun 19, 2013 1:17 am
by RJHollins
ok ... this should be simple, but I've not found definitive answer related to FS code.

I'm making a simple VCA that I need to control level output. This will be a small VST audio plugin that I need to send MIDI data to.

I'm using the stock 'MIDI Event' prim as the foundation.

I would prefer to follow proper MIDI spec format of the data ... and that is where the question is.

I'm testing with:

STATUS = 7
Channel = assignable 1-16
D1 = ????
D2 = variable 0 - 127

I'm not sure what value for D1. Also want to be correct with Status ... well, everything actually :lol:

I've been all over the web, and found plenty of spec sheets ... but still not sure :roll:

Thanks for any help for this!

Re: MIDI Volume - Cntrl #7 question

Posted: Wed Jun 19, 2013 2:04 am
by RJHollins
additional research ...

I'm reading that CNTRL #7 [Main Volume] is a CC.

If I understand correctly ...

The STATUS would = 176 and D1 = 7 .

CHannel and D2 would be variables I can supply.

Does this sound correct ?

Re: MIDI Volume - Cntrl #7 question

Posted: Wed Jun 19, 2013 3:46 am
by Tronic
this message in binary format is Status byte + Channel byte
Status: 176
Channel: 1-16
Data 1: 0-127 (Control Change number)
Data 2: 0-127 (value)

Re: MIDI Volume - Cntrl #7 question

Posted: Wed Jun 19, 2013 5:48 am
by RJHollins
Ah ... Thanks for confirming Tronic :)