ROBE Lights via AMX-MIDI
Apprentice
Posts: 12
Hi, i'm preparing the netlinx script to for my next project and it requires calling ROBE light presets through the AMX. The preset strings have be Pre-Determined by the Avo Pearl Midi that is connected to the AMX NI-4000 via AMX-MIDI.
Would like to know if a program of the following which was used to control the DYNALITE presets via RS-485 (in the same project) will work for the Avo Pearl Midi as well.
Define_device
dvMIDI = 90:1:0
integer preset_buttons[] = {1,2,3,4,5,6,7,8,9,10,etc...}
BUTTON_EVENT[dvMIDI,preset_buttons]
{
Push:
{
Switch(button.input.channel)
{
Case PresetBtn1 : Send_String dvMIDI,"$90,$00,$03,$90,$00,$0F,$90,$00,$2B,$90,$00,$5A,$ 90,$00,$77,$90,$00,$7F""
Case PresetBtn2 : Send_String dvMIDI, "Pre-determined String"
.
.
Case PresetBtn10 : Send_String dvMIDI, "Pre-determined String"
}
}
}
Here's a sample string create by the Avo Pearl Midi for its Channel 1 Fade Out: "$90,$00,$03,$90,$00,$0F,$90,$00,$2B,$90,$00,$5A,$ 90,$00,$77,$90,$00,$7F"
Thanks & Rgds
Joe
Would like to know if a program of the following which was used to control the DYNALITE presets via RS-485 (in the same project) will work for the Avo Pearl Midi as well.
Define_device
dvMIDI = 90:1:0
integer preset_buttons[] = {1,2,3,4,5,6,7,8,9,10,etc...}
BUTTON_EVENT[dvMIDI,preset_buttons]
{
Push:
{
Switch(button.input.channel)
{
Case PresetBtn1 : Send_String dvMIDI,"$90,$00,$03,$90,$00,$0F,$90,$00,$2B,$90,$00,$5A,$ 90,$00,$77,$90,$00,$7F""
Case PresetBtn2 : Send_String dvMIDI, "Pre-determined String"
.
.
Case PresetBtn10 : Send_String dvMIDI, "Pre-determined String"
}
}
}
Here's a sample string create by the Avo Pearl Midi for its Channel 1 Fade Out: "$90,$00,$03,$90,$00,$0F,$90,$00,$2B,$90,$00,$5A,$ 90,$00,$77,$90,$00,$7F"
Thanks & Rgds
Joe
0