08-27-2016, 08:03 PM | #1 |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Envelope Points destroyed when copy/pasting? (FIXED)
Hi all, made a capture of what's going on.
Notice the shape duplicates properly when tied to an empty clip. |
08-28-2016, 12:18 AM | #2 |
Human being with feelings
Join Date: Dec 2009
Location: Minnesota
Posts: 9,099
|
If the points don't have an audio clip associated to it, then when you did the time selection, nothing is copied to be pasted. If you want to copy envelope points with no item associated with it, right click above the points in the time selection, choose to select points, then click where you want to paste and paste them. To me, this behavior makes sense (and is why it works when there is an item associate withe he points)
I am sure you could design a custom action to do the steps I just described if it feels cumbersome.
__________________
The Sounds of the Hear and Now. |
08-28-2016, 06:42 AM | #3 | |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Quote:
Any of the EDM/automation-heavy DAWs (Ableton/BitWig/FL) do this properly because this shape-based automation stuff is literally the most common way to work. Also they have automation clips |
|
08-28-2016, 07:09 AM | #4 |
Human being with feelings
Join Date: Dec 2009
Location: Minnesota
Posts: 9,099
|
Maybe you have something configured in your preferences differently...I don't know. Or it's just that Reaper works differently. I can achieve what you are wanting by selecting a time selection, copy points in time selection, then paste. Making a custom action for it using SWS makes it exactly what you need. Reaper is Reaper, sometimes a different DAW will do what you want but with different steps.
__________________
The Sounds of the Hear and Now. |
08-28-2016, 07:09 AM | #5 | |
Human being with feelings
Join Date: Sep 2010
Posts: 13,148
|
Quote:
The default of tying envelopes to the item when copying is why it copied the envelopes with the item pastes in the video. To copy just the envelope, you simply need to select it first. (Or alter preferences for other options.) This follows the Reaper workflow of 'selected things do the thing'. (I'm assuming that's the lane from the same track set to display as a separate track there for clarity in the video and not a 2nd track. Vs the setting that overlays envelopes over the audio.) |
|
08-28-2016, 09:15 AM | #6 |
Human being with feelings
Join Date: Nov 2015
Posts: 1,566
|
Bug confirmed. Wrong forum section though.
|
08-28-2016, 12:54 PM | #7 |
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,739
|
This is the way Reaper works in this case. No two envelope points can exist in exactly the same position in timeline, even while they may look like they do. So now that you have copied those two points and are pasting starting exactly from the position of the latter point, the first copied point will replace that one. Which means that your previous high point will now be the low point (zero value) and the second copied point is the new high value point.
The obvious way to make this work like intended is to first actually create the whole envelope shape you want to paste by making three points instead of just two, then copy/paste that. Replacing the third point when pasting doesn't matter in that case since it will be the same value as the first, the shape is preserved. Another thing would be to offset the starting position of the paste action but this would be a hassle. Adding edge points works for the items but that wouldn't work here since there are no definite borders where they would be created. Unless they would be some kind of offset points created just outside the current selection? Last edited by xpander; 08-28-2016 at 02:01 PM. Reason: more accurate description |
08-28-2016, 04:01 PM | #8 | ||
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Quote:
Quote:
|
||
08-28-2016, 04:05 PM | #9 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
When you copy what if you only select the last two points and not the first when using 3 points. Actually that works but we need the 1st one for the slope.
__________________
Music is what feelings sound like. |
08-28-2016, 05:23 PM | #10 |
Human being with feelings
Join Date: Jun 2012
Posts: 2,173
|
Snapping has been a more difficult situation than otherwise for a long time I think. In order to make this work I had to move the peak point back, drop it, then move it back forward. Then paste points on top of themselves, or else something like your gif happens to first paste.
EDIT. Nevermind. Somehow an extra point got in there. Could not see it until zoomed way way in. Managed to paste 3 points if I turn off snap and shift peak point back a hair (zoomed in max.) I think 2 points might work if time selection copy was used in that way. Last edited by FnA; 08-28-2016 at 06:06 PM. |
08-29-2016, 02:39 PM | #11 | |
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,739
|
Quote:
After making the 3-point envelope shape, I have to move either the 2nd point back and forward or the 3rd one forward and back just a tiny bit. After that I can copy all three points and paste the shape and it usually works. However, only moving both 2nd and 3rd points a little before copying/pasting seems to be a sure way to succeed every single time. Not quite right, this. |
|
08-30-2016, 04:14 PM | #12 |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Thanks for the responses - we can beat around this forever, or I can just demonstrate exactly how this should work...
...notice you can even copy a Segment of a curve and it'll paste it perfectly, inserting edgepoints flawlessly. |
08-30-2016, 05:13 PM | #13 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Many responses were about how to get it to work so you can do your work, not how it should work. If what they are proposing works but you think it should work differently then you need to file a formal bug and if not confirmed as bug then file a feature request etc. In that respect, this thread has probably served its usefulness.
__________________
Music is what feelings sound like. |
08-30-2016, 09:37 PM | #14 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,177
|
Maybe here should be a workaround which paste envelope with only first point 1 sample forward (to prevent further overwriting).
|
08-30-2016, 10:44 PM | #15 |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Well I'll post as a feature request, any support would be appreciated. This kind of automation stuff will draw in anyone doing electronic music production. More licenses sold = happier devs = better and better Reaper.
Really all that needs to happen is the addition of a "Paste envelope points (preserving edges)" action. Reaper just needs to ensure that the points surrounding the paste stay intact, which I really can't see being a tough programming job. The fun begins if you were to paste in the middle of a spline curve, but Ableton handles it perfectly so it's definitely doable. Does that sound like a reasonable wording for a FR guys? |
08-31-2016, 01:48 AM | #16 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,177
|
ReaPack/mpl_Duplicate envelope points
Logic: simply duplicate envelope points (NOT bar/beat relative). If new point inserted on the same position as old point - move old point 1 sample back. Last edited by mpl; 08-31-2016 at 08:05 AM. |
08-31-2016, 09:28 AM | #17 |
Human being with feelings
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,739
|
Good script as usual, thanks Michael. Nice extra that it starts from the last selected point no matter where the cursor is. I wouldn't necessarily use this starting from the middle of any envelope though if there are any existing envelope shapes later on. Since the script seems to add to the old points, the combined shapes may get pretty...creative
Easy enough to delete older points ahead manually where needed, just something to remember when using it. |
08-31-2016, 12:01 PM | #18 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
Improvements to the behavior in question will come in the 5.25 pre-release series (starting next week)
|
08-31-2016, 01:52 PM | #19 |
Human being with feelings
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
|
It warms the Cockos of my heart knowing that this conversation went in a constructive direction, and with enough specific information that Justin could act on it.
|
08-31-2016, 05:12 PM | #20 |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
I agree, I love this product so much. The devs listen, they really care about making what the people want and will use!
|
09-01-2016, 10:00 PM | #21 | |
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Has this limitation perhaps been removed in recent versions? When I zoom in close on two points that I have manually moved into the same time position, or when I use ReaScript to insert multiple points at the same time position, they seem to align perfectly at that exact position. In the tempo map, unfortunately, the limitation certainly does remain, which leads to buggy behavior similar to this thread: * Tempo map: Cannot insert two envelope points at same time point * Time signature bug when moving Regions |
|
09-01-2016, 10:11 PM | #22 | |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Quote:
One compromise I could see: if two points are drawn at the same location, it could internally shift one one-sample backwards and the other one-sample forwards and create a fast ramp between the two? |
|
09-01-2016, 10:46 PM | #23 | |
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
(Using a script to evaluate the envelope value at a given time position returns the value of the last inserted point.)
__________________
Scripts for advanced MIDI editing | LFO Tool for MIDI editor and envelopes Video thumbnail scripts | ReaScriptAPI extension Last edited by juliansader; 09-01-2016 at 10:56 PM. |
|
09-01-2016, 11:00 PM | #24 | |
Human being with feelings
Join Date: Nov 2015
Posts: 1,566
|
Quote:
Only in reaperworld people get so warm and fuzzy when the devs finally get around to fixing a bug after randomly reading a forum post- a bug that would have never left their hands if they bothered to test their software. I guess any company would be thrilled to have suckers like you as customers. |
|
09-01-2016, 11:28 PM | #25 | |
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,309
|
Quote:
|
|
09-02-2016, 01:30 AM | #26 |
Human being with feelings
Join Date: Aug 2007
Location: Near Cambridge UK and Near Questembert, France
Posts: 22,756
|
*yawn* Gentle reminder - if you quote people, they show up in the thread even when on someones ignore list.
N_C`s relentless whining got him on MY ignore list a long time ago, so PLEASE dont feed the troll in public.
__________________
Ici on parles Franglais |
Thread Tools | |
Display Modes | |
|
|