Author |
Topic: Changing data maps to keyboard keystroke (Read 2046 times) |
|
mydogkeko
Member
 
 MIDI-OX Rules!
Posts: 26
|
 |
Changing data maps to keyboard keystroke
« on: Apr 7th, 2007, 3:39pm » |
Quote Modify
|
I would like to create a series of custom data maps and I would like to change the data map which is currently being used by using the computer keyboard / sending a keystroke. Currently the f2-f9 function keys change octaves I was thinking one way to get around this issue would be to simply rename those files with the data maps that i would create but I wondered if there was an easier way around that? I apologize if this question has already been passed and answered
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #1 on: Apr 7th, 2007, 6:57pm » |
Quote Modify
|
The only thing I can think of is to (again, as in the earlier thread) route MIDI OX's output back (through MIDI Yoke) to its input, translate the note data to a program change, then route that around to the input and effect the patch map...
|
|
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
|
|
|
mydogkeko
Member
 
 MIDI-OX Rules!
Posts: 26
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #2 on: Apr 7th, 2007, 8:48pm » |
Quote Modify
|
thanks peter, i'm experimenting. I will give that a try, apologies if these questions are redundant. it didn't mention the loop back but I will definitely try it. I cannot get the program change to trigger a message display indicating the data map change The help file provides: ================ The Program Change (or Patch) Mapping facility allows you to specify that a certain data-map and/or port-map should be loaded whenever a particular Program Change message is received. This powerful feature allows you to completely change the current mapping state by remote control. You can map each of the 128 Program Change numbers to a different data map and port map. Whenever a Program Change message is received on a channel being mapped, MIDI-OX evaluates whether there is a corresponding data-map or port-map specified. The Program Change is then passed along for further mapping or output. Even when Program Changes are being filtered, MIDI-OX considers them for Patch mapping prior to the filtering. Data Mapping The data map is specified in the Patch Map by the .oxm file location. An .oxm file can contain any number of mapping steps: see the Data Mapping topic for more information. After a Program change triggers a data-map change, a message is displayed in the monitor containing the filename of the .oxm file that has been loaded. ============= This is exactly what I'm interested in but for some reason I can't seem to get work. I will keep trying. I wondered if any examples could be posted
|
|
IP Logged |
|
|
|
mydogkeko
Member
 
 MIDI-OX Rules!
Posts: 26
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #3 on: Apr 7th, 2007, 9:17pm » |
Quote Modify
|
I can get the program change to be triggered. But the custom data map which I have assigned to it is not displayed. Rather, for program change one electric piano midi is displayed.
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #4 on: Apr 8th, 2007, 4:25am » |
Quote Modify
|
Have you connected the MIDI OX event output to the MIDI Yoke Junction routed loopback into MIDI OX? Something like: [Events Out]<-Junction 1->[In MIDIOX]
|
|
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
|
|
|
mydogkeko
Member
 
 MIDI-OX Rules!
Posts: 26
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #5 on: Apr 11th, 2007, 3:56pm » |
Quote Modify
|
I think I made a mistake in the discussion above. I was thinking that I could just switch data maps that are in C:\Program Files\MIDIOX\Map I was assuming that those data maps correspond to keyboard keys such as the active changing function keys. Do those maps relate to any specific keys on the keyboard?
|
|
IP Logged |
|
|
|
mydogkeko
Member
 
 MIDI-OX Rules!
Posts: 26
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #6 on: Apr 11th, 2007, 4:04pm » |
Quote Modify
|
The midiox event port is an output port. I can connect that to for example midiyoke number five. Then I would have to find another program and connect it to another yoke and then send it back into midiox. Is there an easier way to do this? I wasn't able to connect directly between the event port and the input port in the above example.
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: Changing data maps to keyboard keystroke
« Reply #7 on: Apr 11th, 2007, 4:58pm » |
Quote Modify
|
You can connect [MIDI OX Event port]<-MIDI Yoke Junction->[MIDI OX Input]
|
|
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: Changing data maps to keyboard keystroke
« Reply #8 on: Apr 11th, 2007, 4:59pm » |
Quote Modify
|
on Apr 11th, 2007, 3:56pm, mydogkeko wrote:I think I made a mistake in the discussion above. I was thinking that I could just switch data maps that are in C:\Program Files\MIDIOX\Map I was assuming that those data maps correspond to keyboard keys such as the active changing function keys. Do those maps relate to any specific keys on the keyboard? |
| You need to use Patch Maps to switch Data Maps based on Program Change messages arriving on an input connected to MIDI OX. To used computer keys, you need to first translate the MIDI Note event to a MIDI Program Change event. So that's two passes through MIDI OX...
|
« Last Edit: Apr 11th, 2007, 5:00pm 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
|
|
|
|