Old 05-24-2019, 01:15 PM   #521
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

The match criteria mode works very nice!

Quote:
Originally Posted by Sexan View Post
Im in the middle of polishing the override so it shows only 1 lane in this gif
Ok because i'd expect it to paste the top parameters without match,to the number of lanes of the destination track.

Almost there!!
Vagelis is offline   Reply With Quote
Old 05-24-2019, 02:06 PM   #522
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default



?
Sexan is online now   Reply With Quote
Old 05-24-2019, 02:19 PM   #523
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

Yes very close.just when override and mouse over a different lane at the top track,it should show all the lanes that are selected(4), if you mouse over the envelopes to the bottom track, which has three lanes open,then it should show the top 3 lanes selected,because there are 3 lanes visible.

So at the bottom track, which has three lanes and no matter if the parameters match,just paste the top three lanes of the selection,from the first track.(which has 4 lanes).That's what i meant criteria by number in the past.

Last edited by Vagelis; 05-24-2019 at 02:27 PM.
Vagelis is offline   Reply With Quote
Old 05-24-2019, 02:27 PM   #524
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

override mode shows only 3 top lanes from source, what am I missing here? Last track in override is red one.

please put some graphics how it should be. Dont forget that you see 2 modes live here,Override kicks in when IN the envelope lane,see how last track in destination switches from black to red

Last edited by Sexan; 05-24-2019 at 02:33 PM.
Sexan is online now   Reply With Quote
Old 05-24-2019, 02:35 PM   #525
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

My bad you re right here i got confused.

Edit:Or am i right ? Here's what i mean.The number of lanes shown at the top lane,the same number should be shown on whatever lane we hover the mouse over, from the same track and paste this number. (even if we hover over a different lane of the same track)

So on the first track it will show 4 lanes on wherever lane we hover the mouse, and on the last track's lanes,will show the top 3 lanes of the selection to paste those 3 like in the gif.(no matter if we hover our mouse to another lane of the same track,it'll show and paste those 3)

like here:

https://gifyu.com/image/95tg

**Now that i think more of it i like also your way!
So i think it works very smart like this,so YAY!

Last edited by Vagelis; 05-24-2019 at 03:04 PM.
Vagelis is offline   Reply With Quote
Old 05-24-2019, 02:39 PM   #526
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

Parent Track = Match Mode
Child tracks = Override mode

So we did it? It works as it should?
Sexan is online now   Reply With Quote
Old 05-24-2019, 03:13 PM   #527
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

So yes it works as it should and even better with your way,great work!!
Vagelis is offline   Reply With Quote
Old 05-24-2019, 03:33 PM   #528
RobinGShore
Human being with feelings
 
Join Date: May 2013
Location: New York
Posts: 781
Default

Quote:
Originally Posted by Sexan View Post
What does PT do by default? Does it select all track info or just item? You need modifier for hidden automation?
PT has an option called Automation Follows Edit that can be toggled on and off. It's basically the equivalent of "Envelope Points move with media items" in Reaper, but instead of the envelopes points being linked media items, they're linked to the area selection.

When Automation Follows Edit is on, an area selection on a track's media lane will automatically include all of that tracks envelopes, regardless of whether or not those envelopes are visible. When Automation Follows Edit is off, it works the way you have it in your gifs, where you need to drag over the individual envelope lanes to include them in the selection. Here are some gifs that demonstrate what I'm talking about, I've shown some of the track envelopes in lanes in these so you can see what's going on, but the behaviour is the same if the envelopes are hidden.

Automation Follows Edit ON


Automation Follows Edit OFF



And for good measure here are example of copying and pasting when envelopes are hidden.

Automation Follows Edit ON


Automation Follows Edit OFF


PT also has an alternate copy function that will copy only the automation data from a selection and ignore the media. This can be pretty useful.

Maybe it's just because I'm used to it from Pro Tools, but I think this is great system, so I'd love to see this way of working mimiced in your script. You could tie the functionality of the script to Reapers "Envelope Points move with media items" toggle to mimic PT's option, or you could create your own toggle within the script, either one would work.
RobinGShore is offline   Reply With Quote
Old 05-24-2019, 03:48 PM   #529
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

this will be really helpful,thank you!
Sexan is online now   Reply With Quote
Old 05-25-2019, 05:48 AM   #530
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

Robin very nice feature,it's also possible to do in cubase.

Sexan, when you have some time, what do you think about these features?

Delete time

https://gifyu.com/image/9DWd


Global copy-paste

https://gifyu.com/image/9DWy


For me it was very useful to rearrange or delete parts of the track fast.

Last edited by Vagelis; 05-25-2019 at 06:07 AM.
Vagelis is offline   Reply With Quote
Old 05-25-2019, 06:08 AM   #531
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

First one we have native (remove content from selection)

Second one probably would be best for devs to do since we have 1.

All the basic features are in. I'm fixing bugs, polishing behaviors etc for public alpha. No more features adding ATM because maybe I will need to change some core behavior that will affect everything. After release we will fix and polish stuff further. After all is stable we will add more features

Even this basic ones are quite complex so lets start with them
Sexan is online now   Reply With Quote
Old 05-25-2019, 06:15 AM   #532
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

I agree, basic stuff come first and for sure it's a lot of work and take time.

Excited for the public alpha : )
Vagelis is offline   Reply With Quote
Old 05-27-2019, 05:47 AM   #533
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default

Dragonetti is offline   Reply With Quote
Old 05-29-2019, 03:41 AM   #534
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 517
Default

Hey is there an alpha already with just ctrl+ drag to copy (just items,no envelopes, nothing)? I have a project where just this would speed up things an enormous lot.
reapero is offline   Reply With Quote
Old 05-29-2019, 06:12 AM   #535
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

Still fixing/polishing stuff and implementing user keyboard shortcuts, soon
Sexan is online now   Reply With Quote
Old 05-29-2019, 07:58 AM   #536
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 517
Default

Great. Thanks Sexan
reapero is offline   Reply With Quote
Old 05-29-2019, 02:49 PM   #537
AJYoung
Human being with feelings
 
Join Date: Aug 2018
Posts: 93
Default

Just chiming in to say this has been the most excited I've ever been for a Reaper script. Can't wait to try it out!
AJYoung is offline   Reply With Quote
Old 05-29-2019, 04:35 PM   #538
Tone Ranger
Human being with feelings
 
Tone Ranger's Avatar
 
Join Date: Jan 2019
Location: Toronto, Canada
Posts: 533
Default

I'll pipe up and say I'm pretty excited about it too!!
Tone Ranger is offline   Reply With Quote
Old 06-06-2019, 09:05 AM   #539
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,130
Default

Hey Sexan, you uploaded a version to your Github 5 days ago. Is this safe to use, test and report yet?
timothys_monster is offline   Reply With Quote
Old 06-06-2019, 09:46 AM   #540
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

You can test it, there is still a lot of work to get it in usable state...

Some calculations were wrong,somethings needed refactoring again, needed to change how AS is created, more cpu optimizations etc. Working on it every day. I think we are not that far from release.

Btw do not report bugs yet since some things changed on my end since that was released. I am aware of all the problems and there are more potential problems that I need to resolve first so the script will be stable and crash free.

There are lot of things needed to take in consideration (what user might do, what can be done, what might happen if xyz etc) so I'm dealing with that

for example this:

https://i.imgur.com/Vd3qhL7.gifv

What is desired behavior here? Move all that are in touch with AS? cut outside edges and move everything inside? How this will work will influence other things so first I need to make sure this works as it should

Last edited by Sexan; 06-06-2019 at 09:53 AM.
Sexan is online now   Reply With Quote
Old 06-06-2019, 09:49 AM   #541
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,130
Default

Alright thanks! Will give it a go just to get even more excited!

Which script shall we use for drawing the AS?
timothys_monster is offline   Reply With Quote
Old 06-06-2019, 09:56 AM   #542
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

oh :

First extract structure as is in scripts folder

Run core script

Draw as in the upper half of the track

ctrl + c - activates copy mode (ghosts)
ctrl + v - pastes at current location

center of the as click drag moves it left-right

edges extend-shrink and gather new data

(no mouse cursors there)

Envelope copy/paste has two live modes (which I also need to fix and make better implementation)

1. Match mode - If you have selected envelopes and mouse over parent track it will show ghosts only on matching envelopes and pasted them like that
2. Override mode - If mouse is on child track (envelope) then you paste any envelope to selected envelope

Oh btw there is no delete in there, forgot to add it

Hope you are on Win

Last edited by Sexan; 06-06-2019 at 10:14 AM.
Sexan is online now   Reply With Quote
Old 06-06-2019, 10:05 AM   #543
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,130
Default

I think I am doing something wrong.

Downloaded the whole folder and put it into my script's folder.
Then I loaded the Area_51_core.lua as a ReaScript and when I executed it, the following message appeared:

timothys_monster is offline   Reply With Quote
Old 06-06-2019, 10:07 AM   #544
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

Where is your scripts folder located? Program files or appdata?

You script folder should look like this

Code:
FolderX
FolderY
---------------
Area51 -- folder
Area_51_core.lua
---------------
xxx.lua
yyy.lua
To make sure you are using the right Script folder (when installing reaper normally not portable) is open up reaper - OPTIONS -- SHOW REAPER RESOURCE PATH
Sexan is online now   Reply With Quote
Old 06-06-2019, 10:40 AM   #545
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,130
Default

It's the standard Scripts folder in App Data\Roaming\REAPER\Scripts

I copied the Area51 folder into this one.

So all the lua files (inlcuding Area_51_core.lu) sit in:

C:\Users\Administrator\AppData\Roaming\REAPER\Scri pts\Area51
timothys_monster is offline   Reply With Quote
Old 06-06-2019, 10:43 AM   #546
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

Core script must be outside AREA51 folder

Code:
Scripts/
Area51
Area51_core.lua
In area51 folder there should be 3 scripts:
class
functions
input

Outside of it (in scripts folder) needs to be core

Last edited by Sexan; 06-06-2019 at 10:50 AM.
Sexan is online now   Reply With Quote
Old 06-06-2019, 11:28 AM   #547
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,130
Default

Thanks for your patience, Sexan. Haha!

I got it working now.

Won't bother you with my input for now until you have a public beta version ready to test.

Thanks again for all your effort. This is a total workflow game changer!!!
timothys_monster is offline   Reply With Quote
Old 06-06-2019, 11:37 AM   #548
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

Yeeeeeey!

Have fun with drawing
Sexan is online now   Reply With Quote
Old 06-06-2019, 11:52 AM   #549
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

Quote:
Originally Posted by Sexan View Post
There are lot of things needed to take in consideration (what user might do, what can be done, what might happen if xyz etc) so I'm dealing with that

for example this:

https://i.imgur.com/Vd3qhL7.gifv

What is desired behavior here?
My vote goes to: cut outside edges and move everything inside.

Seems more logical to move only the selected area.
Vagelis is offline   Reply With Quote
Old 06-06-2019, 12:07 PM   #550
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

More important question since I'm working at that part ATM. When envelopes are selected and we are on track that has non, create them on new track by default?

Envelope ghosts now follow any track, not only envelopes like before... and paste function follows where ghosts are, so by default should paste function paste envelopes on tracks that has non?

Last edited by Sexan; 06-06-2019 at 12:12 PM.
Sexan is online now   Reply With Quote
Old 06-06-2019, 03:01 PM   #551
Alex Ortega
Human being with feelings
 
Join Date: Oct 2013
Posts: 105
Default

Area_51_core.lua:2: attempt to call a nil value (field 'JS_LICE_CreateBitmap')

:-(
Alex Ortega is offline   Reply With Quote
Old 06-06-2019, 04:34 PM   #552
timothys_monster
Human being with feelings
 
timothys_monster's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 1,130
Default

Make sure you have the latest JS API installed:

https://forum.cockos.com/showthread.php?t=212174
timothys_monster is offline   Reply With Quote
Old 06-06-2019, 05:20 PM   #553
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@sexan


You could use something like this at top of the script:



Code:
if not reaper.JS_LICE_CreateBitmap then
  reaper.MB("Please install JS_reascript API extension via Reapack.", "Error", 0)
  return                       
end
X-Raym is offline   Reply With Quote
Old 06-07-2019, 01:29 AM   #554
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Quote:
Originally Posted by Vagelis View Post
My vote goes to: cut outside edges and move everything inside.

Seems more logical to move only the selected area.
Plus 1
deeb is offline   Reply With Quote
Old 06-07-2019, 01:34 AM   #555
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Quote:
Originally Posted by Sexan View Post
More important question since I'm working at that part ATM. When envelopes are selected and we are on track that has non, create them on new track by default?

Envelope ghosts now follow any track, not only envelopes like before... and paste function follows where ghosts are, so by default should paste function paste envelopes on tracks that has non?
I don't really know what are ghost in this context(you mean pooled?). Or don't really understand what you mean so I cant give an opinion.

Anyway since in the future you probably will add an option panel for sexyareaselection maybe consider as much this settings as preferences (if they make sense)
Maybe a bit more time, code and refactoring but at the end will be easier and flexible.
deeb is offline   Reply With Quote
Old 06-07-2019, 02:37 AM   #556
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

Quote:
Originally Posted by Sexan View Post
More important question since I'm working at that part ATM. When envelopes are selected and we are on track that has non, create them on new track by default?

Envelope ghosts now follow any track, not only envelopes like before... and paste function follows where ghosts are, so by default should paste function paste envelopes on tracks that has non?
Maybe paste them to a new track that has no envelopes, only when they are selected from one track, and if envelopes are selected from more than one tracks together,don't paste them to the new track? (except if we copy-paste each envelope individually from any track)
Vagelis is offline   Reply With Quote
Old 06-07-2019, 03:41 AM   #557
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

Quote:
Originally Posted by Vagelis View Post
Maybe paste them to a new track that has no envelopes, only when they are selected from one track, and if envelopes are selected from more than one tracks together,don't paste them to the new track? (except if we copy-paste each envelope individually from any track)
This seems resonable.

Ghosts are like helpers, when you want to paste something you see item "ghosts" at that position,so you know where the items will be after paste EXACTLY.

Check gif at the very top of this page, that are ghosts.But unlike that gif where envelopes only show on tracks that has envelopes now envelopes show on any track (because they are sub tracks of any track). So i want to know when you will want to paste them on a new track that has non:
1.only when single track is in AS
2.any time no matter whats in AS
3. some other criteria??

Last edited by Sexan; 06-07-2019 at 03:56 AM.
Sexan is online now   Reply With Quote
Old 06-07-2019, 05:12 AM   #558
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

I'd say 2. I like what you see is what you get. I think everyone knows very well what is selected .. and if pasting somewhere without the envelopes with more then 1 track selected that is because they want to do so... Other conditions is limiting imo (If I am getting the concept right!)
deeb is offline   Reply With Quote
Old 06-07-2019, 05:23 AM   #559
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

Maybe also consider to match and paste to the active envelopes of a track , even if they 're invisible?

So again if the track has no envelopes and mouse is over the track, match to paste to active but invisible envelopes, else paste everything inside area selection to the new track from top to the bottom number of copied lanes?

e.g target track- first lane volume , then it will paste to the first lane of the destination track.

If target first lane is filter cutoff, then pasting it to the destination track it should paste to the first lane (volume)

Last edited by Vagelis; 06-07-2019 at 05:39 AM.
Vagelis is offline   Reply With Quote
Old 06-07-2019, 05:28 AM   #560
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

That is default behavior. It will always paste to matched envelopes UNLESS mouse is over envelopes. So if envelopes are hidden paste will be matched always. If the script detects that track has active envelopes (hidden or not) paste will be matched if over parent, if track does not have any it will paste all source to it

you want it to paste in override mode?

We have another scenario:

What if user want to copy selected envelopes to new envelopes?

Code:
-- SOURCE
vol pan width
Code:
--DESTINATION
cut off whateever
This will need modifier or something...

We need to define DEFAULT behavior. What default paste should look like:

1. Paste to new envelopes (Paste to matched ones and add new ones)
2. Paste to matched envelopes ( Paste only to matched ones)

Current "default" is not that OBVIOUS. I think most users will expect to literally copy source to destination

Last edited by Sexan; 06-07-2019 at 05:41 AM.
Sexan 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 04:57 AM.


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