Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 03-12-2012, 08:12 PM   #1
matv
Human being with feelings
 
Join Date: Jul 2011
Posts: 82
Default How Convert Automation Lane into midi CC Lane?

As I write in the subject :
How I can convert automation lane to midi cc?

this


to this


cheers
mat
Attached Images
File Type: png Automation Lane.png (16.6 KB, 2353 views)
File Type: png CC Lane.png (8.6 KB, 2303 views)
matv is offline   Reply With Quote
Old 03-13-2012, 01:05 PM   #2
matv
Human being with feelings
 
Join Date: Jul 2011
Posts: 82
Default bump

bump!!
matv is offline   Reply With Quote
Old 03-13-2012, 04:20 PM   #3
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,359
Default

Sorry for no replies. I'm afraid there is just no simple convenient answer to it. Reaper has no direct offline conversion between automation envelopes and MIDI CC or vice versa.

A workaround you could try is to copy the points of that envelope to an (empty) envelope that controls your desired target CC in ReaControlMIDI (or another MIDI plugin that lets you spit out the CC you need with an automateable slider). Then record the MIDI output of that track in realtime.

I never needed to do that yet, so I don't know how accurate the result will be.
gofer is offline   Reply With Quote
Old 03-13-2012, 05:32 PM   #4
matv
Human being with feelings
 
Join Date: Jul 2011
Posts: 82
Default

thanks Gofer,

Quote:
Originally Posted by gofer View Post
A workaround you could try is to copy the points of that envelope to an (empty) envelope that controls your desired target CC in ReaControlMIDI (or another MIDI plugin that lets you spit out the CC you need with an automateable slider). Then record the MIDI output of that track in realtime.
try but not work

I will make a function request.

may be a good idea?

Last edited by matv; 03-13-2012 at 05:53 PM.
matv is offline   Reply With Quote
Old 03-14-2012, 01:40 AM   #5
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

^^^^
Maybe. or a specialist JS FX might be simpler.

I would like to ask a few things:
-- where did the Automation Envelope come from?
-- what was it automating?
-- what do you want to control with the CC messages?
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is online now   Reply With Quote
Old 03-14-2012, 02:55 AM   #6
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,924
Default

Seem to remember a query v recently asking for the other way round ie automation from CC lane; I think the answer there was ReaControlMIDI.


>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is offline   Reply With Quote
Old 03-14-2012, 03:47 AM   #7
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

^^^^
close ... MIDItoReaControlPath (S&M)
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is online now   Reply With Quote
Old 03-14-2012, 04:39 AM   #8
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,359
Default

I did a quick test of the workaround via ReaControlMIDI and it seems to work. Still don't know how accurate it is. Of course resolution is down to 128 steps (I figure this can be upped to 14bit by using combined MSB/LSB CC pairs in ReaControlMIDI, but they are ugly to edit, as they are using two CC lanes in the editors and it's not certain your destiny device makes use of the 14bit at all).

Here is what I did:

- select and copy all points of the original envelope
- create a track with ReaControlMIDI
- create an envelope lane with my target CC (I used CC74, cutoff freq)
- paste the envelope points of the original envelope into the CC74 lane
- set the target track to "Record: Output (MIDI)" and arm for recording
- start recording

=> the result was an item with CC74 events recorded following the envelope



It also works using the original track and inserting RCM right there, but might be a bit confusing if there are already items existing.
gofer is offline   Reply With Quote
Old 03-14-2012, 11:10 AM   #9
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

Coming soon



Big pic: https://i.imgur.com/mqxn2.png
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is online now   Reply With Quote
Old 03-14-2012, 02:56 PM   #10
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default Give this a try:

Installation:
-- download the attachment, remove the .txt extension
-- put the file in (a sub-folder) in your App Data/REAPER/Effects folder

// ================================================== ======
// This JS FX converts up to 4 Automation envelopes to MIDI CC messages

// Load the FX onto a track
// Show the automation lanes for the CC_value parameters
// Copy / create an automation envelope for each lane
// Set the desired CC numbers and MIDI channel in the FX
// Record the MIDI output of the FX
//
// ================================================== ======
Attached Files
File Type: txt DS_Auto_CC.txt (6.3 KB, 551 views)
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is online now   Reply With Quote
Old 03-14-2012, 10:01 PM   #11
matv
Human being with feelings
 
Join Date: Jul 2011
Posts: 82
Default

Quote:
Originally Posted by gofer View Post
Here is what I did:
Thanks Gofer, really works.
Quote:
Originally Posted by DarkStar View Post
Give this a try
after a few attempts I discovered how it works. Great job DarkStar, thanks.


Now increase the playback rate; some way to avoid real time?. - just kidding...or perhaps not...

Thanks, sorry for my bad English.

REAPER es fabuloso.
matv is offline   Reply With Quote
Old 03-15-2012, 04:07 AM   #12
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

You're welcome - I hope it encourages you into the world of JS FX development.

As for rate changes, stretch or contract the recorded MIDI clip.
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is online now   Reply With Quote
Old 05-15-2018, 09:19 PM   #13
ProFête
Human being with feelings
 
Join Date: Jun 2017
Posts: 56
Default

thank alot for your script

i don't know why but reacontrolmidi overload my hardware (same in raw mode) but your script don't
ProFête is offline   Reply With Quote
Old 05-15-2018, 09:56 PM   #14
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,687
Default

Anyway, generating a bunch of Midi messages should not use a considerable amount of CPU.

-Michael
mschnell is offline   Reply With Quote
Old 05-16-2018, 09:40 AM   #15
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,272
Default

Put an empty MIDI item on the track with ReaControlMIDI (or the JS) and "Apply Track FX..." to do it faster than playback.

Parameter Link might be faster/less messy than copying Automation, but only works on the same track.

Why are we doing this again?
ashcat_lt is online now   Reply With Quote
Old 05-16-2018, 10:20 AM   #16
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

SWS/BR: Convert selected envelope's curve in time selection to CC events in last clicked CC lane in last active MIDI editor
mpl is offline   Reply With Quote
Old 05-16-2018, 11:01 AM   #17
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,272
Default

Quote:
Originally Posted by mpl View Post
SWS/BR: Convert selected envelope's curve in time selection to CC events in last clicked CC lane in last active MIDI editor
Oh yeah! Was gonna mention there is at least a couple actions/scripts out there...
ashcat_lt is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.