|
|
|
05-03-2008, 10:11 AM
|
#1
|
Human being with feelings
Join Date: Feb 2007
Location: Kitchen table, next to frig
Posts: 1,179
|
Audio Vol to CC
Edit: Updated with cute stuff in post #5
This script converts audio from selected channel 1 thru 4 and converts the input to a CC.
It can also Invert, Compress, Smooth.
I have been trying it out with drums (audio) controlling expression in the B4 organ, I think I got some nice results.
I also tried it out with MIDI Yoke and a CC keyboard mapping to a Track Volume control, and successfully recorded automation.
For this to be really useful, you should have MIDI Yoke install. Otherwise there is a puzzle of how to record the JS MIDI output and the keyboard input at the same time.
It can be done without yoke, I found if I put this js on the input Audio track, I could record the JS MIDI output, then copy the Item that contain the CC recording to the VSTi MIDI input Track. Without the Yoke, you have to create a midi send to the VSTi track to here the results While recording.
The midisend code was taken from IX/MIDI_CCRider.
Let me know if you have any thoughts or find any problems.
Also let me know if I re-invented the wheel, again.
Thank you
Don
Last edited by xackley; 05-04-2008 at 09:09 AM.
|
|
|
05-03-2008, 01:25 PM
|
#2
|
Human being with feelings
Join Date: Feb 2007
Posts: 3,221
|
nice work.
i find this VERY useful for "stacking" instruments
say i have a guitar track and i then compose the same melody as MIDI. same timing, so it's basically just a layer
apply an appropriate vsti, and then use this JS cc plugin set to cc 7, Volume
assuming the samples/synth from your VST are fairly "solid" shaped, you now are able to seize an aspect of the dynamics of your recorded guitar and apply to your vst...
thanks for this.
|
|
|
05-03-2008, 03:23 PM
|
#3
|
Human being with feelings
Join Date: Jun 2006
Posts: 970
|
cool, this is just what i searched for yesterday thx
__________________
REAPER is FANTASTIC
pending fr's: NONE ! :D
|
|
|
05-03-2008, 04:24 PM
|
#4
|
Human being with feelings
Join Date: Feb 2007
Location: Kitchen table, next to frig
Posts: 1,179
|
Thanks
I have been trapped in testing this. I had a real mind boggler. When I send the CC data to Keybinding, the Volume slider I was controling is always wrong.
I sure the data is good. MIDI devices are seeing a linear 0-127, just as expect for changes in the triggering source audio. Knobs turn from all the way off to all the way on with no unexpect jumps or rate changes.
But when controling the Volume slider thru a Keybinding, the ratio is not right.
I finally changed reaper's "Volume fader range" to -127 to 0, ratio 1, and the automation works correctly.
OR -121 to 6 in the reaper volume range, and set -6 to the Gain in MIDI_Audio_Vol_to_CC to get an accurate Volume envelope on an Audio Track.
Something seems screwy with the way reaper is handling the CC keybinding, seems it should at least have an option to keep it 1 to 1 for DB = CC
Last edited by xackley; 05-03-2008 at 07:19 PM.
|
|
|
05-04-2008, 09:04 AM
|
#5
|
Human being with feelings
Join Date: Feb 2007
Location: Kitchen table, next to frig
Posts: 1,179
|
Added Limit Max/min and Control Current
Added option to use three meters for Current, Max, Min as controls for the range of CC output.
|
|
|
05-05-2008, 03:05 PM
|
#6
|
Human being with feelings
Join Date: Sep 2007
Location: Paso Robles, CA
Posts: 305
|
Nice work!
Thanks!
|
|
|
05-22-2008, 02:01 AM
|
#7
|
Human being with feelings
Join Date: Jan 2007
Posts: 61
|
Thanks for this, very useful. I've been using an envelope controller patch in bidule to do the same.
How can I use this to control the volume of another track in real time? I can't quite figure out the sequence.
I'm not sure how reaper works with regards to midi learn of controls...any tips would be useful.
I use midi yoke for routing.
ty!
|
|
|
05-22-2008, 05:55 AM
|
#8
|
Human being with feelings
Join Date: Feb 2007
Location: Kitchen table, next to frig
Posts: 1,179
|
In Preferences MIDI assign Yoke1 as Control Only for Input.
In Preferences MIDI assign Yoke1 as Output.
In the Sending Track's I/O set the MIDI HW Output to Yoke1.
In Keybindings, find Track X Volume Control (CC Only).
If I remember correctly, I just moved the slider in the Audio to CC Plugin, and the Keybinding Dialog displayed the CC.
I would recommend setting the plugin to output in a high unused channel, just for good house keeping.
Last edited by xackley; 05-22-2008 at 06:00 AM.
|
|
|
05-22-2008, 08:29 AM
|
#9
|
Human being with feelings
Join Date: Jan 2007
Posts: 61
|
A1, works fine now - though I have to fiddle with the response/velocity curve a bit. TY for the tutorial!
edit: well, it was working fine, except I get inconsistent midi feedback due to input and output being the same.
Last edited by Komuso; 05-22-2008 at 08:49 AM.
|
|
|
05-22-2008, 11:54 AM
|
#10
|
Human being with feelings
Join Date: Feb 2007
Location: Kitchen table, next to frig
Posts: 1,179
|
Quote:
Originally Posted by Komuso
A1, works fine now - though I have to fiddle with the response/velocity curve a bit. TY for the tutorial!
edit: well, it was working fine, except I get inconsistent midi feedback due to input and output being the same.
|
Can you explain.
There should be no MIDI feedback with Input->Control only. The MIDI signal from Yoke1 Input should be used and blocked at the keyboard Binding, never reaching any track.
|
|
|
01-07-2011, 01:56 PM
|
#11
|
Human being with feelings
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,754
|
Hi
I never noticed this plugin, thank you very much for creating it.
Do you think it coudl be modified so that it would send only one specified CC, when the audio is above a specified threshold ?
(or have a "restrict output to CC xx" option ?)
This is related to this thread i created :
http://forum.cockos.com/showthread.p...366#post655366
and this one :
http://forum.cockos.com/showthread.php?p=655350
Thank you
|
|
|
01-09-2011, 02:42 AM
|
#12
|
Human being with feelings
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
|
No need for MIDI Yoke any more.
Jeffos' MIDItoReaControlPath will use the incoming MIDI CC to create an envelope for a VSTi parameter (e.g. Sonalksis's FreeG)
http://forum.cockos.com/showthread.php?t=43741
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
|
|
|
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 03:52 AM.
|