Author |
Topic: MIDI Keys trigger mapping config help (Read 5384 times) |
|
orangefx
Member
 

Posts: 12
|
 |
MIDI Keys trigger mapping config help
« on: Nov 7th, 2007, 2:28pm » |
Quote Modify
|
hi everyone. i read a lot in the forum, googeled for days, downloaded peters pdf, read the manual over and over but cant get a clue. since my native tongue is german i'm limited in understanding english manuals. i am trying to do a (should be) simple thing. my usb-midi controller sends on channel 1, i want it to send on channel 2 after hitting any uneven number (1;3;5;7;9) on my laptop keyboard. after pressing any even number (2;4;6;8;0) on my keyboard the rule should be dropped (meaning the controller should be sending on channel 1 again). latest versions of midi yoke, midi keys (from midi-ox page) and midi-ox 7 all installed i managed to monitor my keyboard pressing @ midiox output monitor (notes C#1,C-1) and i wrote a rule for routing all incoming on channel 1 to channel 2. i never could glue these rules together working the way i want it. i also have a hard time understanding the connection routing. the output should be routed to a dj software. midikeys is set to send to "midi yoke 1" on "channel 10". it sends out 1 after pressing any even number (2;4;6;8;0) and it sends out 0 after hitting any uneven number (1;3;5;7;9) can anyone tell me how to do this? this is a screenshot of my config: http://freenet-homepage.de/orangat/midimapping.JPG greets from berlin orangefx
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #1 on: Nov 7th, 2007, 2:49pm » |
Quote Modify
|
To do this kind of control, you need to be switching Data Maps. To switch Data Maps, you need a Patch Map to be controlling MIDI OX, using Program Change ("Patch") messages. So step one is to turn the Note messages into Program Change messages. Step zero is to set up the data mappings and save them as .OXM files. Step two is to set up the patch maps, saying which .OXM file to load for each Program Change message. Then you need to use MIDI Yoke to wire the incoming MIDI Keys messages into MIDI OX (translating them into Program Change messages), out to MIDI Yoke, back into MIDI OX (processes Program Change and switches Data Map controlled by Patch Map). Not simple, I'm afraid. It's covered a few times in more depth already.
|
« Last Edit: Nov 7th, 2007, 2:51pm by Peter L Jones » |
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
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #2 on: Nov 15th, 2007, 6:59pm » |
Quote Modify
|
thanx peter for fast reply, but its only half the story (which is help but) i still cant get it together. would be gratefull for some instructions in routing midikeys+usb-device+midiox+software. if u or anyone can link me to the "more depth" help please?
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #3 on: Nov 16th, 2007, 3:43pm » |
Quote Modify
|
Have you looked at the "Patch Mapping" section in the manual, for a start?
|
|
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
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #4 on: Nov 20th, 2007, 12:24pm » |
Quote Modify
|
on Nov 16th, 2007, 3:43pm, Peter L Jones wrote:Have you looked at the "Patch Mapping" section in the manual, for a start? |
| yes, i did and it told me not what i need to know. maybe it's b/c i am too stupid. thats why i try to find help here. i will list my procedure and the errors i receive here again in more detail: 1. when opening midikeys i have 3 options of routing: - out to midiyoke1 - midimapper - all i send the notes C-1 and C#1 to channel 10. only when i connect to "ALL" there is something to see in the "output monitor" of midiox. should i leave it like that? shouldnt i connect to midiyoke? 2. i created a data map saying "change any type message from channel 1 to channel 2" and saved it as "Channel 1to2.oxm" + turn map on after ok 3. if i understand ur instructions and the "patch mapping" chapter of the manual correct, i should create a patch map by pressing the "define program change mapping" button. there i need to assign "Channel 1to2.oxm" to a port map, which is to be created in "MIDI Devices dialog". this one is a complete miracle to me. i find "Channel 1to2.oxm" there. and a lot of other stuff. i am lost here. there is nothing listed when i search for "MIDI Devices dialog" in the manual. see http://freenet-homepage.de/orangat/MIDI-Devices.JPG so i need to know what to do here! 4. u said "Then you need to use MIDI Yoke to wire the incoming MIDI Keys messages into MIDI OX (translating them into Program Change messages), out to MIDI Yoke, back into MIDI OX (processes Program Change and switches Data Map controlled by Patch Map)." need also help here. HOW do i wire it? everything i tried did not work. peter if u dont feel like explaining it to me in detail, please link me to some place where i can find an answer. or please tell me at least how to find it.
|
|
IP Logged |
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #5 on: Nov 20th, 2007, 9:20pm » |
Quote Modify
|
some progress i connected midikeys (appears to be "midi-ox event port") to "all" after i connect "usb device" and "midi-ox event port" to "out midi yoke 1" this way i have output @ "out midi yoke 1" when hitting the keyboard and when sending data from usb device. is that ok? now i connect "in from midiyoke 1" to "out to midiyoke 2" looks: http://freenet-homepage.de/orangat/midimapping2.JPG still ok? i still dont get the mapping situation. in the translation map i have to put numbers from -1 to 127. so i take 0 and 1 i guess from the midikeys list. [i also have C-1 and C#1 (what the monitor shows) but i cannot use those values in the translation map.] what program change value should i convert those to? and how does it all go together with my "Channel 1to2.oxm"?
|
« Last Edit: Nov 20th, 2007, 9:57pm by orangefx » |
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help"
« Reply #6 on: Nov 21st, 2007, 1:04pm » |
Quote Modify
|
The Patch mapping gets triggered by messages arriving on "In from MIDI Yoke 1". Under "Options->Patch Mapping...", you can set up one Data Map for each possible MIDI Program Change message (i.e. 128 of 'em). You need two Data Maps. One with the channel remapping turned on, one with it turned off. If you can only send Note events, BOTH maps also need to turn a note event into a Program Change event - use one Program Change for "map to channel 1" and a different Program Change for "map to channel 2". Save both Data Map OXM files. In the patch mapper, put the "Map to Channel 1.OXM" in the slot for the program change you picked to do that. Same for the Map to Channel 2 file. Now... When you iconise MIDI-OX, it should drop to the task tray. Right-click the icon and make sure "Global Data Map" is ticked.
|
« Last Edit: Nov 21st, 2007, 1:04pm by Peter L Jones » |
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
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help"
« Reply #7 on: Nov 25th, 2007, 3:49pm » |
Quote Modify
|
The Patch mapping gets triggered by messages arriving on "In from MIDI Yoke 1". so i deleted midiyoke 2 Under "Options->Patch Mapping...", you can set up one Data Map for each possible MIDI Program Change message (i.e. 128 of 'em). You need two Data Maps. One with the channel remapping turned on, one with it turned off. If you can only send Note events, BOTH maps also need to turn a note event into a Program Change event - use one Program Change for "map to channel 1" and a different Program Change for "map to channel 2". Save both Data Map OXM files. i did, hopefully correct, see http://freenet-homepage.de/orangat/translationmap.JPG saved those as "peters die 1 channelmapping.oxm" and "peters die 2 channelmapping.oxm" In the patch mapper, put the "Map to Channel 1.OXM" in the slot for the program change you picked to do that. Same for the Map to Channel 2 file. dont understand what u mean by slots. it looks like this: http://freenet-homepage.de/orangat/patchmap.JPG and nothing happens when i press 1 or 2 @ my keyboard. whats wrong?
|
« Last Edit: Nov 25th, 2007, 3:51pm by orangefx » |
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #8 on: Nov 26th, 2007, 1:58pm » |
Quote Modify
|
The translation map (Data map) you posted translates Note 1 to Program 1 and Note 0 to Program 0. It doesn't do the Channel mapping you're after, so I hope that's the mapping you want to use for "Map to Channel 1.OXM". You need another one with an extra row on to do the mapping from Channel 1 to Channel 2 - hopefully that's in the other map you've not shown. Other than that, it looks okay. Just make sure you're sending Note 0 and Note 1. Check the monitors for what's actually being sent. Change the Data map to match, if required.
|
« Last Edit: Nov 26th, 2007, 1:59pm by Peter L Jones » |
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
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #9 on: Dec 2nd, 2007, 2:00pm » |
Quote Modify
|
i keep reading ur answer over and over but dont understand what u mean, or how to do it, sorry. i have made screenshots of what i did. i understand i saved wrongly the same thing twice and just named it differently (peters die 1/2 channelmapping.oxm). >>>You need another one with an extra row on to do the mapping from Channel 1 to Channel 2<<< can u tell me in single steps what i have to do know? how exactly has the >>>other map<<< to look like?
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #10 on: Dec 3rd, 2007, 3:19pm » |
Quote Modify
|
Maybe I'm not understanding what you want to do. Write out in single steps what you want MIDI OX to do, then it will be easier for me to explain.
|
|
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
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #11 on: Dec 4th, 2007, 3:19am » |
Quote Modify
|
[quote author=orangefx link=board=Mapping;num=1194463723;start=0#0 date=11/07/07 at 14:28:43] my usb-midi controller sends on channel 1, i want it to send on channel 2 after hitting any uneven number (1;3;5;7;9) on my laptop keyboard. after pressing any even number (2;4;6;8;0) on my keyboard the rule should be dropped (meaning the controller should be sending on channel 1 again).
|
|
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #12 on: Dec 4th, 2007, 12:11pm » |
Quote Modify
|
I am trying to get ,my head around this... Quote:midikeys is set to send to "midi yoke 1" on "channel 10". it sends out 1 after pressing any even number (2;4;6;8;0) and it sends out 0 after hitting any uneven number (1;3;5;7;9) |
| You are saying when you type '1', '3', '5', '7', '9' on your computer keyboard, you have MIDIKeys send 0 on channel 10. But 0 what? NoteOn 0?, Program change 0?, CC:0? The same question applies to even number keys...? Since you didn't specify, I am going to suggest that you have MIDI Keys send a Program Change of 0 on channel 10 in response to typing '1', '3', '5', '7', '9' on your computer keyboard. Equivalently, have it send a Program change of 1 on channel 10 in response to '2', '4', '6', '8', '0'. It doesn't matter, but why so many keys for each action? OK, before going further, test that part: verify (in MIDI-OX monitor) that you get a program change of 0 on channel 10 for '1', '3', '5', ... and program change of 1 on channel 10 for '2', '4', '6' ... So that part is working, right? Now use Patch Mapping to load maps to re-channel your Synth. The first map will re-channel all data arriving on channel 1 to channel 2. This map will be assigned to program change 0. The second map will reverse the operation by re-channeling data from channel 1 to channel 1. It's really a No-Op, but it serves to reverse the first map. This map will be assigned to program change 1 So here are the maps. Each requires a single entry: --------------snip------------------- ; rechannel 1 - 2 MOXMAP Version 5 [Map] 1,*,*,*,*,*,N,0,2,*,*,*,*,* --------------snip------------------- ; revert channel 1 MOXMAP Version 5 [Map] 1,*,*,*,*,*,N,0,1,*,*,*,*,* --------------snip-------------------
|
« Last Edit: Dec 4th, 2007, 12:38pm by Jamie OConnell » |
IP Logged |
--Jamie Music is its own reward.
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #13 on: Dec 4th, 2007, 1:50pm » |
Quote Modify
|
hi peter midi keys sends "note on+note off" it shows on some screenshots i posted. made one more with midikeys itself visible, it looks like this: http://freenet-homepage.de/orangat/midikeys-in-action.jpg if u tell me how to make midikeys send programm change, i will do. thanx for showing how to do the maps. i still did not get how to assign the maps to the "program change"
|
|
IP Logged |
|
|
|
orangefx
Member
 

Posts: 12
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #14 on: Dec 12th, 2007, 4:50pm » |
Quote Modify
|
after many more tries... it still does not work. too bad. there must be an error. anyone still up to talk about this?
|
« Last Edit: Dec 12th, 2007, 5:00pm by orangefx » |
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #15 on: Dec 12th, 2007, 6:23pm » |
Quote Modify
|
http://freenet-homepage.de/orangat/translationmap.JPG Quote:saved those as "peters die 1 channelmapping.oxm" and "peters die 2 channelmapping.oxm" |
| I'll say it again. Your mapping is wrong. Saving the wrong mapping to two files will not make it correct. You need two separate, different mappings. Both mappings will look like "translationmap.JPG" but 1) there's no point changing the channel number for the Program Change messages. Leave that unchanged. 2) you need extra lines in each mapping: 2.1) In the first mapping, this will set the channel number on all note (on/off) events to channel 1 (or leave it unchanged, your choice). 2.2) In the second mapping, this will set the channel number on all note (on/off) events to channel 2. http://freenet-homepage.de/orangat/midimapping.JPG In the MIDI Devices window -- You should have two inputs selected: 1) Your USB port (input) 2) Input From MIDI Yoke 1 You should have two outputs selected: 1) Output To MIDI Yoke 1 2) Output To MIDI Yoke 2 Port Mappings should be: +Output To MIDI Yoke 1 |--MIDI OX Events \--Your USB port (input) +Output To MIDI Yoke 2 |--MIDI OX Events \--Input From MIDI Yoke 1
|
« Last Edit: Dec 12th, 2007, 6:26pm by Peter L Jones » |
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
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #17 on: Dec 13th, 2007, 1:24pm » |
Quote Modify
|
on Dec 12th, 2007, 8:45pm, orangefx wrote:Add MIDI-OX events to Out to Yoke 2. Remove the USB port from Out to Yoke 2. http://people.freenet.de/orangat/translation-map-1.1.jpg http://people.freenet.de/orangat/translation-map-1.2.jpg http://freenet-homepage.de/orangat/translation-map-2.jpg Still wrong. You only want two translation maps. You've created three. You need BOTH maps to map Note messages to Program Change messages. In addition, one will map all notes to Channel 1 and the other will map all notes to Channel 2. (If you want to strip Note Off, you'll also need to strip Note On with velocity 0. Again, put that in both of the TWO maps you create.)
|
« Last Edit: Dec 13th, 2007, 1:33pm by Peter L Jones » |
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
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: MIDI Keys trigger mapping config help
« Reply #19 on: Dec 16th, 2007, 2:33pm » |
Quote Modify
|
Quote:That looks okay. Quote:Neither of these is right. I said Quote:one will map all notes to Channel 1 and the other will map all notes to Channel 2. |
| You've set the low and high note numbers on the translation from Note to Program Change. Why did you do that? You've then changed Program Change messages into Note messages. Why did you do that? Quote:That's a start. But you said you wanted keys 1, 3, 5, 7, 9 to map to Ch 1 and 0, 2, 4, 6, 8 to map to Ch 2, so why have you only covered keys 0 and 1?
|
|
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
|
|
|
|