Old 09-01-2020, 08:57 AM   #1
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default v6.13+dev0901a - September 1 2020

v6.13+dev0901a - September 1 2020
# Razor edits: copy edits do not reset the existing envelope range [p=2338835]

v6.13+dev0901 - September 1 2020
+ API: GetTrackEnvelopeByChunkName will also find envelopes by GUID
+ Actions window: enter in current-action keyboard binding list edits selected action
+ macOS: fix listview column ordering issue when adding columns e.g. in actions window
# Paste: fix skipping one hidden track [p=2338288]
# Razor edit: add mouse modifiers to move/copy areas horizontally ignoring snap
# Razor edit: different handling of envelope edits when moving left vs right
# Razor edits: clear areas from hidden tracks before editing [p=2338381]

This thread is for pre-release discussion. Please post other requests in the Feature Requests forum.

Full changelog / Latest pre-releases

Last edited by Edgemeal; 09-01-2020 at 10:50 AM.
Edgemeal is offline   Reply With Quote
Old 09-01-2020, 09:30 AM   #2
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
Default

envelope point moving left right feels ok now thank you.
Sexan is offline   Reply With Quote
Old 09-01-2020, 09:32 AM   #3
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

Quote:
# Razor edit: add mouse modifiers to move/copy areas horizontally ignoring snap
thank you! this feels great. i love that they're cumulative, too - if you have alt set to "move horizontally" you can add that modifier as needed, even if you're in the middle of a ctrl-drag copy.

----

RE zooming issue: if you make a series of RE, drag them elsewhere, then zoom out/in extravagantly, then (issue) RE drifts away from the mouse cursor's original target area. conversely, if you make a multi-item selection and perform the same test, the mouse center stays on whatever item you've clicked/dragged.



^ obviously this is a pretty wacky maneuver, i'm not sure how often it would come up in actual use, but still maybe worth looking at
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.

Last edited by mccrabney; 09-01-2020 at 02:01 PM.
mccrabney is offline   Reply With Quote
Old 09-01-2020, 09:45 AM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by Edgemeal View Post
v6.13+dev0901 - September 1 2020
+ API: GetTrackEnvelopeByChunkName will also find envelopes by GUID
Pretty neat

Quote:
+ Actions window: enter in current-action keyboard binding list edits selected action
[/URL]
This is probably the weirdest sentence I've read in a while and I have trouble getting, what it actually means. O_O
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-01-2020, 09:50 AM   #5
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
This is probably the weirdest sentence I've read in a while and I have trouble getting, what it actually means. O_O
When the list of keyboard bindings is focused, pressing the enter key will edit the selected action.
schwa is offline   Reply With Quote
Old 09-01-2020, 09:52 AM   #6
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

moving envelope flats the original one. mmm ok.
but copying it should leave the original one untouched. it gets flattened too. I'm not sure about the curvature in the copied segment in this gif. seems different
heda is offline   Reply With Quote
Old 09-01-2020, 10:03 AM   #7
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

Quote:
Originally Posted by heda View Post
copying it should leave the original one untouched
Yes you're correct, that's an error. Rebuilding now with a quick fix for this.

Last edited by schwa; 09-01-2020 at 10:09 AM.
schwa is offline   Reply With Quote
Old 09-01-2020, 10:05 AM   #8
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default

Quote:
Originally Posted by heda View Post
moving envelope flats the original one. mmm ok.
but copying it should leave the original one untouched. it gets flattened too. I'm not sure about the curvature in the copied segment in this gif. seems different
You're right, it shouldn't flatten it out when copying.

The curvature problem is probably something we'll have to live with because it's imposible to keep the same bezier when we're not copying/moving the same points the bezier belongs to.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 09-01-2020, 10:17 AM   #9
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Quote:
Originally Posted by Mercado_Negro View Post
The curvature problem is probably something we'll have to live with because it's imposible to keep the same bezier when we're not copying/moving the same points the bezier belongs to.
But couldn't the bezier curve be recalculated using the start/end of the RE selection as the new points? Obviously it wouldn't be the exact same bezier curve, but to me that would be much more preferable than changing it to linear which won't be as related and will have to be edited further to do so.
Klangfarben is offline   Reply With Quote
Old 09-01-2020, 10:30 AM   #10
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default

Quote:
Originally Posted by Klangfarben View Post
But couldn't the bezier curve be recalculated using the start/end of the RE selection as the new points? Obviously it wouldn't be the exact same bezier curve, but to me that would be much more preferable than changing it to linear which won't be as related and will have to be edited further to do so.
But recalculated based on what? The bezier curves are not simple bended lines. I don't think you could end up with something similar after copying/moving. I'd rather retouch the envelope myself afterwards.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 09-01-2020, 10:32 AM   #11
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

+dev0901a is now up and should fix the envelope copy problem.
schwa is offline   Reply With Quote
Old 09-01-2020, 10:34 AM   #12
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

The envelope curvature issue is handled the same way in razor edits as it is with other partial envelope edits. If part of a curved segment is moved or copied, REAPER will approximate the curvature as best as can be done with a bezier curve. In the specific screencap case above, the original envelope curvature is "slow start/end", and the curvature of a portion of a segment with that shape can't be approximated well at all with a bezier curve.
schwa is offline   Reply With Quote
Old 09-01-2020, 10:41 AM   #13
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 612
Default

It seems like nothing has changed (in 0901a)? I can still reproduce it. And just with a linear envelope
Yanick is offline   Reply With Quote
Old 09-01-2020, 10:48 AM   #14
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

in +dev0901a, moving a razor edit area will reset the envelope segment within the original area, but copying an area will not.
schwa is offline   Reply With Quote
Old 09-01-2020, 11:43 AM   #15
BirdBird
Human being with feelings
 
BirdBird's Avatar
 
Join Date: Mar 2019
Posts: 425
Default

Quote:
Originally Posted by Edgemeal View Post
# Paste: fix skipping one hidden track [p=2338288]
# Razor edit: different handling of envelope edits when moving left vs right
# Razor edits: clear areas from hidden tracks before editing [p=2338381]
Thanks for the fixes All working as far as I can tell.


There seems to be one more (probably harmless) case where moving envelopes on top of tracks with no active envelopes leaves ramps:
__________________
ReaScript Discord Server | Scripts | JSFX

Last edited by BirdBird; 12-27-2020 at 11:07 AM.
BirdBird is offline   Reply With Quote
Old 09-01-2020, 11:46 AM   #16
BirdBird
Human being with feelings
 
BirdBird's Avatar
 
Join Date: Mar 2019
Posts: 425
Default

Duplicates with ripple editing leave empty space on tracks:
__________________
ReaScript Discord Server | Scripts | JSFX

Last edited by BirdBird; 12-27-2020 at 11:07 AM.
BirdBird is offline   Reply With Quote
Old 09-01-2020, 11:48 AM   #17
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by schwa View Post
When the list of keyboard bindings is focused, pressing the enter key will edit the selected action.
Ah, this makes sense. Thnx
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-01-2020, 12:20 PM   #18
Embass
Human being with feelings
 
Embass's Avatar
 
Join Date: Jan 2014
Posts: 923
Default

points a little bit off when i move/copy with RE

Embass is offline   Reply With Quote
Old 09-01-2020, 02:37 PM   #19
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
Default

For scripting purposes can we please have API to get GUID from envelope (avoid chunk parsing etc)
Sexan is offline   Reply With Quote
Old 09-01-2020, 02:45 PM   #20
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

Quote:
Originally Posted by Edgemeal View Post
v6.13+dev0901 - September 1 2020
+ API: GetTrackEnvelopeByChunkName will also find envelopes by GUID

Nice! Thank you! I wonder if I will be able to remember this in the future though.. Maybe having this as a separate action could be better? GetTrackEnvelopeByGUID?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 09-01-2020, 03:21 PM   #21
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Quote:
Originally Posted by Edgemeal View Post
+ API: GetTrackEnvelopeByChunkName will also find envelopes by GUID
This is for getting the TrackEnvelope* from the envelope GUID string via the RE API right?
I was wondering why RE API actually doesn't return TrackEnvelope* directly instead, wouldn't that be more handy?
(Haven't done anything with RE API yet so might miss something obvious...)

edit:
Ah the function returns a space separated string for including areas and envelopes, ok makes sense.

Last edited by nofish; 09-01-2020 at 03:27 PM.
nofish is offline   Reply With Quote
Old 09-01-2020, 03:43 PM   #22
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Maybe the devs aren't aware and I'd like to point that out:
parsing chunks is a PITA with inserted VST instruments, because the chunk grows REALLY huge and slows down the parsing tremendously.

Please consider a more efficient method.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 09-01-2020, 03:55 PM   #23
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
Default

Quote:
Originally Posted by Sexan View Post
For scripting purposes can we please have API to get GUID from envelope (avoid chunk parsing etc)
That would be great!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 09-02-2020, 01:49 AM   #24
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
Default

I would like to request few more API for helping scripting and make it less dependant on extensions.

CountTakeEnvelopePoints
GetSetTakeEnvelopePoint
Sexan is offline   Reply With Quote
Old 09-02-2020, 02:18 AM   #25
Odys
Human being with feelings
 
Join Date: Dec 2019
Posts: 214
Default

BUG: When recording MIDI/overdub on a loop created MIDI item connects to previous MIDI item.
Odys is offline   Reply With Quote
Old 09-02-2020, 05:24 AM   #26
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Quote:
Originally Posted by Sexan View Post
I would like to request few more API for helping scripting and make it less dependant on extensions.

CountTakeEnvelopePoints
GetSetTakeEnvelopePoint
The native API function for (track) envelopes work for take envelopes too, e.g.

Code:
item = reaper.GetSelectedMediaItem(0, 0)
take = reaper.GetActiveTake(item)
takeEnv = reaper.GetTakeEnvelope(take, 0)
takeEnvPointsCount = reaper.CountEnvelopePoints(takeEnv)
reaper.SetEnvelopePoint(takeEnv, etc...)
(the points times are relative to item start for take envelopes iirc)
nofish is offline   Reply With Quote
Old 09-02-2020, 05:41 AM   #27
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,597
Default

Oh... ok my bad!
Sexan is offline   Reply With Quote
Old 09-02-2020, 12:06 PM   #28
Embass
Human being with feelings
 
Embass's Avatar
 
Join Date: Jan 2014
Posts: 923
Default

removes automation on track 2 when i copy (ctrl + drag)
Embass is offline   Reply With Quote
Old 09-02-2020, 12:18 PM   #29
Embass
Human being with feelings
 
Embass's Avatar
 
Join Date: Jan 2014
Posts: 923
Default

also removes automation in this case (ctrl + drag)
Embass is offline   Reply With Quote
Old 09-02-2020, 12:25 PM   #30
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by Sexan View Post
Oh... ok my bad!
Maybe it would be a good idea to exchange TrackEnvelope with Envelope in the docs. That Take Envelopes are supported in envelope-functions is not really clear in the docs currently.

I guess I'll change that in my docs for more clarity on that.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-03-2020, 07:52 AM   #31
Hogi66
Human being with feelings
 
Join Date: Jan 2012
Location: Sendenhorst, Germany
Posts: 23
Default Item envelope: Parameter name not completely visible

Only the first letter is visible for parameters

v6.13+dev0901a:



v6.13:

Hogi66 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 11:12 PM.


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