|
|
|
05-24-2019, 01:15 PM
|
#521
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
The match criteria mode works very nice!
Quote:
Originally Posted by Sexan
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!!
|
|
|
05-24-2019, 02:06 PM
|
#522
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
?
|
|
|
05-24-2019, 02:19 PM
|
#523
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
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.
|
|
|
05-24-2019, 02:27 PM
|
#524
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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.
|
|
|
05-24-2019, 02:35 PM
|
#525
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
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.
|
|
|
05-24-2019, 02:39 PM
|
#526
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
Parent Track = Match Mode
Child tracks = Override mode
So we did it? It works as it should?
|
|
|
05-24-2019, 03:13 PM
|
#527
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
So yes it works as it should and even better with your way,great work!!
|
|
|
05-24-2019, 03:33 PM
|
#528
|
Human being with feelings
Join Date: May 2013
Location: New York
Posts: 781
|
Quote:
Originally Posted by Sexan
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.
|
|
|
05-24-2019, 03:48 PM
|
#529
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
this will be really helpful,thank you!
|
|
|
05-25-2019, 05:48 AM
|
#530
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
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.
|
|
|
05-25-2019, 06:08 AM
|
#531
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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
|
|
|
05-25-2019, 06:15 AM
|
#532
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
I agree, basic stuff come first and for sure it's a lot of work and take time.
Excited for the public alpha : )
|
|
|
05-27-2019, 05:47 AM
|
#533
|
Human being with feelings
Join Date: Feb 2017
Location: Kiel
Posts: 974
|
|
|
|
05-29-2019, 03:41 AM
|
#534
|
Human being with feelings
Join Date: Aug 2011
Posts: 517
|
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.
|
|
|
05-29-2019, 06:12 AM
|
#535
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
Still fixing/polishing stuff and implementing user keyboard shortcuts, soon
|
|
|
05-29-2019, 07:58 AM
|
#536
|
Human being with feelings
Join Date: Aug 2011
Posts: 517
|
Great. Thanks Sexan
|
|
|
05-29-2019, 02:49 PM
|
#537
|
Human being with feelings
Join Date: Aug 2018
Posts: 93
|
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!
|
|
|
05-29-2019, 04:35 PM
|
#538
|
Human being with feelings
Join Date: Jan 2019
Location: Toronto, Canada
Posts: 533
|
I'll pipe up and say I'm pretty excited about it too!!
|
|
|
06-06-2019, 09:05 AM
|
#539
|
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,130
|
Hey Sexan, you uploaded a version to your Github 5 days ago. Is this safe to use, test and report yet?
|
|
|
06-06-2019, 09:46 AM
|
#540
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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.
|
|
|
06-06-2019, 09:49 AM
|
#541
|
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,130
|
Alright thanks! Will give it a go just to get even more excited!
Which script shall we use for drawing the AS?
|
|
|
06-06-2019, 09:56 AM
|
#542
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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.
|
|
|
06-06-2019, 10:05 AM
|
#543
|
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,130
|
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:
|
|
|
06-06-2019, 10:07 AM
|
#544
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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
|
|
|
06-06-2019, 10:40 AM
|
#545
|
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,130
|
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
|
|
|
06-06-2019, 10:43 AM
|
#546
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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.
|
|
|
06-06-2019, 11:28 AM
|
#547
|
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,130
|
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!!!
|
|
|
06-06-2019, 11:37 AM
|
#548
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
Yeeeeeey!
Have fun with drawing
|
|
|
06-06-2019, 11:52 AM
|
#549
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
Quote:
Originally Posted by Sexan
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.
|
|
|
06-06-2019, 12:07 PM
|
#550
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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.
|
|
|
06-06-2019, 03:01 PM
|
#551
|
Human being with feelings
Join Date: Oct 2013
Posts: 105
|
Area_51_core.lua:2: attempt to call a nil value (field 'JS_LICE_CreateBitmap')
:-(
|
|
|
06-06-2019, 05:20 PM
|
#553
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@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
|
|
|
06-07-2019, 01:29 AM
|
#554
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,813
|
Quote:
Originally Posted by Vagelis
My vote goes to: cut outside edges and move everything inside.
Seems more logical to move only the selected area.
|
Plus 1
|
|
|
06-07-2019, 01:34 AM
|
#555
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,813
|
Quote:
Originally Posted by Sexan
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.
|
|
|
06-07-2019, 02:37 AM
|
#556
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
Quote:
Originally Posted by Sexan
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)
|
|
|
06-07-2019, 03:41 AM
|
#557
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
Quote:
Originally Posted by Vagelis
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.
|
|
|
06-07-2019, 05:12 AM
|
#558
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,813
|
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!)
|
|
|
06-07-2019, 05:23 AM
|
#559
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
|
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.
|
|
|
06-07-2019, 05:28 AM
|
#560
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
|
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.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:57 AM.
|