|
||||||
Title: Sending Controller Data from vb6 Post by Jez on Nov 13th, 2005, 6:33pm Hi All, I am using MIDI OX to allow me to communicate with my DSP1424-P signal processor to control the parameters through different MIDI controllers and values, using vb6 for the front end design. I am using the MIDI implementation chart for the processor and have a list of controller numbers. I am using the .MidiOutputMsg method to send: -1 for the port (as any port is valid on my hardware for receiving data) Controller number - data1 Parameter value - data2 My question is what do I have to send for the 'status' parameter? Thank you Jez |
||||||
Title: Re: Sending Controller Data from vb6 Post by Jamie OConnell on Nov 13th, 2005, 7:48pm MIDI Status is a combination of the MIDI message number (ex: NoteOn = 90, NoteOff = 80, Controller = B0) and the MIDI Channel (ex: Channel 1 = 00, Channel 2 = 01, Channel 16 = 0F). So, Controller 1 (Modulation) with a value of 64 (decimal) on channel 3 works out to: B2 01 40 |
||||||
Title: Re: Sending Controller Data from vb6 Post by Jez on Nov 13th, 2005, 8:17pm Thank you for your quick reply Jamie.... Does this make sending the data1 and data2 parameters un-needed then? Could you give an example of how to send controller message 87 with a value of 1 on all midi channels. Do you have a good link to a website explaining more about MIDI messages and controllers? Thanks Jez |
||||||
Title: Re: Sending Controller Data from vb6 Post by Jamie OConnell on Nov 15th, 2005, 2:42pm Quote:
No. A MIDI Controller message is always 3 bytes long (Status, CC#, Value), unless running status is in effect. But running status is almost never used on Windows. Quote:
You'd send the following: B0 57 01 B1 57 01 B2 57 01 B3 57 01 B4 57 01 B5 57 01 B6 57 01 B7 57 01 B8 57 01 B9 57 01 BA 57 01 BB 57 01 BC 57 01 BD 57 01 BE 57 01 BF 57 01 Quote:
Try this one: http://www.borg.com/~jglatt/tutr/miditutr.htm |
||||||
MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |