I wanted to ask you a favor, if is possible...
I'm trying to reuse old dmx light consol (bheringer ) of mine equipped with MIDI and DMX out, as if ,it were a wing for Chamsys magicq.
Magicq, which I use, has the possibility of having the OSC protocol , or MIDI, or DMX / artnet scan, as input to drive some function (level , cue etc etc)
I modified a simple schech recovered in the osc library to convert from MIDI CC to OSC and everything works.
Unfortunately I discovered that the OSC implementation of chamsys does not cover some functions (Even if the manual states otherwise!!), which instead covers by DNX IN.
I tried to modify the source of LXArduinoDMXUSART (DMX IN to ARTNET/SCAN) , but I find it difficult to identify the "DMX data input" part.
In my little schect I intercept the midi CC coming from the console and transform them into OSC commands.this is part of my midi/osc routine
Code: Select all
void loop() {
MIDI.read(); // leggi midi in
}
void handleOSC(float cc, const char* message)
{
.... // tutta la coversiosione in OSC e spedizione
}
void MyCCFunction(byte midich, byte number, byte value) {
switch (number) {
case 21: // Controllo CC del canale 1 - a seguire gli altri
cc = value / 127.0;
message = "/ch/01/mix/01"; // comando OSC per dimmer CH1 Bheringer
handleOSC(cc, message);
break;
Before, to testo,I created a small program in VB6 to convert the MIDI messages into ARNET/SACN and everything works fine (MIDI OUT from Consol > MIDI IN PC > VB6 CONVERTER > LOOP MIDI > MAGICQ).
Afther I' ve test same function with DMX IN (intead of midi but direct via artenet/sacn) and all work fine too!
At this point I wanted to free the PC from this software "load" and move it to Arduino, to put "IN LINE" between the mixer and magicq(CONSOL MIDI OUT > ARDUINO TO DMX ARTNE/SACN > MAGICQ IN)
Could you tell me how to proceed, if possible...obviously?