Using MIDISend/MIDISendSysex for Line 6 USB Device
Using MIDISend/MIDISendSysex for Line 6 USB Device
- Subject: Using MIDISend/MIDISendSysex for Line 6 USB Device
- From: "Boyd Timothy" <email@hidden>
- Date: Thu, 18 Oct 2007 10:29:22 -0600
I recently bought a Line 6 POD X3 Live guitar pedalboard [1] which has
a USB interface. Line 6 released the hardware before they really have
software ready to support controlling it. They've released USB
drivers for it now and the POD X3 Live now appears as a MIDI device.
So, I fired up XCode and started hacking away (not ever having done
MIDI programming before). Line 6 has some MIDI CC reference for some
older products and I assume that many of the MIDI CC #'s are the same
for this new piece of hardware.
I followed some example MIDI code to enumerate the list of MIDI
devices and my code is able to see the POD X3 Live. So, then I
figured I'd try to use MIDISend() to try turning the Noise Gate
feature on or off.
The documentation says the MIDI CC # for Noise Gate is 22. You send a
value of 0 - 63 to turn the Noise Gate off or a 64 - 127 to turn it
on. Simple enough, or at least I thought.
I tried using MIDIPacketListInit(), MIDIPacketListAdd(), and
MIDISend() to send the on/off signals for the Noise Gate, but nothing
happened on the POD. But I didn't get any errors reported back by the
MIDISend() either. I finally came across a program named, MIDI
Monitor [2] which monitors MIDI messages and displays some information
in a window about them. I noticed that whenever I would call
MIDISend() it'd complain about my message being invalid.
So then I switched over to use MIDISendSysex() thinking that might be
what I need to do. The bytes I tried to send in that function were:
0xF0 0x16 0x00 0xF7 (to turn the Noise Gate on). Even though the MIDI
Monitor saw it and didn't complain about it being an invalid message,
the Noise Gate didn't turn on on the POD device.
Anyhow, I've searched around for information about MIDI and
controlling MIDI devices using CoreMIDI.framework, but haven't
happened across the right examples/tutorials/specifications. I've
seen stuff about RTP MIDI, is that what I should be doing? Should I
be sending Sysex packets?
Sorry for the long post, but can anyone point me in the right direction?
Thanks for any help/direction you might have to offer!
Boyd
[1] http://tinyurl.com/yt52rh
[2] http://www.snoize.com/MIDIMonitor/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden