Author |
Topic: Copy Midi In to variouse Midi Out (Read 1749 times) |
|
mmoedern
New Member

 Organs around the world!
Gender: 
Posts: 2
|
 |
Copy Midi In to variouse Midi Out
« on: Jan 2nd, 2006, 2:15am » |
Quote Modify
|
Hi all, Can anyone help me with a VBS code? I want to use a Midi Expander with 16 Channels on my 4 Channels Organ. Therefor i would need a script / program (in VBS, thus i cannot c++ the whole thing) that does copy the Midi Signals from 2 Midi-In Devices to a single Midi-Out device as follows: copy Midi-In Dev1 channel 1 to Midi-Out channels 1,5,9+13 copy Midi-In Dev1 channel 2 to Midi-Out channels 2,6,10+14 copy Midi-In Dev1 channel 3 to Midi-Out channels 3,7,11+15 copy Midi-In Dev2 :o channel 4 to Midi-Out channels 4,8,12,16 Is this possible in realtime? The result should be the possibility to use 4 instruments for the expander for every single midi channel on my organ. the problem is that i am using 2 midi-in devices (Midisport 2x2) and one midi-out can anyone help me with this? best regards Martin
|
|
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Copy Midi In to variouse Midi Out
« Reply #1 on: Jan 2nd, 2006, 12:06pm » |
Quote Modify
|
You can do this completely with MIDI-OX Data Mapping. Scripting is not required. You need to create two Data maps. One will do the 1st part: channel 1 to Midi-Out channels 1,5,9+13 channel 2 to Midi-Out channels 2,6,10+14 channel 3 to Midi-Out channels 3,7,11+15 You can use this if you save it as a .txm map and then import it in the data mapping dialog. Resave it as a .oxm map: ------------snip------------------- MOXMAP Version 5 [Map] 1,*,*,*,*,*,Y,0,5,*,*,*,*,* 1,*,*,*,*,*,Y,0,9,*,*,*,*,* 1,*,*,*,*,*,Y,0,13,*,*,*,*,* 2,*,*,*,*,*,Y,0,6,*,*,*,*,* 2,*,*,*,*,*,Y,0,10,*,*,*,*,* 2,*,*,*,*,*,Y,0,14,*,*,*,*,* 3,*,*,*,*,*,Y,0,7,*,*,*,*,* 3,*,*,*,*,*,Y,0,11,*,*,*,*,* 3,*,*,*,*,*,Y,0,15,*,*,*,*,* -------------snip----------------- and the other will do the 2nd part: channel 4 to Midi-Out channels 4,8,12,16 Here: ----------------------------------- MOXMAP Version 5 [Map] 4,*,*,*,*,*,Y,0,8,*,*,*,*,* 4,*,*,*,*,*,Y,0,12,*,*,*,*,* 4,*,*,*,*,*,Y,0,16,*,*,*,*,* ----------------------------------- Save each map as a .oxm file. Then, in the routing view you assign each map to its respective input-output connection.
|
« Last Edit: Jan 2nd, 2006, 12:32pm by Jamie OConnell » |
IP Logged |
--Jamie Music is its own reward.
|
|
|
mmoedern
New Member

 Organs around the world!
Gender: 
Posts: 2
|
 |
Re: Copy Midi In to variouse Midi Out
« Reply #2 on: Jan 3rd, 2006, 2:59am » |
Quote Modify
|
Hi, Well, thank you for the information. What i did not write down and why i want to do it via a script is that is do not want to have this combination stuff done static but dynamic: I want to select stops out of the expander, one time 5 stops for the "Great Organ" Channel 1 + 3 stops for the Pedal (Channel 3), next time i want 4 stops for each channel and so on -> i want to select the organ's keyboard (and thus midi channel), then the stop i want to assign. after that the selected stop should be available on the selected keyboard -> i have to do the association dynamically. best regards Martin
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: Copy Midi In to variouse Midi Out
« Reply #3 on: Jan 3rd, 2006, 4:00pm » |
Quote Modify
|
If you're going to have the organ stops transmit a MIDI Program Change message, you can use that to pick which mapping - still without scripting.
|
|
IP Logged |
"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
|
|
|
|