Old 11-09-2016, 07:36 AM   #921
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by daxliniere View Post
Man, this is CLEVER!
i sign it !
timbralzoom is offline   Reply With Quote
Old 11-09-2016, 07:52 AM   #922
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

uhmm..
this might be a stupid thing to put into words.. i just couldn't resist...
there might be two list for the Track Parameters/Track Controls?
we can see Record Arm in the Stripper's list
but Reaper doesn't show (give access to) Rec Arm in the Envelope list...

just thinking out loud
timbralzoom is offline   Reply With Quote
Old 11-09-2016, 08:24 AM   #923
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
uhmm..
this might be a stupid thing to put into words.. i just couldn't resist...
there might be two list for the Track Parameters/Track Controls?
we can see Record Arm in the Stripper's list
but Reaper doesn't show (give access to) Rec Arm in the Envelope list...

just thinking out loud
Well - I have sends working by using an alternative API call to set and get the values.

But not yet found solution for track parameters Vol etc...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-09-2016, 12:24 PM   #924
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
uhmm..
this might be a stupid thing to put into words.. i just couldn't resist...
there might be two list for the Track Parameters/Track Controls?
we can see Record Arm in the Stripper's list
but Reaper doesn't show (give access to) Rec Arm in the Envelope list...

just thinking out loud
Unfortunately - I cannot find any way to record the automation from the track controls (volume/pan/solo/mute etc).

The sends have an alternative API - SetTrackSendUIVol and SetTrackSendUIPan. Note - no mute UI API though - but you could fake this using a memory button and the volume parameter call.

But there is no alternative for the track volume/pan etc. If you want to automate these - as far as I can tell (and I've combed the entire API looking) there is no way to alter the track controls themselves that can be recorded as automation.

I guess a feature request could be made to add UI versions for the track controls - would be nice for general completeness of the API.

You can certainly get round it by having a Volume/Pan etc trim plugin - and placing in a parent folder for the one you want to automate. This should allow you to drag the volume of the parent folder completely down (using the automated trim plugin) but still have pre-fader fx sends working on the child track if that's what you need...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-09-2016, 03:07 PM   #925
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
Unfortunately - I cannot find any way to record the automation from the track controls (volume/pan/solo/mute etc).

The sends have an alternative API - SetTrackSendUIVol and SetTrackSendUIPan. Note - no mute UI API though - but you could fake this using a memory button and the volume parameter call.

But there is no alternative for the track volume/pan etc. If you want to automate these - as far as I can tell (and I've combed the entire API looking) there is no way to alter the track controls themselves that can be recorded as automation.

I guess a feature request could be made to add UI versions for the track controls - would be nice for general completeness of the API.

You can certainly get round it by having a Volume/Pan etc trim plugin - and placing in a parent folder for the one you want to automate. This should allow you to drag the volume of the parent folder completely down (using the automated trim plugin) but still have pre-fader fx sends working on the child track if that's what you need...
actually Track Solo and Mute is very important to have in the Stripper,
but only when the trying/tweaking parameters and listening the channels so not for the automation..
also i can use easily a workaround for the mutes as you described...

summarize: if the Send levels OK, i am happy too, more than enough!
timbralzoom is offline   Reply With Quote
Old 11-09-2016, 04:56 PM   #926
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
actually Track Solo and Mute is very important to have in the Stripper,
but only when the trying/tweaking parameters and listening the channels so not for the automation..
also i can use easily a workaround for the mutes as you described...

summarize: if the Send levels OK, i am happy too, more than enough!
Yep - the send volumes and pans are automating fine here

will update probably tomorrow along with the first snapshots (I have them working - but not saving yet). So far only page snapshots - so all controls on a page...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-09-2016, 05:11 PM   #927
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
Yep - the send volumes and pans are automating fine here

will update probably tomorrow along with the first snapshots (I have them working - but not saving yet). So far only page snapshots - so all controls on a page...
thats great news to me!

timbralzoom is offline   Reply With Quote
Old 11-10-2016, 01:54 PM   #928
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Update - added page snapshots. These are quite raw at the moment - lots of plans to improve.

I plan to add subset snapshots soon - but in doing so there's a chance I could break compatibility with current snapshots - although I have thought ahead and will try my best not to break any you make with the current system.

If you plan to record automation with switching the snapshot settings - it kind of does a swift fade between settings rather than hard cut - I can only think this is to do with the shape of the envelope points it creates whilst recording automation. If you want something sharper - you may need to manually edit the points to make them square type instant changes...

I really want to add the Action buttons soon - because that should open up all sorts of possibilities - so it is on my mind - by snapshots first...

Let me know how they work for you - or any things to improve - currently I've set it to double-click on them to switch between snapshots - but I think single-clicking would be better if used in a live situation.

I've also not tested with huge sets of parameters - looking at you Timbralzoom! - so would be good to know how swift the switching is.

I also plan to add snapshot display controls to sit on the grid - which when clicked on will open the snapshots window showing the correct snapshot sets... But haven't got this far yet.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 02:08 PM   #929
Vincent Sermonne
Human being with feelings
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Marseille France
Posts: 6,133
Default

Quote:
Originally Posted by lb0 View Post
Update - added page snapshots. These are quite raw at the moment - lots of plans to improve.

I plan to add subset snapshots soon - but in doing so there's a chance I could break compatibility with current snapshots - although I have thought ahead and will try my best not to break any you make with the current system.

If you plan to record automation with switching the snapshot settings - it kind of does a swift fade between settings rather than hard cut - I can only think this is to do with the shape of the envelope points it creates whilst recording automation. If you want something sharper - you may need to manually edit the points to make them square type instant changes...

I really want to add the Action buttons soon - because that should open up all sorts of possibilities - so it is on my mind - by snapshots first...

Let me know how they work for you - or any things to improve - currently I've set it to double-click on them to switch between snapshots - but I think single-clicking would be better if used in a live situation.

I've also not tested with huge sets of parameters - looking at you Timbralzoom! - so would be good to know how swift the switching is.

I also plan to add snapshot display controls to sit on the grid - which when clicked on will open the snapshots window showing the correct snapshot sets... But haven't got this far yet.
Thank you Leon ! It's an incredible work !! Génial !
__________________
Vincent
ReaperDrummer
http://www.tchackpoum.fr
Vincent Sermonne is offline   Reply With Quote
Old 11-10-2016, 02:10 PM   #930
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

fast one
got this when click to CAPTURE instantly

...AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10660: attempt to concatenate a nil value (global 'snapcnt')

now i am going try with the giant one

edit...
same:
Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10660: attempt to concatenate a nil value (global 'snapcnt')

now ill test in an empty project via building a simple strip.

last edit..

same message with a simple rea EQ 3 parameters
\AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10660: attempt to concatenate a nil value (global 'snapcnt')
timbralzoom is offline   Reply With Quote
Old 11-10-2016, 02:17 PM   #931
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
fast one
got this when click to CAPTURE instantly

...AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10660: attempt to concatenate a nil value (global 'snapcnt')

now i am going try with the giant one

edit...
same:
Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10660: attempt to concatenate a nil value (global 'snapcnt')

now ill test in an empty project via building a simple strip.

last edit..

same message with a simple rea EQ 3 parameters
\AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10660: attempt to concatenate a nil value (global 'snapcnt')
Aaarghhh... my fault completely (well who else's would it be!) Sorry - I changed a variable name last minute to make more sense in the context and missed one... update ready and published...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 02:31 PM   #932
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
Aaarghhh... my fault completely (well who else's would it be!) Sorry - I changed a variable name last minute to make more sense in the context and missed one... update ready and published...
hmm.. github says one hour ago
timbralzoom is offline   Reply With Quote
Old 11-10-2016, 02:33 PM   #933
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
hmm.. github says one hour ago
16 minutes on mine... strange.

anyway - if you like go to line 10660 - change snapcnt to snappos.

EDIT - tried to upload again - but it insists it's the same file, I've checked it and is the correct one
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 02:36 PM   #934
Sju
Human being with feelings
 
Join Date: Jun 2015
Posts: 686
Default

When trying to save a snapshot:

Code:
LBX Stripper.lua:10645: attempt to index a nil value (field '?')


EDIT: Wait, now it seems to work! Wow this is really nice... I get to remix every track at least 3 times, trying to decide which one is best!

Hey, I'll drop a couple requests here if you don't mind:

- closing message boxes with enter
- quick insert strips. ability to set one as a default preset, that you can insert by clicking on a button on the top menu bar maybe? (maybe also a double-click to insert for the left hand side strip list?). little conveniences...

thanks

PPS. would it be difficult to pass through keystrokes to Reaper, when a text box is not in use?

Last edited by Sju; 11-10-2016 at 02:42 PM.
Sju is offline   Reply With Quote
Old 11-10-2016, 02:40 PM   #935
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by Sju View Post
When trying to save a snapshot:

Code:
LBX Stripper.lua:10645: attempt to index a nil value (field '?')


EDIT: Wait, now it seems to work! Wow this is really nice... I get to remix every track at least 3 times, trying to decide which one is best!
Still a bit puzzled by the original crash - could you provide me with any extra details. Was it a blank project, how many tracks, any controls on the page etc.

Thanks,

Ah - I've repeated on a master only project - will fix
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 02:48 PM   #936
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by Sju View Post
When trying to save a snapshot:

Code:
LBX Stripper.lua:10645: attempt to index a nil value (field '?')


EDIT: Wait, now it seems to work! Wow this is really nice... I get to remix every track at least 3 times, trying to decide which one is best!

Hey, I'll drop a couple requests here if you don't mind:

- closing message boxes with enter
- quick insert strips. ability to set one as a default preset, that you can insert by clicking on a button on the top menu bar maybe? (maybe also a double-click to insert for the left hand side strip list?). little conveniences...

thanks

PPS. would it be difficult to pass through keystrokes to Reaper, when a text box is not in use?
Original error I think is fixed now - hopefully.

Regarding you requests - first two I can do when I have some time.

the PPS - not sure if this is possible - will look into though.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 03:31 PM   #937
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

changing the line give this result
https://www.youtube.com/watch?v=1mYeM09D-lU
timbralzoom is offline   Reply With Quote
Old 11-10-2016, 03:37 PM   #938
Sju
Human being with feelings
 
Join Date: Jun 2015
Posts: 686
Default

Quote:
Originally Posted by lb0 View Post
Original error I think is fixed now - hopefully.

Regarding you requests - first two I can do when I have some time.

the PPS - not sure if this is possible - will look into though.
Thanks! yeah it was a quite big strip with lots of controls, cycle buttons etc. Strange that it only happened that one time and then it worked. Good that you found the culprit. Thanks for considering the FRs!
Sju is offline   Reply With Quote
Old 11-10-2016, 03:38 PM   #939
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
changing the line give this result
https://www.youtube.com/watch?v=1mYeM09D-lU
Ok - seems double-click times out a lot for you as you have a lot going on - might make it single-click in next version...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 03:54 PM   #940
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by Sju View Post
Thanks! yeah it was a quite big strip with lots of controls, cycle buttons etc. Strange that it only happened that one time and then it worked. Good that you found the culprit. Thanks for considering the FRs!

New update

Enter to close message box
Right-click on saved strip in list to set as default. Then insert into empty strip page via main ... menu. Can be inserted whilst in any mode (I think)

Finally - single click to change snapshot. double-click was a bit temperamental!

Let me know of any problems.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 03:58 PM   #941
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
changing the line give this result
https://www.youtube.com/watch?v=1mYeM09D-lU
Nice - I hope to be able to speed up transitions too (at least a bit). At the moment it's storing the normalized parameter values - whereas if I store the denormalized ones - I will have to do way less processing to reinstate a parameter...

But - this change will break any stored snapshots! :/
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 03:59 PM   #942
Vincent Sermonne
Human being with feelings
 
Vincent Sermonne's Avatar
 
Join Date: Feb 2009
Location: Marseille France
Posts: 6,133
Default oups

Code:
...cent\AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10342: attempt to index a nil value (global 'strip_default')
it is when I want get out of the edit mode.

The snapshop is .... enorme !

Code:
...cent\AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10342: attempt to index a nil value (global 'strip_default')
when get out of the setting window

edit. I re-Update just now and seems work normaly
__________________
Vincent
ReaperDrummer
http://www.tchackpoum.fr

Last edited by Vincent Sermonne; 11-10-2016 at 04:15 PM.
Vincent Sermonne is offline   Reply With Quote
Old 11-10-2016, 04:02 PM   #943
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by Vincent Sermonne View Post
Code:
...cent\AppData\Roaming\REAPER\Scripts\LBX\LBX Stripper.lua:10342: attempt to index a nil value (global 'strip_default')
Sorry - fixed. I hate working with global external states - cos once I've set them - It's very hard to test what might happen if they aren't there!! (without spending more time removing them first).
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 04:52 PM   #944
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
Nice - I hope to be able to speed up transitions too (at least a bit). At the moment it's storing the normalized parameter values - whereas if I store the denormalized ones - I will have to do way less processing to reinstate a parameter...

But - this change will break any stored snapshots! :/
Thanks,
no problem we are still just testing... and i am keeping all scripts that i used,
with the tags in the names
so you can do/change as you want to, what will improve, will make better this beauty!
ill be OK with them.


-would be great if we can resize Snapshot window vertically

i have more to suggest but ...step by step

now going to test new one click version.

Thank you so much!
timbralzoom is offline   Reply With Quote
Old 11-10-2016, 05:01 PM   #945
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
Thanks,
no problem we are still just testing... and i am keeping all scripts that i used,
with the tags in the names
so you can do/change as you want to, what will improve, will make better this beauty!
ill be OK with them.


-would be great if we can resize Snapshot window vertically

i have more to suggest but ...step by step

now going to test new one click version.

Thank you so much!
Yeah - was going to add resize of snapshot window. Have you found that you can rename/delete/overwrite snapshots using right-click menu?
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 05:40 PM   #946
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
Yeah - was going to add resize of snapshot window. Have you found that you can rename/delete/overwrite snapshots using right-click menu?
i found every Easter Eggs!

just was obsessively busy to mess with parameters of the giant template and save/load
snapshots just can't stop to post...
Rename + overwrite was must have ones!
Thank you! one by one for all of them

just a "just in case wish" please no not include plugin guis / positions etc.
never to the Snapshots... well... if it will be suggested / requested
please make it optional! this is also important in my humble opinion.

one more about the list would useful to have mouse wheel scroll up down...
also maybe a slide bar in the the future versions or final version..

..
now i see i miss the Save not possible yet part
but no problem nothing can kill my happiness tonight!

edit..

as i said nothing

https://www.youtube.com/watch?v=4nMivo9G1oc

Last edited by timbralzoom; 11-10-2016 at 06:00 PM.
timbralzoom is offline   Reply With Quote
Old 11-10-2016, 06:20 PM   #947
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
i found every Easter Eggs!

just was obsessively busy to mess with parameters of the giant template and save/load
snapshots just can't stop to post...
Rename + overwrite was must have ones!
Thank you! one by one for all of them

just a "just in case wish" please no not include plugin guis / positions etc.
never to the Snapshots... well... if it will be suggested / requested
please make it optional! this is also important in my humble opinion.

one more about the list would useful to have mouse wheel scroll up down...
also maybe a slide bar in the the future versions or final version..

..
now i see i miss the Save not possible yet part
but no problem nothing can kill my happiness tonight!

edit..

as i said nothing

https://www.youtube.com/watch?v=4nMivo9G1oc
Resize is now there - but won't remember after closing the project yet.

mouse wheel was there all along - but if you moved the window it stopped working - oops - fixed now

Noted about your do not include requests or at least make optional. I had no plans along those lines anyway.

It should save the snapshots ok with the project - please let me know if it doesn't...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-10-2016, 07:01 PM   #948
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
Resize is now there - but won't remember after closing the project yet.

mouse wheel was there all along - but if you moved the window it stopped working - oops - fixed now

Noted about your do not include requests or at least make optional. I had no plans along those lines anyway.

It should save the snapshots ok with the project - please let me know if it doesn't...
Thanks!
ill test in a moment!!

one more.. seems really useful to me:
to tell some of the parameters do not include to snapshot
or another word.. exclude from snapshots in the right click menu would be great...

as an example i would use this for all vu meters.
(anyway probably they will be recorded when i use action
"write current values in time selection" but no need them in snapshots)

snapshots to project example
it takes a little time to load because of this giant envelope list but it works

https://www.youtube.com/watch?v=sNCLrXS7q78
timbralzoom is offline   Reply With Quote
Old 11-10-2016, 07:37 PM   #949
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

latest one...
mouse wheel works great!
save with project didn't work to me.

edit for thinking out loud moment...

i have no idea how to describe this but ill try,
is it possible to have an option/command to tell to all parameters (kind a) "send ping" to the automation/envelopes..
just for inform (record of course) their current values at once?
sounds a bit crazy even to me but might be useful activate all envelopes via one click when you start to record Snapshots in to project.

edit2...for saying "Great!" to the:
"I had no plans along those lines anyway"


final of the night..

if you use mouse wheel on empty snapshot list

Scripts\LBX\LBX Stripper.lua:7132: attempt to index a nil value (global 'snapshots')

as a side note..
if make sense: after creating one snapshot and delete, mouse wheel doesn't crash anymore.

Last edited by timbralzoom; 11-10-2016 at 08:33 PM.
timbralzoom is offline   Reply With Quote
Old 11-11-2016, 01:13 AM   #950
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
latest one...
mouse wheel works great!
save with project didn't work to me.

edit for thinking out loud moment...

i have no idea how to describe this but ill try,
is it possible to have an option/command to tell to all parameters (kind a) "send ping" to the automation/envelopes..
just for inform (record of course) their current values at once?
sounds a bit crazy even to me but might be useful activate all envelopes via one click when you start to record Snapshots in to project.

edit2...for saying "Great!" to the:
"I had no plans along those lines anyway"


final of the night..

if you use mouse wheel on empty snapshot list

Scripts\LBX\LBX Stripper.lua:7132: attempt to index a nil value (global 'snapshots')

as a side note..
if make sense: after creating one snapshot and delete, mouse wheel doesn't crash anymore.
Thanks for the error reports.

Strange - it should save the snapshots - and reload when you reopen the project. Any chance you can look in the .rpp file and see if there are any entried that look like:

SNAP_STRIP_1_1_SSTYPE_COUNT 1
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_10_CID 1646526463
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_10_CTL 10
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_10_VAL 0.25
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_11_CID 694550527
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_11_CTL 11
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_11_VAL 0.25
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_12_CID 4155113471
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_12_CTL 12


then I'll have an idea as to if the saving or loading is failing for you.

Make sure you create some snapshots first - save the project. Then open the .rpp file in something like notepad/notepad++,

Do not load the project file again before you check the .rpp file or it will wipe the snapshots when closing if they failed to load...

thanks...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-11-2016, 01:48 AM   #951
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
latest one...
mouse wheel works great!
save with project didn't work to me.

edit for thinking out loud moment...

i have no idea how to describe this but ill try,
is it possible to have an option/command to tell to all parameters (kind a) "send ping" to the automation/envelopes..
just for inform (record of course) their current values at once?
sounds a bit crazy even to me but might be useful activate all envelopes via one click when you start to record Snapshots in to project.

edit2...for saying "Great!" to the:
"I had no plans along those lines anyway"


final of the night..

if you use mouse wheel on empty snapshot list

Scripts\LBX\LBX Stripper.lua:7132: attempt to index a nil value (global 'snapshots')

as a side note..
if make sense: after creating one snapshot and delete, mouse wheel doesn't crash anymore.
Yes - I can possibly add a function to open all envelope lanes - will think on best way to do this... Pretty sure I did something like this on Chaos Engine script.

Important thing to look for - I need to know if your CID values are saving in the project - this would mean any snapshots may not be recalled properly.

I added the CID value to keep track of if you delete any controls - so the snapshots can be appropriately updated - but these would not be in your old project (although I thought I would have had them added if they were missing - maybe that bits not working).

can you please check for CID values in the project file: like:

SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_10_CID 1646526463
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_10_CTL 10
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_10_VAL 0.25
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_11_CID 694550527
SNAP_STRIP_1_1_TYPE_1_SNAPSHOT_10_DATA_11_CTL 11


Thanks again.

EDIT: Well the CID's generate ok for me on an old project - so might not be that... hmmm...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal

Last edited by lb0; 11-11-2016 at 02:04 AM.
lb0 is offline   Reply With Quote
Old 11-11-2016, 03:26 AM   #952
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Minor update:

Snapshots will now store and recall denormalized parameter values for a little extra speed.

This will stop currently saved snapshots from yesterday not work - sorry!

Edit: Anyone else having trouble with saved snapshots? As in - are they still in the project after closing the script window and reopening? Or have they disappeared?
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal

Last edited by lb0; 11-11-2016 at 03:32 AM.
lb0 is offline   Reply With Quote
Old 11-11-2016, 03:53 AM   #953
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Hi,

strange thing i was able to save once
i do not now the how to reproduce but...
first search didn't find the lines..
while project open in notepad++, i changed added snapshots and saved in the reaper,
notepad++ asked "file changed to re open it?" i said yes and data was there...
after save i close reaper and reopen the project snapshots was there also..
now project opens snapshots
but no matter what i tried i cannot save from scratch or can't add new snapshots to this same project anymore.

i hope make sense..
btw.i can upload projects to gdive if you want to check them.




http://www.ultraimg.com/image/xWFJ
timbralzoom is offline   Reply With Quote
Old 11-11-2016, 04:05 AM   #954
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

uhmm..
more strange now i get all this saved 10 snapshots in some of the older projects too.
which is all of them was has empty snapshot list... i tried a few minutes ago..
is it could be just because of i press (first time) to SAVE button on the strip?
anyway..
seems non sense anymore ill go to try new one
Thanks.
timbralzoom is offline   Reply With Quote
Old 11-11-2016, 04:09 AM   #955
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
uhmm..
more strange now i get all this saved 10 snapshots in some of the older projects too.
which is all of them was has empty snapshot list... i tried a few minutes ago..
is it could be just because of i press (first time) to SAVE button on the strip?
anyway..
seems non sense anymore ill go to try new one
Thanks.
It would be very useful to see your rpp file - will PM you with my email to save uploading

EDIT: When you close the script window - the data should be saved then (same as hitting SAVE button) - I'm still a bit puzzled by this but will get to the bottom of it with the .rpp file (one with snapshots saved please)
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal

Last edited by lb0; 11-11-2016 at 04:18 AM.
lb0 is offline   Reply With Quote
Old 11-11-2016, 04:24 AM   #956
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,717
Default

Quote:
Originally Posted by lb0 View Post
It would be very useful to see your rpp file - will PM you with my email to save uploading

EDIT: When you close the script window - the data should be saved then (same as hitting SAVE button) - I'm still a bit puzzled by this but will get to the bottom of it with the .rpp file (one with snapshots saved please)
done, two projects sent, i hope they make sense.
timbralzoom is offline   Reply With Quote
Old 11-11-2016, 05:10 AM   #957
Sju
Human being with feelings
 
Join Date: Jun 2015
Posts: 686
Default

Quote:
Originally Posted by lb0 View Post
Enter to close message box
Right-click on saved strip in list to set as default. Then insert into empty strip page via main ... menu. Can be inserted whilst in any mode (I think)
This is so good, thank you! I like it that it checks that the strip page is empty before it enables the action too...

Maybe in the future the feature could be expanded to a preset menu dropdown for the top menu bar, or something like that? (don't have to go to the edit mode to insert different strips)

Thanks again!
Sju is offline   Reply With Quote
Old 11-11-2016, 05:32 AM   #958
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by Sju View Post
This is so good, thank you! I like it that it checks that the strip page is empty before it enables the action too...

Maybe in the future the feature could be expanded to a preset menu dropdown for the top menu bar, or something like that? (don't have to go to the edit mode to insert different strips)

Thanks again!
Good idea - one for the future
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 11-11-2016, 05:55 AM   #959
Sju
Human being with feelings
 
Join Date: Jun 2015
Posts: 686
Default

Oh, one more thing about the default/preset strip... could it also save the XY position? I like to have the strip placed a bit further away from the edges, for better readability of the text above knobs and generally more pleasant visual representation. Cheers
Sju is offline   Reply With Quote
Old 11-11-2016, 05:55 AM   #960
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,370
Default

Quote:
Originally Posted by timbralzoom View Post
done, two projects sent, i hope they make sense.
Well - all the data is saved - your entire project is over half a million lines (mainly envelope points) :O

I've loaded your rpp file on my laptop - and apart from all the obvious missing stuff - it seems to show the snapshots ok and I can add new ones and it saves ok when i close the script window and recalls ok when i reopen it.

Something I should say. Always close the script window (or hit SAVE button) before saving your project. In edit mode it saves when you exit edit mode - but in LIVE mode - there is no way to trigger saving automatically. So when you create a snapshot or set of snapshots - close the script window before saving the project. Then please try to reopen the project and see if the snapshots are there...

I predict your problem might be that you close the project with the script window still open - this will *not* save any new data with the project. I know of no way to make this automatic - so common rule of thumb is to always close the script window first or hit SAVE button on script - then save the project. As mentioned - this probably was not noticeable to you before - because adding controls in edit mode - these get saved when you switch back to LIVE mode - tweaking parameters automatically get saved with the project as these are actually stored within the plugins themselves (and refreshed by my script on opening). But snapshots will not get saved automatically as in LIVE mode I have no autosave - as it would freeze the project whilst it saved the data every time the autosave occurred.

Would you mind going back to a project file with no snapshot data in... will email you your project file back with the data removed - and try again with the latest version.

I only ask to start again with the snapshots as the latest version uses the denormalized values - so your existing snapshots won't work.

Thanks,
Leon.

EDIT: Thinking about it - why don't I save the script data each time you add a new snapshot? Would a small extra pause be a problem at this stage for anyone with large projects? Although the delay will get bigger the more snapshots you have - just having about 10 snapshots in your huge project takes about a second to close - hmmm - that would get annoying fast if you had say 100 or more...

No I think I'll have to leave you to remember to hit the save button...
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal

Last edited by lb0; 11-11-2016 at 06:09 AM.
lb0 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 03:51 AM.


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