User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - MIDI Keys trigger mapping config help »
Welcome, Guest. Please Login or Register.
May 8th, 2025, 11:20pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   MIDI Keys trigger mapping config help
« Previous topic | Next topic »
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   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 Quote Modify Modify

Undecided
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.  Cry
 Wink
 
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

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #1 on: Nov 7th, 2007, 2:49pm »
Quote Quote Modify 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 Quote Modify 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

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #3 on: Nov 16th, 2007, 3:43pm »
Quote Quote Modify 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 Quote Modify 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 Quote Modify 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"?
 Huh
 
« Last Edit: Nov 20th, 2007, 9:57pm by orangefx » IP Logged
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help"
« Reply #6 on: Nov 21st, 2007, 1:04pm »
Quote Quote Modify 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 Quote Modify 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  Angry 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

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #8 on: Nov 26th, 2007, 1:58pm »
Quote Quote Modify 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 Quote Modify 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? Huh
 
IP Logged
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #10 on: Dec 3rd, 2007, 3:19pm »
Quote Quote Modify 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 Quote Modify Modify

[quote author=orangefx link=board=Mapping;num=1194463723;start=0#0 date=11/07/07 at 14:28:43] Undecided
 
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
*****






   
WWW Email

Gender: male
Posts: 2027
Re: MIDI Keys trigger mapping config help
« Reply #12 on: Dec 4th, 2007, 12:11pm »
Quote Quote Modify 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 Quote Modify 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 Quote Modify 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

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #15 on: Dec 12th, 2007, 6:23pm »
Quote Quote Modify 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
orangefx
Member
**






   


Posts: 12
Re: MIDI Keys trigger mapping config help
« Reply #16 on: Dec 12th, 2007, 8:45pm »
Quote Quote Modify Modify

hi peter....feels like talking to an old friend...or doctor  Tongue
 
i do it all again, step by step plus screenshots for u to understand exactly what i am doing. (i will later use capital letters for my questions)
 
1.  i start midi-keys and conifigure it like this:
http://people.freenet.de/orangat/midi-keys-configured.jpg  
as i said before, it needs to send to "ALL" or wont work.
 
2. midi devices setup:
http://people.freenet.de/orangat/midi-devices.jpg
 
3. midi port routing:
http://people.freenet.de/orangat/midi-port-routing.jpg
 
4.1. make 2 translation maps for the channel change:
http://people.freenet.de/orangat/translation-map-1.1.jpg and save it as "channelchange1.oxm"
http://people.freenet.de/orangat/translation-map-1.2.jpg and save it as "channelchange2.oxm"
 
IS THAT CORRECT?
 
4.2. now  Shocked  the exiting part.  
so i guess i clear the translation map  Huh  and create this:
one translation map to chanche midi-keys note-on into program change (and i am trying to also kill the note-off here, doesnt work. WHY?
 
http://people.freenet.de/orangat/translation-map-2.jpg
 
the following is shown at the monitors when i press 1 and  2 on my keyboard:
http://people.freenet.de/orangat/monitor-input.jpg  
http://people.freenet.de/orangat/monitor-output.jpg
 
i will save that, as u see it as "progchange.oxm"
IS THAT CORRECT?
 
 
if it is ok untill here, i can dump the other 16 saved presets.  Grin
 
now WHAT OXM-FILE SHOULD REMAIN IN THE TRANSLATION MAP WINDOW? before pressing ok and turning the map on? "progchange.oxm" RIGHT?
 
5. finally the misterious patch map. looks like this
http://people.freenet.de/orangat/patch-map.jpg
 
and does not work. output monitor shows any note of the usb-midi device 3 times in a row, but no channel change.
 
http://people.freenet.de/orangat/monitor-output-final.jpg
 
WHAT - PLEASE - AM I DOING WRONG?
IP Logged
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #17 on: Dec 13th, 2007, 1:24pm »
Quote Quote Modify Modify

on Dec 12th, 2007, 8:45pm, orangefx wrote:
2. midi devices setup:
http://people.freenet.de/orangat/midi-devices.jpg
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
orangefx
Member
**






   


Posts: 12
Re: MIDI Keys trigger mapping config help
« Reply #18 on: Dec 15th, 2007, 5:31am »
Quote Quote Modify Modify

it's quite confusing. without trying to strip any notes off yet, here is what i did (as u said):
 
http://people.freenet.de/orangat/midi-devices-new.jpg
 
the routing u said i dont need to change, then u said
"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."
 
so it looks like this:
 
http://people.freenet.de/orangat/translation-map-new-1.1.jpg
 
saved as :"15.12.07 - channel 1.oxm"
 
http://people.freenet.de/orangat/translation-map-new-1.2.jpg
 
saved as :"15.12.07 - channel 2.oxm"
 
then mapping in patch map, right?
 
http://people.freenet.de/orangat/patch-map-new.jpg
 
NOT WORKING
it does not even send the program change to input nor output anymore. meanwhile i get quite good in doing sceenshots and uploading stuff.  
 
if u want the two .oxm files to have one line only each like this:
 
 
http://people.freenet.de/orangat/translation-map-new-1.1-single-line.jpg
 
http://people.freenet.de/orangat/translation-map-new-1.2-single-line.jpg
 
it wont work either.
« Last Edit: Dec 15th, 2007, 5:49am by orangefx » IP Logged
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: MIDI Keys trigger mapping config help
« Reply #19 on: Dec 16th, 2007, 2:33pm »
Quote Quote Modify Modify

Quote:
http://people.freenet.de/orangat/midi-devices-new.jpg
That looks okay.
 
Quote:
http://people.freenet.de/orangat/translation-map-new-1.1.jpg
http://people.freenet.de/orangat/translation-map-new-1.2.jpg
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:
http://people.freenet.de/orangat/patch-map-new.jpg
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
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.