|
||
Title: [SOLVED] How to modify and transmit 'CC#4' ? Post by saih_tam on Jul 31st, 2022, 7:08am Hi everyone. I'm sorry for my bad english. My V-drums Roland TD-25 is connected with USB cable on my PC (Win 10 and last driver installed). Thanks to MIDI-OX, I can visualize the MIDI values sent by the V-Drums. The 'Control Change Velocity' value of the Hi-Hat Foot Pedal (CC#4) is always between 0 and 90. I use an application (Phase Shift) which understand Hi-Hat MIDI parameters like this : CC#4 [0-80] + pad hit = Hi-Hat open CC#4 [81-120] + pad hit = Hi-Hat sizzle CC#4 [121-126] + pad hit = Hi-Hat closed CC#4 127 = Hi-Hat pedal (closed), plays a closed Hi-Hat, even if you do not hit the pad. In my configuration, 'CC#4' never go over 90 and I can't obtain 'Hi-Hat closed' and 'Hi-Hat pedal'. That's why I would like to recalculate 'CC#4' like this : CC#4_V-Drums[0~90] / 90 x 127 => CC#4_Phase-Shift[0~127] And transmit in real time the new value (CC#4_Phase-Shift[0~127]) to Phase Shift. Can I do that with MIDI-OX ? If yes, how ? |
||
Title: Re: How to recalculate (modify) and transmit 'CC#4 Post by Breath on Jul 31st, 2022, 9:43pm Yes Set up a Data Map (Options /Data Maping...) When the dialog appears 'Clear' any lines that are there. 1) Press Insert - Input Channel you want : Event = Ctrl : CC type Min = 4 Max = 4 : Value Min = 0 Max = 90 Output Channel you want : Event = Ctrl : CC type Min = 4 Max = 4 : Value Min = 0 Max = 127 This will expand the 0 to 90 value range to 0 to 127. Of course, as your input sweeps from 0 to 90, not all output values from 0 to 127 will appear. 2) Press OK 3) Save the Map as 'HiHaxCC4.oxm' If you select 'Turn me on (after Ok)' this mapping will effect all connections in Midi-Ox To select just one connection leave it unchecked and press OK Go to the 'Midi Port Routing' window and on your connection line to the drums there is a small box. Click on that and on the right there is a drop down box that has your 'HiHaxCC4.oxm' file in it. Select it and now that map will affect just this connection. All the best Royce |
||
Title: Re: How to recalculate (modify) and transmit 'CC#4 Post by saih_tam on Aug 2nd, 2022, 4:28pm Thanks a lot for your help. I had done the right things in 'Data Map'. But I had missed the 'Port Routing' modification. With your advices, the recalculation works in MIDI-OX. You can see it on this first screenshot : https://www.hebergeur-image.com/upload/109.220.133.211-62e9856280edf.jpg But I tried to check the "recalculate MIDI values" in all the softwares that permit me to visualize "MIDI values" (like PsMidiProfiler or Reaper with ReaControlMidi) and all send me an error like "no memory". If I open first PsMidiProfiler and after MIDI-OX, I have an error too. You can see it on this second screenshot : https://www.hebergeur-image.com/upload/109.220.133.211-62e9861fde460.jpg <<TD-25 : Insufficient available memory for this task. Quit one or more applications to increase available memory, then try again.>> I think I don't understand how to route well the "recalculate MIDI values" to my other applications. Any idea ? What's wrong ? |
||
Title: Re: How to recalculate (modify) and transmit 'CC#4 Post by Breath on Aug 2nd, 2022, 9:22pm Hi If this is due to what I think it is, then this is a problem that is due to Microsoft's failure to make their Windows driver multi-client. That is, if you open two programs that try to attach themselves to your USB Midi interface they fail because MS driver will only allow one connection at a time. There are a couple of ways to solve this issue. 1) The easiest is to go to Roland's web site (or Roland US) and see if they have a driver you can download for the Roland TD-25. Roland's drivers are usually multi client and once installed it should load instead of the MS one when you plug in the v-drums. After that you should be able receive Midi from the V-drums on lots of applications at the same time. You will have to go to MidiOx menu Options / Midi Devices and select the Midi In and Midi Out for the new Roland driver. 2) There are a couple of multi-client drivers you can install like MidiYoke or loopMidi Again you will have to go to MidiOx menu Options / Midi Devices and select the Midi In and Midi Out for the new drivers. These don't do anything but give you the ability to join Midi applications together and with the use of MidiOx you can convert the MS driver attached to your v-drums to a Multi-client driver. It does mean that you you will have to used MidiOx to join the MS driver to the loopMidi or MidiYoke driver every time you need the multi-vlient function. It is a bit confusing, post again if you go with option 2) and need some help setting it up. I hoped that helped. All the best Royce |
||
Title: Re: How to recalculate (modify) and transmit 'CC#4 Post by saih_tam on Aug 3rd, 2022, 4:43am Thanks to your advice, I remember that I have chosen 'Generic' for the 'USB Driver Mode' of the TD-25 because I didn't need to transfer audio via USB. Here is a screenshot of TD-25's documentation : https://www.hebergeur-image.com/upload/109.220.133.211-62ea304f582c5.jpg I change it to 'Vendor' and MIDI events are now transfered to several applications at the same time. So this Roland's driver is multi client friendly. I can visualize only the original MIDI events of TD-25 in PsMidiProfiler but not the CC#4 recalculation/modification done by MIDI-OX. Here is a screenshot to visualize that : https://www.hebergeur-image.com/upload/109.220.133.211-62ea305b0302a.jpg I think I have to create a new virtual output port in MIDI-OX (named 'TD-25_mod' for example), do the well port routing and try to choose this new MIDI virtual port 'TD-25_mod' instead of 'TD-25' in PsMidiProfiler with the drop-down list 'MIDI In Device'. How can I do that ? |
||
Title: Re: How to recalculate (modify) and transmit 'CC#4 Post by Breath on Aug 4th, 2022, 1:23am Hi The next issue is that I have noticed that you have connected your TD Midi In to the TD Midi out. TD Midi In -> MidiOx Data filter -> TD Midi Out (that means the modified data is no longer in the computer) Be careful, the same Midi In connected its Midi out could get you into trouble with feed back. The real issue for you is that your other application is NOT connecting to the altered TD data because it has left the computer to the TD. You have connected MidiOx and Phase to the same input TD. You might get the TD to echo it back but all sorts of problems may occur with feedback. Normally you would need another Midi Interface. If you had one, this is the connection you need ... TD Midi In -> MidiOx Data filter -> Other-Interface Midi Out (no longer in the computer) - > Midi cable connect the Other-Interface Out to the Other-Interface In and the PhaseShift's drum Midi in the the Other-Interface Midi In that has the converted data. So here the Other-Interface is just acting as a cable from one program (MidiOx filter) to another (PhaseShift) There is a simpler way. Grab a copy of MidiYoke (from the same page that you got MidiOx from) or loopMidi. They are basically the same and both are multiclient and can be used to convert single client into multiclient. Both are drivers that allow you to have one or many 'cables' to connect from one program to a different program without extra hardware. I use both, but let's go through setting loopMidi up. Download and install the loopMidi driver. Start MidiOx... Go to Options / Midi Devices... and you should see something saying loopMidi in both the MidiIn and MidiOut listboxes on the left Select to add loopMidi In and loopMidi Out. Press OK Now when you look at Midi Port Routing window you will see an extra Midi Input and Midi Output. Right click on the blank Port Routing window area and select 'Disconnect All' Connect the TD in on the left to the loopMidi Out on the right. On that connection line click the box and select your data map In PhaseShift your drum Midi Input is NOT the TD, but the loopMidi In that has the changed Midi data (loopMidi is just a cable and you have connected it from MidiOx Out to PhaseShift In) TD In -> MidiOx data filter -> loopMidi Out -> loopMidi In -> PhaseShift I hope that helps If not, post again and I'll try to think of something else. Royce |
||
Title: Re: How to recalculate (modify) and transmit 'CC#4 Post by saih_tam on Aug 4th, 2022, 6:34pm Hi I am very grateful. Your solution works perfectly and solve my MIDI newbee's problem. Here is a screenshot that shows MIDI-OX with loopMIDI : https://www.hebergeur-image.com/upload/109.220.133.211-62ec4758a4475.jpg I have spend a lot of time today to configure new MIDI XML profiles for Phase Shift. It seems to work fine. I will see if there is some adjustments to do... Thanks a lot for your help. Best regards. |
||
MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |