Need Help to get the MIDItoMaster Script working

Write here what nice effects or shows you have done with MADRIX or ask other users.

Moderator: MADRIX Team

Locked
frodo01
Posts: 3
Joined: Thu Dec 19, 2013 8:14 pm

Need Help to get the MIDItoMaster Script working

Post by frodo01 »

Hello,

I Try to make the Example Script MIDItoMaster on the main output. I don't know why, but it's not working.

When I open the MIDI Watcher and press a Button on my controller i get this DATA:

Type: Raw Data
Message: Note On
Chn Note Vol: 02 069 127
Raw Data: 0x91 45 7F

Now i Try to write the same Data into my script, like this:


const int NOTE=69; // MIDI Note for control
const int CHANNEL=2; // MIDI Channel for control
const int DEVICE_ID=0; // MIDI Device for control


But it want work, and i don't know why. Can I see somewhere the Device_ID?

Thank's for your help.
User avatar
Wissmann
Developer
Developer
Posts: 774
Joined: Fri Feb 23, 2007 3:36 pm
Location: Germany
Contact:

Re: Need Help to get the MIDItoMaster Script working

Post by Wissmann »

Ok, here is the reason, the Midi Watcher starts the midi channel enumeration with 1.
But the Script/Macro starts with 0.
If you see a midi channel "2" in the watcher type "1" in the macro.
LEDs are nothing without control ;-)
Locked