Avo Pearl Midi
Apprentice
Posts: 12
Hi, i need to call ROBE light presets through the AMX. The strings are generated by the Avo Pearl Midi and 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 connected via AMX-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, "$1C,$0B,$64,$00,$00,$00,$FF,$76"
Case PresetBtn2 : Send_String dvMIDI, "$1C,$0B,$64,$01,$00,$00,$FF,$76"
.
.
Case PresetBtn10 : Send_String dvMIDI, "$1C,$0B,$64,$0A,$00,$00,$FF,$76"
}
}
}
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
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, "$1C,$0B,$64,$00,$00,$00,$FF,$76"
Case PresetBtn2 : Send_String dvMIDI, "$1C,$0B,$64,$01,$00,$00,$FF,$76"
.
.
Case PresetBtn10 : Send_String dvMIDI, "$1C,$0B,$64,$0A,$00,$00,$FF,$76"
}
}
}
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