|
|
|
02-02-2018, 04:52 PM
|
#1
|
Mortal
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 14,047
|
Action to send MIDI CC# + Value?
Is there any way to make an action to send a MIDI CC# and value?
|
|
|
02-03-2018, 08:06 AM
|
#2
|
Human being with feelings
Join Date: Apr 2017
Posts: 167
|
Well there is a function in the ReaScript API called StuffMidiMessage. What are you trying to do?
From ExtremRaym’s site
Code:
void StuffMIDIMessage(int mode, int msg1, int msg2, int msg3)
StuffMIDIMessage(int mode, int msg1, int msg2, int msg3)
reaper.StuffMIDIMessage(integer mode, integer msg1, integer msg2, integer msg3)
RPR_StuffMIDIMessage(Int mode, Int msg1, Int msg2, Int msg3)
Description:
Stuffs a 3 byte MIDI message into either the Virtual MIDI Keyboard queue, or the MIDI-as-control input queue. mode=0 for VKB, 1 for control (actions map etc), 2 for VKB-on-current-channel; 16 for external MIDI device 0, 17 for external MIDI device 1, etc; see GetNumMIDIOutputs, GetMIDIOutputName.
|
|
|
02-03-2018, 08:40 PM
|
#3
|
Mortal
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 14,047
|
For one thing Id like to send Channel 1 CC10 value 0 from an action
|
|
|
05-24-2018, 08:32 AM
|
#4
|
Human being with feelings
Join Date: Jul 2007
Location: Cincinnati, Ohio
Posts: 58
|
I'm looking for an answer for this as well...anybody find a way yet?
|
|
|
05-24-2018, 08:54 AM
|
#5
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
|
Code:
MIDIChannel = 0
CC= 0
CC_value= 100
reaper.StuffMIDIMessage( 0, 0xB0 + string.format("%x", MIDIChannel ), CC, CC_value)
|
|
|
06-07-2018, 11:54 PM
|
#6
|
Human being with feelings
Join Date: Sep 2016
Posts: 30
|
Could this be the way how i could start controlling for example the Allen & Heath QU-16?
Is it possible to trigger these custom actions on standard DAW-Controls/Buttons/Menus/and so on..?
I'd like to synchronize the QU-16 with Reaper without having the need of the DAW-Control-Mode on the QU-16. Therefore i need to map all actions on the custom MIDI-Messages A&H provides for controlling the console.
I'd like to synchronize it the other way around too.. Including transmission of the channel name, etc.
Is it possible to script the whole MIDI-Actions and Mapping like OSC actions? Would be nice to have a channel setup in Reaper with Compressor, LowPass, 4-Band PEQ, Gate which matches all actions on the console including bypassing and fader-movement.
For all these actions there is an additional message sent from the QU-16. I want to map these actions bidirectionally.
Thanks for your answer.
Best regards,
Smokehead
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 09:30 PM.
|