Old 05-19-2017, 12:19 PM   #3121
dasombre
Human being with feelings
 
dasombre's Avatar
 
Join Date: Dec 2009
Posts: 543
Default

Quote:
Originally Posted by lb0 View Post
The erk's are caused when dragging in a strip - it regenerates all the control ids to ensure that none are duplicated. You get the erk message if a snapshot value cannot be matched with a new control as it has no record of it.
ahhh, good to know I will check the controls and subsets later (could be that exactly this is the case here as I resaved the strip a few times and added subsets then some further controls) and e-mail it if I can't get rid of it.

Thank you very much.
dasombre is offline   Reply With Quote
Old 05-19-2017, 12:48 PM   #3122
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Quote:
Originally Posted by lb0 View Post
The second - is a setting to enable automatic sending of all control midi feedback data when changing track and page. Useful for those with certain types of midi controllers that receive feedback like the BCR2000.
Appreciated, thank you.
Will test and report back.
nofish is offline   Reply With Quote
Old 05-19-2017, 12:58 PM   #3123
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by nofish View Post
Appreciated, thank you.
Will test and report back.
thanks - let us know how it goes
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 05-24-2017, 10:24 AM   #3124
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,820
Default

let's heat up here a little

was trying to create 16 tap ReaDelay Strip
created a Cycle Knob for the Length (musical)
0-0,25-0,50-0,75-1-1,25-1,50-1,75-2--...to 8 so 33 steps.
and duplicated this Cycle Button for all taps and replaced them...
there was a strange thing:
for example when i set one tab to 3,50 and want to set one of the others to different value...
all knob values was always start the value that i set for last knob.

after restart the Reaper its gone...
plus i just tried in the fresh project and it seems no need to restart Reaper,
just close and re open the Stripper window also fixes this.

to me not so important anymore, just want to share.

EDIT
for one more:
did i miss something?


Last edited by timbralzoom; 05-24-2017 at 01:53 PM.
timbralzoom is offline   Reply With Quote
Old 05-24-2017, 02:38 PM   #3125
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by timbralzoom View Post
let's heat up here a little

was trying to create 16 tap ReaDelay Strip
created a Cycle Knob for the Length (musical)
0-0,25-0,50-0,75-1-1,25-1,50-1,75-2--...to 8 so 33 steps.
and duplicated this Cycle Button for all taps and replaced them...
there was a strange thing:
for example when i set one tab to 3,50 and want to set one of the others to different value...
all knob values was always start the value that i set for last knob.

after restart the Reaper its gone...
plus i just tried in the fresh project and it seems no need to restart Reaper,
just close and re open the Stripper window also fixes this.

to me not so important anymore, just want to share.

EDIT
for one more:
did i miss something?

Aaah - yeah - wondered when someone would notice that!! It's been there the whole time - but I've kind of ignored it because I knew of the fix (which you do too).

Basically - when settings are duplicated across controls - I took a shortcut with the more complex cycle data table - instead of copying each individual value within the table to another table - I simply assigned each cycle data entry for each control to the same table. Therefore any changes made to one - will echo into the others. :| Not proud I know, I should hang my head in shame!

That is UNTIL you save and restart the script. Reloading loads each controls cycle data into it's own new table. Issue fixed!

Now someone's noticed I will fix... not right now though - tired after a long day!

EDIT:

Re your graphic - yes - there are a few minor glitches with the names for cycle data. I can't quite remember how it all works - so when I get some more time I'll sit down and work it all out and hope to fix that.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 05-24-2017, 02:57 PM   #3126
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,820
Default

Busted ... can hide but can't hide (edt...escape of course)
joking apart:
Take a great rest to full charge,
absolutely nothing to hurry & nothing urgent/important here!

EDIT2:

Rea DELAY 16x ShareStrip
https://stash.reaper.fm/v/30812/2017_REA-DELAY16x.zip

poor demo:
https://www.youtube.com/watch?v=Tu88...ature=youtu.be


EDIT3:
is this possible or worth to effort?:
Subset Randomize use Cycle Button States instead of original values of the parameter...
for example in this case, just randomize 33 Cycle Button States of the Length controls?

Last edited by timbralzoom; 05-25-2017 at 05:55 AM.
timbralzoom is offline   Reply With Quote
Old 05-26-2017, 01:20 PM   #3127
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by timbralzoom View Post
Busted ... can hide but can't hide (edt...escape of course)
joking apart:
Take a great rest to full charge,
absolutely nothing to hurry & nothing urgent/important here!

EDIT2:

Rea DELAY 16x ShareStrip
https://stash.reaper.fm/v/30812/2017_REA-DELAY16x.zip

poor demo:
https://www.youtube.com/watch?v=Tu88...ature=youtu.be


EDIT3:
is this possible or worth to effort?:
Subset Randomize use Cycle Button States instead of original values of the parameter...
for example in this case, just randomize 33 Cycle Button States of the Length controls?
Nice work ! I'll look into randomizing the cycle controls - should be pretty easy to add
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 05-26-2017, 04:14 PM   #3128
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,820
Default

Quote:
Originally Posted by lb0 View Post
Nice work ! I'll look into randomizing the cycle controls - should be pretty easy to add
sounds exciting

i was trying to create 16 Ch stereo JS mixer,
modified an old one
(FX_Chain_Mixer_Stereo, Xackley 04-25-2008...have no idea where/when did i get this)
not even close to perfect but might be useful at some point for someone.

zip file contains modified JS and also "LBX-WigMCVUMeter"..just in case.

https://stash.reaper.fm/v/30817/Xackl...tereoMixer.zip


https://www.youtube.com/watch?v=vaf1...ature=youtu.be


EDIT:
before the exciting Randomize comes is it possible to define multiple controls Cycle States at once?
or should i start to prepare one by one 4 states each





ps. nothing urgent!

Last edited by timbralzoom; 05-27-2017 at 09:05 PM.
timbralzoom is offline   Reply With Quote
Old 05-28-2017, 06:00 AM   #3129
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by timbralzoom View Post
sounds exciting

i was trying to create 16 Ch stereo JS mixer,
modified an old one
(FX_Chain_Mixer_Stereo, Xackley 04-25-2008...have no idea where/when did i get this)
not even close to perfect but might be useful at some point for someone.

zip file contains modified JS and also "LBX-WigMCVUMeter"..just in case.

https://stash.reaper.fm/v/30817/Xackl...tereoMixer.zip


https://www.youtube.com/watch?v=vaf1...ature=youtu.be


EDIT:
before the exciting Randomize comes is it possible to define multiple controls Cycle States at once?
or should i start to prepare one by one 4 states each





ps. nothing urgent!
Hmm. not sure. You can duplicate a cycle control - but then would need to reassign the target parameters...

Will have a think.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 05-28-2017, 06:17 AM   #3130
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,820
Default

Quote:
Originally Posted by lb0 View Post
Hmm. not sure. You can duplicate a cycle control - but then would need to reassign the target parameters...

Will have a think.
after a good sleep, its also started to seems a "rare to use function" to me too...
so if needs too much effort, please just ignore.
timbralzoom is offline   Reply With Quote
Old 05-29-2017, 05:20 PM   #3131
ThrashJazzAssassin
Human being with feelings
 
ThrashJazzAssassin's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 422
Default

I find [MIDI/OSC out] very useful. Would it be possible to have [MIDI/OSC In] using the same or a similar dialog box? Thanks.
__________________
TJA MIDI JSFX | REAPER-OSC-panels | erthoide
ThrashJazzAssassin is offline   Reply With Quote
Old 05-29-2017, 11:25 PM   #3132
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by ThrashJazzAssassin View Post
I find [MIDI/OSC out] very useful. Would it be possible to have [MIDI/OSC In] using the same or a similar dialog box? Thanks.
Unfortunately - I don't think that is possible to do in Reascript yet - without a dedicated jsfx/vst plugin to do the receiving.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 05-30-2017, 01:24 AM   #3133
ThrashJazzAssassin
Human being with feelings
 
ThrashJazzAssassin's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 422
Default

Quote:
Originally Posted by lb0 View Post
Unfortunately - I don't think that is possible to do in Reascript yet - without a dedicated jsfx/vst plugin to do the receiving.
Yes, I understand. Maybe like a FaderBox(32x) js hardwired in the background.

For me, the holy grail would be to have a strip pre-learned to my controllers, on which I can drag parameters without losing the connection with the hardware.

__________________
TJA MIDI JSFX | REAPER-OSC-panels | erthoide
ThrashJazzAssassin is offline   Reply With Quote
Old 06-02-2017, 09:22 PM   #3134
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,161
Default

really missing all the action that was going :|

hope all is well !
RJHollins is offline   Reply With Quote
Old 06-03-2017, 01:13 AM   #3135
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by RJHollins View Post
really missing all the action that was going :|

hope all is well !
If you mean me - I'm good, ta. Still thinking about the next stages - just not had much time this past week. And needed a kind of recharge too...
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-03-2017, 06:54 AM   #3136
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,820
Default

Thanks RJ!
i am fine too
timbralzoom is offline   Reply With Quote
Old 06-03-2017, 08:02 AM   #3137
dasombre
Human being with feelings
 
dasombre's Avatar
 
Join Date: Dec 2009
Posts: 543
Default

Quote:
Originally Posted by lb0 View Post
If you mean me - I'm good, ta. Still thinking about the next stages - just not had much time this past week. And needed a kind of recharge too...
I was also missing the action around here
but recharging is very important and healthy.
Glad that you are all well guys
Cheers
dasombre is offline   Reply With Quote
Old 06-03-2017, 08:17 AM   #3138
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Thanks. Would be good to have a recap of features that have been requested but I've not got round to yet.

I know about the cycle control ones Timbrals mentioned, and of course the take fx that RJ is waiting for (this one really is a biggy - huge amount of stuff to work out for this one).

But if there's any others I've probably forgot - and this is a pretty big thread to go back through - so if there's anything anyone is desperately waiting for - a re-request would be welcome

And if anyone feels any particular feature is clunky or incomplete - please mention it...
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-03-2017, 08:21 AM   #3139
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,161
Default

good to hear everyone well. Can definitely understand time for re-charge.
RJHollins is offline   Reply With Quote
Old 06-03-2017, 09:22 AM   #3140
dasombre
Human being with feelings
 
dasombre's Avatar
 
Join Date: Dec 2009
Posts: 543
Default

Quote:
Originally Posted by lb0 View Post
Thanks. Would be good to have a recap of features that have been requested but I've not got round to yet.

I know about the cycle control ones Timbrals mentioned, and of course the take fx that RJ is waiting for (this one really is a biggy - huge amount of stuff to work out for this one).

But if there's any others I've probably forgot - and this is a pretty big thread to go back through - so if there's anything anyone is desperately waiting for - a re-request would be welcome

And if anyone feels any particular feature is clunky or incomplete - please mention it...
the "global page" (the one that you also thought of, when I mentioned it)

EDIT: here was the original description of the global page:
http://forum.cockos.com/showpost.php...postcount=3118

Last edited by dasombre; 06-03-2017 at 12:00 PM.
dasombre is offline   Reply With Quote
Old 06-05-2017, 12:26 AM   #3141
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

We need a VST plugin that uses an ASIO soundcard that is not the soundcard being used by Reaper as its audio, this would give us the ultimate universal overbridge.

You could just add a 8in 8out audio interface for a ton of hardware effect goodness, all controlled by MIDI from LBX.
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 06-05-2017, 01:31 AM   #3142
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by gpunk_w View Post
We need a VST plugin that uses an ASIO soundcard that is not the soundcard being used by Reaper as its audio, this would give us the ultimate universal overbridge.

You could just add a 8in 8out audio interface for a ton of hardware effect goodness, all controlled by MIDI from LBX.
Sounds interesting - but from the limited research (I've just done) it seems unless both soundcards are synced to the same clock source - you would need to use a buffer to sync the soundcards together which would introduce latency.

To be honest - although I have created my own VSTs before - they were pretty much limited to host MIDI with host audio passthrough (with maybe an audio fade involved somewhere). Which technically isn't far off what I'd need to know - but the syncing of together of each card using buffers I'd currently have no clue about.

Why specifically would this require a second soundcard? As a method to try and reduce latency? Or simply to increase the number of ins/outs available? What are the benefits over using something like ReaInsert (on the single soundcard)?
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-05-2017, 05:02 AM   #3143
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

They dont have to be synced to the same clock source or overbridge wouldn't work, there is no reason at all to sync the cards, you just rely on PDC, so Reaper would just compensate for anything out of sync.

The reason to use more soundcards is imply convenience as much as anything else, if you had 30 outboard effects/synth (Not unreasonable, i downsized my set up and i easily can cover that haha) being able to add an extra soundcard just for ins and outs for that hardware would be very convenient.

The programming side is just creating a very simple plugin that reports PDC and attaches to audio ins and outs of a specific ASIO card, you could probably even do it with WASAPI on windows, it would need to be CORE on MacOS.

It is something i would pay money for and expect a lot of others would do too, shit if a MIDI only LBX was built directly in to the plugin it could be sold on any DAW, and it would be a major seller too, it would be super overbridge for any device.
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 06-09-2017, 02:12 PM   #3144
Spurk
Human being with feelings
 
Join Date: Oct 2016
Posts: 126
Default

Quote:
Originally Posted by ThrashJazzAssassin View Post
Yes, I understand. Maybe like a FaderBox(32x) js hardwired in the background.

For me, the holy grail would be to have a strip pre-learned to my controllers, on which I can drag parameters without losing the connection with the hardware.

Where can I find those knobs and pads .png? can't find it.
cheers
Spurk is offline   Reply With Quote
Old 06-09-2017, 04:48 PM   #3145
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by gpunk_w View Post
They dont have to be synced to the same clock source or overbridge wouldn't work, there is no reason at all to sync the cards, you just rely on PDC, so Reaper would just compensate for anything out of sync.

The reason to use more soundcards is imply convenience as much as anything else, if you had 30 outboard effects/synth (Not unreasonable, i downsized my set up and i easily can cover that haha) being able to add an extra soundcard just for ins and outs for that hardware would be very convenient.

The programming side is just creating a very simple plugin that reports PDC and attaches to audio ins and outs of a specific ASIO card, you could probably even do it with WASAPI on windows, it would need to be CORE on MacOS.

It is something i would pay money for and expect a lot of others would do too, shit if a MIDI only LBX was built directly in to the plugin it could be sold on any DAW, and it would be a major seller too, it would be super overbridge for any device.
I'm probably not best placed to do this one - working with raw audio data is not something I have much experience with (and therefore would take me more time than someone with more experience), but I'm willing to look into it in the future when I get some more time. It does sound interesting.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-09-2017, 04:50 PM   #3146
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by Spurk View Post
Where can I find those knobs and pads .png? can't find it.
cheers
Hopefully ThrashJazzAssassin may be able to share these as I don't think they're in the controls zip provided by Timbralzoom.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-10-2017, 05:22 AM   #3147
ThrashJazzAssassin
Human being with feelings
 
ThrashJazzAssassin's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 422
Default

Here's some knobs and buttons I've made recently

https://drive.google.com/open?id=0B_...1BlaU1TZlFfcEE

Attached Images
File Type: png Capture.PNG (12.6 KB, 850 views)
__________________
TJA MIDI JSFX | REAPER-OSC-panels | erthoide
ThrashJazzAssassin is offline   Reply With Quote
Old 06-10-2017, 06:20 AM   #3148
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by ThrashJazzAssassin View Post
Here's some knobs and buttons I've made recently

https://drive.google.com/open?id=0B_...1BlaU1TZlFfcEE

Nice!! thanks for sharing
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-10-2017, 03:16 PM   #3149
timbralzoom
Human being with feelings
 
timbralzoom's Avatar
 
Join Date: Apr 2010
Location: Turkey/Istanbul
Posts: 1,820
Default

Thank you TJA!
timbralzoom is offline   Reply With Quote
Old 06-12-2017, 12:50 PM   #3150
dasombre
Human being with feelings
 
dasombre's Avatar
 
Join Date: Dec 2009
Posts: 543
Default

today I was working on a mastering session, when suddenly my house had a very short power-outtake (due to bad weather) and the PC rebooted because he had no power for half a sec....session was saved at that time but reaper was open as I was working on it, but somehow all Stripper-Data is lost now after reboot (of this particular session - "project-1_6"). Funnily on the previously saved project-version "project-1_5" it opens just fine, because it was not open when the PC rebooted, it was saved before.

When I try to open the stripper on this project-save it says:

"LBX.stripper.lua: 32026: attempt to perform arithmetic on a nil value (field "w")"


Luckily, I'm finished now, but for the future, how could I make stripper open again and not leave me with the error-message before closing out on such an occasion?

Thanks for any hints

EDIT (more infos): in the Stripper-Data-Sub-Folder for that particular Project-version there are 2 instead of 3 files. The ".lbxtripper__" is the one which is missing. The ".lbxstripper" and the ".lbxstripper.lbxbak" is there.
So ideally, I would like to somehow bypass/close the error-message and just load the .bak or the other data. But after clicking close on the error-message the stripper just closes and that's it. After trying to reopen the message comes again and again only close is possible.

Last edited by dasombre; 06-12-2017 at 01:03 PM.
dasombre is offline   Reply With Quote
Old 06-12-2017, 01:21 PM   #3151
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by dasombre View Post
today I was working on a mastering session, when suddenly my house had a very short power-outtake (due to bad weather) and the PC rebooted because he had no power for half a sec....session was saved at that time but reaper was open as I was working on it, but somehow all Stripper-Data is lost now after reboot (of this particular session - "project-1_6"). Funnily on the previously saved project-version "project-1_5" it opens just fine, because it was not open when the PC rebooted, it was saved before.

When I try to open the stripper on this project-save it says:

"LBX.stripper.lua: 32026: attempt to perform arithmetic on a nil value (field "w")"


Luckily, I'm finished now, but for the future, how could I make stripper open again and not leave me with the error-message before closing out on such an occasion?

Thanks for any hints

EDIT (more infos): in the Stripper-Data-Sub-Folder for that particular Project-version there are 2 instead of 3 files. The ".lbxtripper__" is the one which is missing. The ".lbxstripper" and the ".lbxstripper.lbxbak" is there.
So ideally, I would like to somehow bypass/close the error-message and just load the .bak or the other data. But after clicking close on the error-message the stripper just closes and that's it. After trying to reopen the message comes again and again only close is possible.
Pesky power cuts!

I've looked at the latest github version and that line number makes no sense for the error you've quoted.

I need to look over the saving stuff yet AGAIN - because I've noticed cases where the __ file has just got emptied when closing a project.

So I will when I get some time.

Anyway - can you email me the version of Stripper you're using so I can work out the correct line of code the error is happening on.

Then - for that project - rename the saved data files to something else (and backup too).

Reload the project - when opening Stripper it should give you a blank Stripper (might display message saying data file not found). Then in ... menu - Go to Script Data->Load Data File. Then in the file open dialog - find the renamed data files (you may need to select All Files (*.*) ). Try loading the lbxstripper file - if that still gives you the error - try the backup file.

But please send me copy of your Stripper.lua and also maybe your rpp file and data files (might help me to work out what's happened).
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-12-2017, 01:32 PM   #3152
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Interestingly - I've just observed that if Stripper is open - and then you close Reaper - it blanks the __ stripper file - well not completely blanks it but manages to somehow resave it without the strip data (fader data is all intact).

So when you close Reaper - it must run at least part of the save routine - but maybe the data tables have been removed at this point...

Hmmm - this is different behaviour from what it used to do I'm pretty sure... Or maybe I just caused this by the last changes to saving i did (a little while ago now)...

I only requested day before yesterday in the feature requests that we might cleanly allow scripts to close on quitting Reaper.

It might be tough working out exactly what's going on here as it happens when closing Reaper - so not much time to display any debug info... :|
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-12-2017, 01:46 PM   #3153
dasombre
Human being with feelings
 
dasombre's Avatar
 
Join Date: Dec 2009
Posts: 543
Default

oh that sounds strange regarding the save-routine with scripts and reaper. But really I don't have a clue

Thank you for the help, the e-mail is sent.
Basically, I just need a way for the future to be able to bypass such an error message (if it happens again) and reload any previous stripper-data if possible at all.

Big thanks again!
dasombre is offline   Reply With Quote
Old 06-12-2017, 01:55 PM   #3154
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by dasombre View Post
oh that sounds strange regarding the save-routine with scripts and reaper. But really I don't have a clue

Thank you for the help, the e-mail is sent.
Basically, I just need a way for the future to be able to bypass such an error message (if it happens again) and reload any previous stripper-data if possible at all.

Big thanks again!
Have you tried renaming the data files for that project? That *should* allow you to open stripper without the error - and then load as I described in previous post...

Yeah - saving is acting really sh*tty when Stripper is running... Hopefully have something more robust in a day or two!
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-12-2017, 02:33 PM   #3155
dasombre
Human being with feelings
 
dasombre's Avatar
 
Join Date: Dec 2009
Posts: 543
Default

Quote:
Originally Posted by lb0 View Post
Have you tried renaming the data files for that project? That *should* allow you to open stripper without the error - and then load as I described in previous post...

Yeah - saving is acting really sh*tty when Stripper is running... Hopefully have something more robust in a day or two!
wooohooo, that did it totally
opened just fine after renaming the ".lbxbak" or better to say removing the .lbxbak from the filename.

So glad I enebled saving a backup file
Now I know what to do in case something like this happens in the future.
Big big thanks for the help. I'm very relieved
dasombre is offline   Reply With Quote
Old 06-12-2017, 02:42 PM   #3156
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by dasombre View Post
wooohooo, that did it totally
opened just fine after renaming the ".lbxbak" or better to say removing the .lbxbak from the filename.

So glad I enebled saving a backup file
Now I know what to do in case something like this happens in the future.
Big big thanks for the help. I'm very relieved
Great!

As I mentioned - something very odd going on when closing Reaper with the stripper window open. It seems like it is clearing all the data then saving it (ie. default blank data).

But this doesn't happen when closing Stripper manually - which runs the same routines. So my prediction is an issue with Reaper - but I've been wrong on this before so need to do some more testing.

EDIT:

For now - please ensure you close the Stripper window manually - before quitting Reaper. At least if running a recent version of Reaper and my script. There's something going on and I'm not entirely sure where the blame lies - but if I close Reaper with the script open - it loses the current data.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website

Last edited by lb0; 06-12-2017 at 03:37 PM.
lb0 is offline   Reply With Quote
Old 06-13-2017, 12:12 AM   #3157
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Sussed the losing data issue.

And it's completely my fault (as usual!!!)

I'm running a clean up routine just before saving data - which checks that a track exists before saving the data for that track - discarding any data for deleted tracks.

Well - it seems when closing Reaper with the script running - Reaper deletes all the tracks in the project (except master) - before terminating the scripts. Therefore - when Stripper saves its data - it only has the master data left to save...

Major error on my part (would help if I understood a little more Reapers processes - but hey ho).

Anyway - I've fixed it here and will publish the update now...

There is some other stuff in this update - but I will try to explain that later...
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website

Last edited by lb0; 06-13-2017 at 01:13 AM.
lb0 is offline   Reply With Quote
Old 06-13-2017, 01:08 AM   #3158
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Right- the update.

There's a new Faderbox JS plugin in Stripper Github.

This one sends midi feedback for each of the F1-F32 sliders.

The F1-F32 sliders have been hidden otherwise it wasn't always possible to see all the controls - but they can still be learned to a MIDI controller via the PARAMS button at the top.

So - as before - place the faderbox on a Track called __LBX_CTL

Set up the MIDI output details in Faderbox for the midi controller. At the moment - you would need to have the midi controller set up with encoders transmitting midi CC's 0-31, 32-63, 64-95, or 96-127 (or subset thereof). Set faderbox to output to same channel as CC's are sent on. EDIT: Remember to set the MIDI hardware output from the faderbox track to the MIDI port connecting to your midi controller device.

Once this is all set up - save the __LBX_CTL track as a template so you can add it easily to new projects (or make part of the default template).

Then you can right-click on (most) parameter controls within Stripper and choose the Faderbox Learn option. Move the midi knob (that's assigned to the faderbox plugin) that you wish to learn to the parameter in Stripper. Click OK to assign it.

Then - you should be able to control that parameter in Stripper using the midi controller with feedback to the controller.

For AUTOMAP controllers (like I use). Automap needs a VST to learn to - so just place the Faderbox plugin inside ReaJS VST plugin (assign a automap template to ReaJS). At the moment - as a automap template I think can only control one plugin at a time - you would be limited to 32 midi controllers although you can adjust this by adding the necessary faders to the faderbox plugin - then in LBX Stripper - change the LBX_FB_CNT variable to be the new number of faders in faderbox.

Anyway - that's a quick overvue - think I've covered everything. This just means you don't have to set up the MIDIOUT of each parameter in LBX Stripper.

All assignments at the moment are global - so no matter what track controls are open in Stripper - the midi controller will always control the same parameter whether visible or not.

Of course the main downside of this is that the external controller will do nothing if Stripper isn't running - and of course you'll get slightly less resolution in the data sent and captured (if recorded) due to Reascripts limitations - than if you mapped the external controller directly to the plugin parameters - but for me it's certainly good enough.

EDIT:

One other thing for ReaJS use of Faderbox. You don't need to send midi feedback for Automapped devices (set the option to No).

There's a useful setting in Reaper->Preferences->Plug-ins - VST

Parameter automation notifications. This defaults to Ignore when plugin window is not open.

You can change this to Process All Notifications - this will mean you can still control all the parameters when the Faderbox ReaJS is closed (not visible). Otherwise - you would need to have it open for all this to work properly.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website

Last edited by lb0; 06-13-2017 at 03:28 AM.
lb0 is offline   Reply With Quote
Old 06-13-2017, 07:51 AM   #3159
ThrashJazzAssassin
Human being with feelings
 
ThrashJazzAssassin's Avatar
 
Join Date: Oct 2010
Location: Scotland
Posts: 422
Default

Thanks for the interesting update Leon! Very exciting.

I think I've set it up properly, I'm getting feedback to my controller, but nothing happening controller -> parameter when using faderbox learn. It actually worked once but I don't know what I did :/

Also getting this error when deleting a faderbox learn'ed parameter (dragging to bin):

Code:
LBX Stripper.lua:19698: attempt to index a nil value (local 'ctl')
__________________
TJA MIDI JSFX | REAPER-OSC-panels | erthoide
ThrashJazzAssassin is offline   Reply With Quote
Old 06-13-2017, 07:58 AM   #3160
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by ThrashJazzAssassin View Post
Thanks for the interesting update Leon! Very exciting.

I think I've set it up properly, I'm getting feedback to my controller, but nothing happening controller -> parameter when using faderbox learn. It actually worked once but I don't know what I did :/

Also getting this error when deleting a faderbox learn'ed parameter (dragging to bin):

Code:
LBX Stripper.lua:19698: attempt to index a nil value (local 'ctl')
Ah ok - thanks for testing :/ Will look into and fix that error!

Please confirm control track is called __LBX_CTL

Only plugin instance on that track is Faderbox.

What controller are you using (I've only tested with Automap controllers).

So you have managed to learn the F1-Fn controls in Faderbox?

When you click on Faderbox Learn the window pops up. If you twiddle the controller knob - does it ever receive a Fn param value - or are you using the dropdown list? (both should work)

Note also - you may need to restart Stripper when creating the control track.

To test - it may be helpful to remove the '-' before the F1, F2, F3 etc on the slider definitions in Faderbox JS plugin. This way you can see the sliders and if they are learnt properly.

Have you tried with the faderbox window visible? Or with the settings tweak?

EDIT:

Update should fix the error (at that point). I'm not able to test if this passes the error on elsewhere at this moment - will check that tonight - but the new update won't error on the line you mentioned
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
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 07:17 AM.


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