Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 02-20-2019, 10:27 AM   #1
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default Convert CC lane data to envelope lane data and vice versa

We need this.

Sometimes you start because drawing it into CC data is so much easier to make shapes in. Then you want to convert it to an envelop lane data to affect other items with the same curves or the same item with other effects.

Likewise, you may have some envelope lane data that you want to put on a midi item.

I am aware of the Reacontrol Midi workaround but it's a workaround.

I'm asking for a single button to move the same data inside a midi item to track envelope or media item envelope.

This data should be able to be moved between midi item, to track envelope, to media item envelope in any order.
Swi is offline   Reply With Quote
Old 02-20-2019, 01:07 PM   #2
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 22,540
Default

This exists in SWS (actions work both for track and media item envs):

(Main context)
SWS/BR: Convert selected envelope's curve in time selection to CC events in last clicked CC lane in last active MIDI editor
SWS/BR: Convert selected envelope's curve in time selection to CC events in last clicked CC lane in last active MIDI editor (clear existing events)
SWS/BR: Convert selected points in selected envelope to CC events in last clicked CC lane in last active MIDI editor
SWS/BR: Convert selected points in selected envelope to CC events in last clicked CC lane in last active MIDI editor (clear existing events)

(MIDI editor context)
SWS/BR: Convert selected CC events in active item to linear envelope points in selected envelope
SWS/BR: Convert selected CC events in active item to linear envelope points in selected envelope (clear existing envelope points)
SWS/BR: Convert selected CC events in active item to square envelope points in selected envelope
SWS/BR: Convert selected CC events in active item to square envelope points in selected envelope (clear existing envelope points)
EvilDragon is online now   Reply With Quote
Old 02-20-2019, 11:19 PM   #3
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default Thank you Evil Dragon!

Thanks for this.
both of the actions that move or copy envelope data to CC lane data work.

However the commands from the midi editor CC lane to the envelope lane Shown below

SWS/BR: Convert selected CC events in active item to linear envelope points in selected envelope
SWS/BR: Convert selected CC events in active item to linear envelope points in selected envelope (clear existing envelope points)
SWS/BR: Convert selected CC events in active item to square envelope points in selected envelope
SWS/BR: Convert selected CC events in active item to square envelope points in selected envelope (clear existing envelope points)

Just create a bunch of envelope points at the very top of the range and do not reflect the shape that is in the CC lane.

I'm using 9.57 Pre 2 and the latest SWS.

Do these work for you?
Swi is offline   Reply With Quote
Old 02-20-2019, 11:47 PM   #4
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,541
Default

Quote:
Originally Posted by Swi View Post
Just create a bunch of envelope points at the very top of the range and do not reflect the shape that is in the CC lane.

[...] and the latest SWS.
Is it the volume envelope with fader scaling mode enabled? https://forum.cockos.com/showthread.php?p=2094872
cfillion is online now   Reply With Quote
Old 02-21-2019, 05:13 PM   #5
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default

I get the same result when set to Amplitude scaling or Volume fader Scaling and when the "Warning" box is checked and unchecked.
Swi is offline   Reply With Quote
Old 02-21-2019, 05:19 PM   #6
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default fixed thank you

You were right cfillion.
I found
Script: X-Raym_Toggle envelope fader scaling.lua
and it works this way.
I will make it a custom action thank you!
Once again...
Swi is offline   Reply With Quote
Old 02-21-2019, 08:45 PM   #7
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,541
Default

You can also use the fixed SWS build I've linked above. (It repairs SWS actions dealing with fader scaled envelopes adding points at max value. Sorry for that bug.)

Last edited by cfillion; 02-22-2019 at 03:42 AM.
cfillion is online now   Reply With Quote
Old 02-21-2019, 09:37 PM   #8
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default fader scaling

I don't really understand what is happening with fader scaling. There is a strange behavior when crossing the center line which creates issues for editing. And it seems I have to leave a single bit of cc data in the midi item at max volume to get the same results.

This also turns this into a two or three step process which is less desirable.

The result I was hoping to create would remove the cc data from the midi item and place it in the envelope lane of the same cc value. Even if it had to insert an instance of reacontrol MIDI it would be functional.

Ideally, I could switch these back and forth from the arrange view with a single command and not have to change the scaling of the envelope lane.

I'm going to try to avoid having to use this until I understand what and why this is happening.
Swi is offline   Reply With Quote
Old 02-22-2019, 12:53 AM   #9
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 22,540
Default

Some info about fader scaling:

https://forums.cockos.com/showpost.p...3&postcount=24
EvilDragon is online now   Reply With Quote
Old 02-22-2019, 02:19 AM   #10
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default

Thank you both.
I am fuzzy on where to put the
reaper_sws64.dll file.
Do I need the DYLIB file?
Thank you thank you.


Never mind I found it. Tested it and fixed many thanks again.

Last edited by Swi; 02-22-2019 at 02:23 AM. Reason: Figured it out...
Swi is offline   Reply With Quote
Old 02-22-2019, 02:31 AM   #11
Swi
Human being with feelings
 
Join Date: Apr 2018
Posts: 214
Default

WOW thank you
Swi is offline   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 09:53 AM.


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