Author |
Topic: Midi feedback how to pls help (Read 4340 times) |
|
andersph
New Member
MIDI-OX Rules!
Posts: 2
|
|
Midi feedback how to pls help
« on: Jan 12th, 2015, 3:15pm » |
Quote Modify
|
Hello people! I have a small issue i can't solve alone. I have a controller with buttons that are supposed to illuminate when pushed. My daw is unable to send midi back to my controller for this purpose, therefore i use MIDIOX to route the midi input from my controller directly to the same controller as output. This works just fine, and the buttons illuminate perfectly. - But only when the button is pushed. The buttons trigger a note on when pushed, and note off when released. - And so does the led's. I would like the led's to latch when a button is pushed. so i have to push the button twice to shut the led. Hope u understand!
|
« Last Edit: Jan 12th, 2015, 3:17pm by andersph » |
IP Logged |
|
|
|
Breath
Administrator
Gender:
Posts: 1012
|
|
Re: Midi feedback how to pls help
« Reply #1 on: Jan 14th, 2015, 12:53am » |
Quote Modify
|
Hi Being specific is always a big help. What is the DAW? What kind of controller is it? What are you trying to do with your controller? Before you get into scripting .... It sounds like you are using the note to turn something on and off in your DAW. This type of switch is called a toggle switch. But in you case you are sending the same message to turn it on and turn it off. So there is no way of knowing if the message means "turn on" or "turn off" unless you have access to the state in the DAW. Note messages are usually paired (2 messages - NoteOn and NoteOff) If your controller is a BCR2000 then when you select Note as the message is automatically puts the switch into Momentary mode (ie not toggle) and sends out Note on when you push and note Off when you release. You really want Note on on the first push and Note Off in the second with nothing on release. If your DAW would accept this then there is a way to program the BCR for this to occur. Can it be done by sending any other message other than Note message? A damper pedal on a keyboards sends out CC 60 127 for On and CC 64 0 for off. If you select CC on the BCR instead then you can have a max and min value and make the switch a toggle switch. Other than that, except by using MidiOx's scripting tools, I can't see how you can do it. All the best Royce
|
« Last Edit: Jan 14th, 2015, 12:54am by Breath » |
IP Logged |
|
|
|
andersph
New Member
MIDI-OX Rules!
Posts: 2
|
|
Re: Midi feedback how to pls help
« Reply #2 on: Jan 14th, 2015, 11:45am » |
Quote Modify
|
Thanks much for the reply!! I Use Allen and Heath k2 midi controller with propellerhead reason. In reason i cant send midi data back to my controller so that it illuminates whenever i push a Burton. Therefore i use midiOX in the background when performing. My problem is that i use a vST loop sampler, and each Button on the k2 triggers an ongoing loop. Now, because i have different loops and patterns going at the same time, i Would like the illumination to stay on when i push, so that i Can see which loops are going if u understand. At first i Didnt Think it could be done, but then i Saw a tutorial video on k2 where they had used a script in midiOX to latch the led's. This Would help alot in live situations. Anything u Can help out with? hope so
|
|
IP Logged |
|
|
|
Breath
Administrator
Gender:
Posts: 1012
|
|
Re: Midi feedback how to pls help
« Reply #3 on: Jan 16th, 2015, 8:23pm » |
Quote Modify
|
You might like to try this round about way of doing things. I'll assume you know about NoteOn and NoteOff (and NoteOn with 0 velocity = NoteOff) as well as Continuous controller messages and can sort out what messages you are sending and can adjust the example below to suit. Set up a Data Mapping to change 2 CC messages into a NoteOn and NoteOff messages. For an example lets say you are currently sending NoteOn 64 to switch your loop on and off ... Set up your controller button as a toggle button sending CC 100 127 for On and on the next press CC 100 0 for Off I assume this will set the indicator correctly. Now you need to convert CC 100 127 into NoteOn 64 and CC 100 0 into the same NoteOn 64. The velocities can be what ever you need Open Options/Data Mapping then press Clear if there is anything there. You will need 4 lines. 2 for the CC 100 127 and 2 for CC 100 0 Make sure they are in this order Chan 1 Ctrl 100 100 127 127 :: Chan 1 NoteOn 64 64 60 60 and clone the data Chan 1 Ctrl 100 100 127 127 :: Chan 1 NoteOff 64 64 0 0 Chan 1 Ctrl 100 100 0 0 :: Chan 1 NoteOn 64 64 60 60 and clone the data Chan 1 Ctrl 100 100 0 0 :: Chan 1 NoteOff 64 64 0 0 Don't forget to turn it on before you close the DataMap window OR if you want to just send this message to Reason using MidiYoke, save the mapping to a file and click on the box in the middle of the line joining your controller to MidiYoke1 on the Midi Port Routing window. The dialog that pops up will allow you to attach the saved map so it is applied to just this link. Now if this starts out of sync (you already have the loop running but the button is not on) then the indicator will be reversed, so you need to stop it in Reason to sync it up. If you are desperate to do this with a script you will have to say what language you write in (C++ or VisualBasic etc) All the best Royce
|
« Last Edit: Jan 16th, 2015, 8:28pm by Breath » |
IP Logged |
|
|
|
|