|
|
|
06-07-2019, 06:21 AM
|
#561
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,820
|
In my point just paste if matched. Allowing pasting and create things magically is confusing as default .. and if destiny track does not have some specific envelope from a specific FX in target? And if that destiny has 2 or more instances with same effect/parameter in the chain? Which envelope would be created? Making things under the table with many conditions could be modes, but as default : what you see what you get I think is the most expected behaviour.
Sorry just my opinion
Last edited by deeb; 06-07-2019 at 06:31 AM.
|
|
|
06-07-2019, 07:52 AM
|
#562
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Thats what I wanted to make for default:
Copy and paste everything selected so the destination would be the same as source. Then we can have modifiers that will copy only matched to matched etc.
If you selected 5 envelopes the first thing that is expected is you want to paste all 5 somewhere.
IMO this is logical.
Every behavior next is bonus and should be on modifier
|
|
|
06-07-2019, 09:52 AM
|
#563
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
ok got the folder structure right and core.lua outside that folder
and set the core to remember to terminate so hopefully it toggle on and off with the hot key
but notice sometimes when terminating is will leave patches of the blue area on the screen... I know WIP but just saying
|
|
|
06-07-2019, 10:54 AM
|
#564
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Quote:
Originally Posted by hopi
ok got the folder structure right and core.lua outside that folder
and set the core to remember to terminate so hopefully it toggle on and off with the hot key
but notice sometimes when terminating is will leave patches of the blue area on the screen... I know WIP but just saying
|
It will leave little area dudes on the screen when script crashes or something else. Thats why I want to make it stable as possible so little areas wont be a problem.
There are many cases when this can happen and I want to make it minimal as possible for public testing
|
|
|
06-08-2019, 01:43 PM
|
#565
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
For people that get easily excited new WIP version is up so you can play with it (Git WIP folder):
just copy all scripts to same folder and you are good to go (its not the same structure as before, now all scripts need to be in the same place thats it)
start clean script have fun with copy paste and delete (items only atm)
ctrl + c activates copy mode (ghosts)
ctrl + v does not need explanation
ESC removes all AS copy mode etc
and currently delete is on "X" since my goddamn delete key stopped working (maybe I've killed it...)
Pasting envelopes is on the way, just to make them stable not crashing etc
Also zones are going thru refactoring so they also do not work ATM
Happy selecting! (dont get too wild with it )
Last edited by Sexan; 06-08-2019 at 01:50 PM.
|
|
|
06-08-2019, 02:15 PM
|
#566
|
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,133
|
Yessss everyday it's getting better and better. Love the delete, copy, paste functions already. Will you try to preserve the AS while navigating the arrange view (scrolling and zooming)?
|
|
|
06-08-2019, 02:18 PM
|
#567
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Thats already implemented, you can scroll zoom do whatever you want AS stays where you made it. It lags a bit but that cannot be fixed (reaper refreshes some values only when mouse stop moving for example scrolling, hand move etc)
|
|
|
06-08-2019, 02:30 PM
|
#568
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Not sure if we are supposed to report issues already, but that's what I get when executing the script:
...ing\REAPER\Scripts\Sexan_Scripts\Alpha\Area_51_ clean.lua:70: attempt to index a nil value (field '?')
|
|
|
06-08-2019, 02:33 PM
|
#569
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Yeah you can start reporting, but not sure whats that on your end. It cannot find LastTrack?
You have everything installed JS ? Platform? Remove all other old scripts
BTW this one has mouse debugging enabled so you will see one big screen with mouse stuff, you can close it
|
|
|
06-08-2019, 02:35 PM
|
#570
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Hm, that's strange indeed. Clicked around a bit (I guess that's how last track is created?) and still nothing. Let me try on a portable install.
|
|
|
06-08-2019, 02:38 PM
|
#571
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
It does not matter if you have tracks or not script should start. I've just tested on my notebook everything works fine (downloaded from my git). That last track things is only for tracking height changes in the project.
BTW there are still some critical bugs which I am aware of and fixing them like deleting one of the AS tracks while AS is active.
Report bugs regarding copy,delete,paste or any strange AS behavior
|
|
|
06-08-2019, 02:41 PM
|
#572
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Not sure why, but there's something on my default template what Area 51 doesn't like. I make extensive use of Track Inspector and LBX Stripper. Can't tell for sure, but maybe these scripts write some data that AS51 doesn't like?
I just tried a complete empty project and there everything works.
|
|
|
06-08-2019, 02:45 PM
|
#573
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
That error you posted is regarding project last track . It cant find it in the table where all tracks are (not sure if that table is made on your end thats why it maybe crashes). That table is the core thing of the whole script. Can you pinpoint which of those two scripts are making problems? Can you play around a bit to find the issue?
I can test LBX but cannot inspector since I do not have it
|
|
|
06-08-2019, 02:45 PM
|
#574
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Debugging is much easier if you have the entire stack trace to look at. You can wrap your entire main function with xpcall to have it use a custom error handler if the script crashes.
I use the template here for my GUI, so if a script goes down the user can copy the entire error report for you to work with: https://github.com/ReaTeam/ReaScript...%20console.lua
|
|
|
06-08-2019, 02:48 PM
|
#575
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Thank you very much!
|
|
|
06-08-2019, 02:49 PM
|
#576
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
@Sexan: it's really hard to tell what causes the problem. However, it also happens, when I have all scripts closed. I can provide you my template, if that helps.
|
|
|
06-08-2019, 02:50 PM
|
#577
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Will implement the template above Lokasenna provided and then we will see
|
|
|
06-08-2019, 02:52 PM
|
#578
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Awesome!
|
|
|
06-08-2019, 03:04 PM
|
#579
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Download it again, debugger is now there.
Also updated first post with link to latest WIP version
Last edited by Sexan; 06-08-2019 at 03:09 PM.
|
|
|
06-08-2019, 03:09 PM
|
#580
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Error: Area_51_clean.lua:105: attempt to index a nil value (field '?')
Stack traceback:
Area_51_clean.lua:16: in function 'crash'
Area_51_clean.lua:105: in function 'Status'
Area_51_class.lua:178: in function 'Draw'
Area_51_clean.lua:572: in function <...a\Roaming\REAPER\Scripts\Sexan_Scripts\Area_51 _clean.lua:559>
[C]: in function 'xpcall'
Area_51_clean.lua:559: in function <...a\Roaming\REAPER\Scripts\Sexan_Scripts\Area_51 _clean.lua:558>
Reaper: 5.978+dev0606a/x64
Platform: Win64
|
|
|
06-08-2019, 03:14 PM
|
#581
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
This does not make any sense, it cant find last track,,, can you give me that template?
|
|
|
06-08-2019, 03:21 PM
|
#582
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
|
|
|
06-08-2019, 03:27 PM
|
#583
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Found the issue... track is hidden, when unhiding it everything works.
Will need to make get last visible track, since all track height changes are reflected to last track its easier to track last track than every track in project
|
|
|
06-08-2019, 03:30 PM
|
#584
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Hah okay, that was easy!
Yeah, I'm working witha lot of hidden tracks, mainly folders and VCA.
I only show them, when I need to make changes there.
|
|
|
06-08-2019, 03:32 PM
|
#585
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
I just hope hidden tracks wont affect on track offsets and other stuff. Ok this is the next on todo list for tomorrow because maybe it will require to change lots of stuff
|
|
|
06-08-2019, 03:34 PM
|
#586
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Arggg, I'm really sorry if this is causing huge problems now!
|
|
|
06-08-2019, 03:38 PM
|
#587
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
Its for the better good! And schwa!
No this is a big issue I need to fix. One of those scenarios I did not thought of. There is million thing I need to make/fix I have like 5 todo lists and non of them is for hidden tracks . Cant think on all of the stuff.
But maybe its just 1 line of code
|
|
|
06-08-2019, 03:40 PM
|
#588
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Yeah, these damn corner cases
|
|
|
06-08-2019, 04:57 PM
|
#589
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,127
|
Keep going man, this is the biggest gift the Reaper community is getting without even realizing it.
|
|
|
06-08-2019, 05:12 PM
|
#590
|
Human being with feelings
Join Date: Jun 2011
Posts: 610
|
I downloaded all 5 scripts from WIP folder and put all of them them into scripts folder.
I'm having this message when I run them .
Area_51_clean.lua:7: unexpected symbol near '<'
|
|
|
06-09-2019, 12:59 AM
|
#591
|
Human being with feelings
Join Date: Jul 2009
Location: Germany
Posts: 43
|
Quote:
Originally Posted by mehmethan
I downloaded all 5 scripts from WIP folder and put all of them them into scripts folder.
I'm having this message when I run them .
Area_51_clean.lua:7: unexpected symbol near '<'
|
Yeah, me too :/
But what a wonderful addition!!
|
|
|
06-09-2019, 01:33 AM
|
#592
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
How did you guys downloaded the script?
You have all requirements (JS_API)?
that error appears when the script is wrongly downloaded
|
|
|
06-09-2019, 02:14 AM
|
#593
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
@_Stevie_
New WIP update:
Code:
Fixed issues when working with hidden tracks
Added function to set last visible track as last project track
Added function to find first next visible track if the current one is hidden
Modified the way track offset works to account hidden tracks
Fixed script crash when one of the active AS tracks is deleted -- Still needs tuning
My track offset now works exactly like reapers when working with hidden tracks (tried copy pasting with reaper and my script, results are exactly the same.
Also latest WIP script can now be found in my signature for easier finding...
Last edited by Sexan; 06-09-2019 at 02:40 AM.
|
|
|
06-09-2019, 05:27 AM
|
#594
|
Human being with feelings
Join Date: Jul 2009
Location: Germany
Posts: 43
|
Quote:
Originally Posted by Sexan
How did you guys downloaded the script?
You have all requirements (JS_API)?
that error appears when the script is wrongly downloaded
|
I downloaded all 5 scripts and put them in a folder called "Area 51" inside REAPER's scripts-folder. Then I imported the "ReaTeam Extensions" repository, from which I installed "JS_ReaScriptAPI".
Additional thought:
It seems as if the script has a problem with the exclamation mark in <!DOCTYPE html>
Last edited by TeaBone; 06-09-2019 at 05:33 AM.
Reason: Additional thoughts
|
|
|
06-09-2019, 05:37 AM
|
#595
|
Human being with feelings
Join Date: Jul 2009
Location: Germany
Posts: 43
|
I'm, stupid
AAHHH!
This is what happens, when one tries to save a link to a file! <facepalm>
Instead of having the lua code inside my *.lua files, I just had a lot of html-content. I will copy the code by hand...
Ok, here's the result:
Error: Area_51_mouse.lua:83: attempt to perform arithmetic on a nil value (field 'ox')
Stack traceback:
Area_51_clean.lua:16: in function 'crash'
Area_51_mouse.lua:83: in function 'OnMouseHold'
Area_51_mouse.lua:202: in function 'GetMouseInfo'
Area_51_clean.lua:585: in function <...AppData\Roaming\REAPER\Scripts\Area 51\Area_51_clean.lua:581>
[C]: in function 'xpcall'
Area_51_clean.lua:581: in local 'Main'
Area_51_clean.lua:635: in main chunk
Reaper: 5.978/x64
Platform: Win64
I'm on Windows 10 Pro by the way...
Last edited by TeaBone; 06-09-2019 at 05:47 AM.
Reason: Results
|
|
|
06-09-2019, 05:55 AM
|
#596
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
I think something got lost while you copied. Try this:
open every script with RAW button,save As and remove .txt from the end
|
|
|
06-09-2019, 07:46 AM
|
#597
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Quote:
Originally Posted by Sexan
@_Stevie_
New WIP update:
|
Awesome man, this works great! Can't believe it really
A question about the conception:
Is it planned to ignore mouse modifiers while the script is running?
At the moment, I have to turn off a lot of them, beacuse they interfere
with Area51, for example: Track -> left drag -> "default action" and "shift".
|
|
|
06-09-2019, 08:00 AM
|
#598
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
yeah, input script will do that, atm its not intercepting anything.I have some WIP intetcepting but i need to polish it
|
|
|
06-09-2019, 08:01 AM
|
#599
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Quote:
Originally Posted by Sexan
yeah, input script will do that, atm its not intercepting anything.I have some WIP intetcepting but i need to polish it
|
All good, just wanted to mention it! Superb work so far!
|
|
|
06-09-2019, 08:08 AM
|
#600
|
Human being with feelings
Join Date: Jul 2009
Location: Germany
Posts: 43
|
Quote:
Originally Posted by Sexan
I think something got lost while you copied. Try this:
open every script with RAW button,save As and remove .txt from the end
|
I did that, but the error message remains the same:
Error: Area_51_mouse.lua:83: attempt to perform arithmetic on a nil value (field 'ox')
Stack traceback:
Area_51_clean.lua:16: in function 'crash'
Area_51_mouse.lua:83: in function 'OnMouseHold'
Area_51_mouse.lua:202: in function 'GetMouseInfo'
Area_51_clean.lua:585: in function <...AppData\Roaming\REAPER\Scripts\Area 51\Area_51_clean.lua:581>
[C]: in function 'xpcall'
Area_51_clean.lua:581: in local 'Main'
Area_51_clean.lua:635: in main chunk
Reaper: 5.978/x64
Platform: Win64
Since the error message refers to mouse coordinates, I possibly should add that my display resolution is 3840 x 1080 pixels. Maybe that's a corner case...
|
|
|
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 07:19 PM.
|