PDA

View Full Version : LivePresets extension: Total recall for Reaper settings


Burtan
01-26-2020, 10:42 AM
LivePresets extension
An extension for REAPER to add extended preset support.

This extension is available as a beta. Its source code is available via GitHub (https://github.com/Burtan/LivePresetsExtension). Binaries (https://github.com/Burtan/LivePresetsExtension/releases) are available too.
For further documentation check the wiki (https://github.com/Burtan/LivePresetsExtension/wiki).

For feature requests and bug reports, use the issue tracker (https://github.com/Burtan/LivePresetsExtension/issues).

https://docs.google.com/uc?id=1HJsGQZ4LaxPAHBCnNHz93sXi6JVUq_T_

mschnell
01-27-2020, 03:44 AM
Do you have a docu / description ?

I also plan to do a reaper extension for Live playing, but I totally failed setting up a development environment for doing a Reaper extension in a way that seems promising for this task.

-> https://forum.cockos.com/showthread.php?t=223949
-Michael

Burtan
01-27-2020, 09:22 AM
Nope, there is no documentation yet. However, most stuff is self explanatory imho.

brk303
02-03-2020, 04:02 AM
How can one get this to test ? I already sent a PM.

Burtan
02-04-2020, 01:30 AM
I sent you a link as PM.

DerTonmeister
02-07-2020, 04:49 AM
I'm interested in that, too.

piotr@dydycz.com
02-07-2020, 07:10 AM
Interested too.

Skorobagatko
02-07-2020, 12:40 PM
Interested as well.

Burtan
02-07-2020, 12:43 PM
I sent more pms ;-). For discussions just write in this thread, don't send me pms. I'd like it to be available to others.

brk303
02-08-2020, 08:16 PM
Ok, I've got a question is there a difference in performance compared to SWS snapshots ?

Burtan
02-08-2020, 11:45 PM
I just tried the snapshots once and it was pretty slow, however I didn't analyze the source code in detail. LPE preset switches are almost instant, I measured 20-30 ms).

DerTonmeister
02-09-2020, 04:16 PM
Bug: Presets get lost when you open a new project tab.

recalling presets by Midi in and Action marker would be quite nice.

Burtan
02-09-2020, 11:34 PM
I'm using OSC to recall presets, but midi should work too. Did you try the associated action?

What do you exactly mean by action markers. I don't really use reaper much to record, so I don't know all the features to be honest.

DerTonmeister
02-10-2020, 05:56 AM
Midi would allow us to use it as FX rack on a mixer in live situations for example!

With sws you can use action markers: Name a marker "!commandid" to run the action when the playhead crosses the marker. You can find the command IDs in the action list. Perhaps it's possible to provide command IDs that match the preset.

edit: no I haven't tried the action yet.

Burtan
02-10-2020, 08:01 AM
It should all work with the action to switch presets. the RecallId is the midi value or the osc value (must be float!, this is a limitation of reaper). action markers can then trigger the switch presets action.

Burtan
02-10-2020, 08:02 AM
I don't think I will/can fix that multiple projects opened bug soon. I need to track opened and selected projects then and I don't think there is a callback from reaper in the api.

V1b3zman
02-11-2020, 12:56 PM
i'm interested in testing this as well

brk303
02-27-2020, 02:32 AM
What do you think of an option to save presets of plugins of selected tracks only ?
Add a checkbox in dialog to choose if you want to save only selected or all tracks.

Also, where are settings saved to, which file ?

Burtan
02-27-2020, 11:36 AM
Settings and presets are stored in the project files. You can filter tracks per presets to not recall them (press enter in the tree view to change the status: R = Recalled, C = use child setting, I = ignored). Dynamic recalling per selected tracks is not supported. Actually the selection is saved via presets.

brk303
02-28-2020, 09:06 AM
Thanks, that works fine.
But, I have 70 tracks and if I only want to store one, I have to click other 69 tracks one by one.
Could you add the ability to set status to all tracks in one go ? Also could you add multiselect in the tree ?

Burtan
02-28-2020, 10:02 AM
The version you are testing should be able to save filters, which you can apply to all presets (and define a default filter). Then you have to create the filter only once. Multiselect in the treeview is not supported by the reaper UI on non-Windows (SWELL).

However I'm still thinking about how to publish this extension. Probably I'll open source most of it and add a paid version for some extra features or useability improvements. Currently saved filter settings are planned to be paid. I'll have more time for it in some weeks.

nappies
02-28-2020, 10:15 AM
Interesting in testing too!

Burtan
03-08-2020, 12:59 PM
I have just released this extension on GitHub.

https://github.com/Burtan/LivePresetsExtension

TonE
03-09-2020, 08:32 AM
Having the .dll's there would be also nice.

TonE
03-09-2020, 08:46 AM
I just tried the snapshots once and it was pretty slow, however I didn't analyze the source code in detail. LPE preset switches are almost instant, I measured 20-30 ms).
I am guessing what this tool does.
1. Unmuting what you want to play, muting rest.
2. Sending bank select + program change events to those unmuted tracks.

Anything more? Is my guessing correct so far? Anything going into Vangelis direction? :)
3b1xJYCrKDU
https://www.youtube.com/watch?v=3b1xJYCrKDU

IprlDVDPos4
https://www.youtube.com/watch?v=IprlDVDPos4

Burtan
03-09-2020, 11:15 AM
Having the .dll's there would be also nice.

They are available on github. Both .dlls (windows) and .so (linux)

Burtan
03-09-2020, 11:21 AM
I am guessing what this tool does.
1. Unmuting what you want to play, muting rest.
2. Sending bank select + program change events to those unmuted tracks.

Anything more? Is my guessing correct so far? Anything going into Vangelis direction? :)
3b1xJYCrKDU
https://www.youtube.com/watch?v=3b1xJYCrKDU

IprlDVDPos4
https://www.youtube.com/watch?v=IprlDVDPos4

You definetly don't need 10 footswitches xD.
Presets are actually saving all kinds of information, not only muted state. Also sends, volume, color, panning, fx index, fx enabled, fx parameters (or reaper fx presets, you can define it per plugin). When recalling them you can select which to recall.

TonE
03-09-2020, 11:24 AM
They are available on github. Both .dlls (windows) and .so (linux)

Really, where? I cloned only source is there.

TonE
03-09-2020, 11:27 AM
Presets are actually saving all kinds of information, not only muted state. Also sends, volume, color, panning, fx index, fx enabled, fx parameters (or reaper fx presets, you can define it per plugin). When recalling them you can select which to recall.I see, then it is like a copy of snapshots, 'only' faster or better optimized coding probably? Sounds good.

Burtan
03-09-2020, 12:19 PM
Really, where? I cloned only source is there.

Under releases

TonE
03-09-2020, 01:32 PM
Ah, never looked there, thanks! Thanks for sharing, now I can test it quickly.

TonE
03-09-2020, 01:44 PM
Copied to REAPER/Plugins directory, how to enaable this, or in which menu should I find it or how to activate this tool? I am using wine 32 bit Reaper, so windows 32-bit.

Burtan
03-09-2020, 02:40 PM
It's build as 64bit, never expected someone to still go 32bit. Should be easy to change though.

TonE
03-09-2020, 03:41 PM
At least you can use your LivePresets. :)

akademie
03-09-2020, 03:49 PM
32bit only Windows 7 and XP machines here too ;)

TonE
03-10-2020, 08:26 AM
It's build as 64bit, never expected someone to still go 32bit. Should be easy to change though.Where to copy the linux version, I have that, too, but mosly I am just experimenting with the wine version, 32 bit. I copied into the Plugins directory, but could not see anything.

Burtan
03-10-2020, 10:29 AM
On debian it's located on ~/.config/REAPER/UserPlugins/reaper_livepresets.so. I guess its similiar on other systems.

V1b3zman
03-10-2020, 11:06 AM
okay I'm sure I'm doing something wrong. I set up some presets to test the extension.
I used the setting to bind num pad 1 to the first num pad 2 to the second and so on. but then after closing the window and trying to recall the presets nothing happens what am I missing? any ideas?
i'm running reap 6 with the latest SWS extensions installed

brk303
03-12-2020, 07:37 AM
Excuse my ignorance, but the Git repo seems to contain source only, no dll ?

Burtan
03-12-2020, 10:21 AM
I've just released 0.4.4 with 32bit windows binaries. The .so/.dll can be found under releases :-)

TonE
03-12-2020, 11:57 AM
Thanks Burtan, very much appreciated, downloaded, it appeared in Memory menu at the top, About clicked, empty window. Presets and the window opened, great, seems to work, now I will explore it!

V1b3zman
03-14-2020, 08:35 AM
Would it be possible for some to post a short step by step instruction on how to save and recall the presets. I can't seem to recall anything but the mute state of a track

thanks

Burtan
03-14-2020, 09:48 AM
I just released 0.4.7 with the first mac x64 builds. Sorry for the lack of documentation yet, I'll try to follow your suggestions ;-). Right now the action to recall presets just works with parameterized actions (Midi/OSC). I could think have a dedicated action per preset.

TonE
03-14-2020, 10:17 AM
Can the ID numbers (#) be program change? That would be cool. On any channel or on a given channel, e.g. midi channel = 16 (last midi channel)

Burtan
03-14-2020, 11:31 AM
Can the ID numbers (#) be program change? That would be cool. On any channel or on a given channel, e.g. midi channel = 16 (last midi channel)

Did you try to assign PC midi events to the preset change action? It is definitely working for CC midi events.

Edit:
I've now tried it myself. Reaper treats every PC midi number as a single action address so the action is not parameterized with the PC number. Therefore it is not possible now. It will work when I have added a recall action per preset (already requested above).

brk303
03-15-2020, 03:18 AM
Filters seem to be gone from new version, is this for the purpose of distinguishing free/paid version ? If so how can we buy it ?

Burtan
03-15-2020, 03:50 AM
Filters are still part of the community edition (ce). I've just moved filter presets which are a usability improvement, especially for extended use. However this is all work in progress and I might be convinced to change things. The main part I plan for a paid version is the possibility to recall hardware mappings. I will however need some time to do this.

Currently I focus on the ce version and try to get advice from you what is wanted the most :D.

TonE
03-15-2020, 08:36 AM
I am not interested any more, good luck with it.

Burtan
03-15-2020, 01:12 PM
Released 0.4.8. You can now use single reaper actions to recall a preset. So using hotkeys for recalls and midi pc will now work.

Burtan
03-28-2020, 06:55 AM
Readded filter presets for version 0.5.0. Some might already know it from the closed beta version.

brk303
03-29-2020, 03:24 AM
Anything else new ? Any more features planned for future ?

Burtan
03-29-2020, 03:46 AM
Currently there is nothing planned for new features. Just bug fixes and maybe some improvements on the UI layout. But I'm open for requests. Hardware mappings are my long term project, but most likely not for the open source version.

brk303
03-29-2020, 05:40 AM
I have a question, besides saving/recalling presets I'd like to enable disable plugins.

Now, the Enabled property seems to be present and saved:

https://i.imgur.com/dZLFCIf.png

But if save two presets with plugin on and off, recalling the preset seems to do nothing, that is it doesn't restore enabled state.

Is it possible to save/recall enabled state of fx somehow ?

Burtan
03-29-2020, 06:33 AM
That should work, I'll look into it.

Edit:
I can confirm the bug, I'm working on it and improvements on the filter modes.

brk303
03-29-2020, 08:06 AM
I can confirm the bug, I'm working on it and improvements on the filter modes.

Excellent, thank you.

One more question, you mentioned earlier that when saving a preset everything is saved (all plugins on all tracks), but when recalling only non filtered items are restored.

I have a project for my band's live performance that has 80 tracks and will contain 70 songs. Already with 7 songs the Reaper file is 250 MB. I plan to have at least 50-60 presets stored which I fear might bloat the file even more.

Would it be possible to change the implementation so only non filtered items are stored ?

For example, if I have say 6-7 presets for various vocal plugins, all on Vocal track, storing all other plugins of other 80 tracks seems like a waste of space and surely can't help performance either.

I'm afraid this might not be easy to implement, but I figured I can at least ask.

Thanks again for a great add-on.

Burtan
04-01-2020, 06:02 AM
Released 0.5.1: (https://github.com/Burtan/LivePresetsExtension/releases/tag/0.5.1)
Now showing values in the preset TreeView of recalled parameters
Improved filtering options
Fixed some bugs

Regarding the reaper project size. It shouldn't be affected too much by this plugin as presets don't store any blobs. I have in my project ~20 tracks with multiple plugins and >50 presets. It's 60 MB all together. One preset has 200 KB, I don't think it's worth to add complexity to it for saving some KB. Translating to your project it might be 1 MB per preset. So 60 MB in total.

mehmethan
04-04-2020, 09:34 PM
Hi first time user here.I'm getting instant Reaper crash when I push Add button. win64
Reaper 6.08 Livepreset 0.5.1

Burtan
04-05-2020, 01:19 AM
Sorry for the troubles. I think this is fixed with 0.5.2 (https://github.com/Burtan/LivePresetsExtension/releases/tag/0.5.2)

brk303
04-08-2020, 10:03 AM
I can confirm the bug, I'm working on it and improvements on the filter modes.

Not meaning to rush you, but I'm just curious if you had time to look into the "enabled" property and does it seem fixable ?

Also, when you do plan to set up payment system so we can donate/pay for your work ?

Burtan
04-08-2020, 09:44 PM
Not meaning to rush you, but I'm just curious if you had time to look into the "enabled" property and does it seem fixable ?

Also, when you do plan to set up payment system so we can donate/pay for your work ?

Did you try 0.5.2?

brk303
04-09-2020, 09:12 AM
Did you try 0.5.2?

Yes, it works but not reliably, I made a video to demonstrate:

https://youtu.be/G70updqkOl0

Having played around with it a bit more, it seems to always be the first plugin that is not restored correctly, I would guess it's bug in some for loop not starting from correct index.

Burtan
04-10-2020, 12:13 AM
Yes, it works but not reliably, I made a video to demonstrate:

https://youtu.be/G70updqkOl0

Having played around with it a bit more, it seems to always be the first plugin that is not restored correctly, I would guess it's bug in some for loop not starting from correct index.

I can confirm this problem on the master track. Normal tracks seem to work.

brk303
04-11-2020, 08:41 AM
I can confirm this problem on the master track. Normal tracks seem to work.

It's not just the master track, it also messes up on other tracks. If you try it once on a 1 track project then it works, but as soon as you start actually saving presets on a big project it mess up and doesn't restore correctly.

The values seem correctly stored, as can be seen in the treeview, but some just do not get restored. And to be exact the plugin preset is restored as is the track volume and even track sends/receives, but the enabled property is not restored.
Similar as with video I posted with master track, on normal tracks first out of 3 plugins behaves different than other 2 plugins.

Do you need more help reproducing ?

Burtan
04-12-2020, 09:25 AM
Try 0.6.0 (https://github.com/Burtan/LivePresetsExtension/releases/tag/0.6.0) please :-)

brk303
04-12-2020, 11:57 AM
Try 0.6.0 (https://github.com/Burtan/LivePresetsExtension/releases/tag/0.6.0) please :-)

Yep, it seems to work correctly now !

I'll start making presets for my project and will report if I find anything else.

Thanks.

Edit:
Track receive now doesn't seem to get restored correctly, pretty sure it worked in previous release.

Also the TreeView seems to have a bug: There is one "Lead Harmony" track, yet in the TreeView it shows up twice.

https://i.imgur.com/CLADwn3.png

Also, is there a way to delete a filter ? You can save new filters, but can't figure out how to delete them.

Burtan
04-12-2020, 11:18 PM
Receives are not saved directly, only sends are. But every receive has a send, so everything is saved. But if you filter the send, the receive is not restored. Maybe that's the problem?

ThrashJazzAssassin
04-13-2020, 02:51 AM
Request: actions for storing the presets please

V1b3zman
04-15-2020, 09:50 AM
version 6.0 crashes reaper when I try to add a preset. running reaper 6.08 ona first gen I7 machine

Burtan
04-15-2020, 12:39 PM
version 6.0 crashes reaper when I try to add a preset. running reaper 6.08 ona first gen I7 machine

Please re-download the .dll. It seems there was a build error. I rebuild it and now it worked at least on my machine.

V1b3zman
04-15-2020, 01:20 PM
thanks! I'll give it try

brk303
04-22-2020, 04:07 AM
I have a problem with LivePresets being cleared. Not quite sure of steps to reproduce, it may be related to having 2+ tabs with different projects open. But I only used presets in one, main project.

In any case, what happens is I start Reaper, load project and there are no LivePresets any more. I will try to figure out under which conditions this happens.

Also, the filters do not get cleared, just the presets, as if they are stored separately.

Edit: It's actually simple to reproduce, create a preset. Then File/New Project Tab. Switch back to previous tab, open LivePresets, all presets are gone.
What's worse even if project was saved with presets, after opening new tab, the presets are gone even if you reload the project.

Burtan
05-01-2020, 06:44 AM
Having multiple projects open is not recommended. I didn't figure out a way, yet to distinguish between them.

Burtan
05-07-2020, 12:56 PM
0.7.0 (https://github.com/Burtan/LivePresetsExtension/releases/tag/0.7.0) released:
Added more reaper actions
Improved window sizes and designs
Now showing the assigned filter preset of a preset in the edit window
Added function to remove filter presets in the settings menu

Cableaddict
05-08-2020, 09:14 PM
Can someone explain what this extension actual DOES?

(I don't have time to download, install and fool around with it, if it's not going to be beneficial.)
---------------------------------

I don't care about presets. No idea why I'd ever use them I WOULD, however, love to be able to record all real-time changes, during a performance, so that everything plays back later exactly as the audience heard it.
Is this possible?


It would also be lovely to do what I used to do years ago with Protools: Have faders setup one way when in record mode but set differently for playback.
Yes / no ?

brk303
05-09-2020, 02:24 AM
I WOULD, however, love to be able to record all real-time changes, during a performance, so that everything plays back later exactly as the audience heard it.
Is this possible?

That's not what it does.

Burtan
05-09-2020, 06:08 AM
I don't care about presets. No idea why I'd ever use them I WOULD, however, love to be able to record all real-time changes, during a performance, so that everything plays back later exactly as the audience heard it.
Is this possible?


It would also be lovely to do what I used to do years ago with Protools: Have faders setup one way when in record mode but set differently for playback.
Yes / no ?

This extension is all about presets. You could setup a preset for record and one for playback and probably create a custom script to recall them when recording or playing. I can't help you with the script though.

Cableaddict
05-09-2020, 10:53 AM
This extension is all about presets. You could setup a preset for record and one for playback and probably create a custom script to recall them when recording or playing. I can't help you with the script though.

THANKS !


For me personally, I can't see how this would be helpful. It's probably great for some users, of course.

Burtan
05-13-2020, 06:58 AM
0.8.1 released (https://github.com/Burtan/LivePresetsExtension/releases/tag/0.8.1)
- Added support for multiple tabbed projects

brk303
05-13-2020, 07:56 AM
- Added support for multiple tabbed projects

Seems to work ! Great job, thanks.

brk303
07-25-2020, 02:16 AM
Any further development planned ?

Burtan
07-25-2020, 10:21 PM
Any further development planned ?

I'm currently working on other projects but I'm always open for ideas ;-)

STOP
07-26-2020, 02:36 AM
BUG:
0.8.1

The window is too long and not resizable, I have to move things around to be able to click OK at the bottom.

Edit: Reaper in full screen (F11) is another way I found to be able to click the OK button.

In setting panel the OK button is over check box.

FarfadetFarfelu
08-12-2020, 10:20 AM
Thank you, this preset system is interesting as an alternative to snapshots.

Like it was said above, the "Add preset" window is too large, the Filter drop down menu seems to be empty.

This is 0.8.1 Reaper6 on windows 10.

It would be nice to have Previous Preset / Next Preset Buttons to navigate the presets with a controller.

Regards

Burtan
08-13-2020, 11:44 AM
Thanks for the feedback guys. I hope I will get to do something on LPE in about 2-4 weeks.

brk303
10-26-2020, 12:05 PM
Any new development ?

Burtan
10-27-2020, 09:28 AM
I'm currently rewriting the editor for my OSC app OSCAR. After that this extension will hopefully get some love ;-)

Burtan
08-08-2021, 01:08 AM
I'm glad to release 0.8.4 with some small but important improvements :-).

https://github.com/Burtan/LivePresetsExtension/releases/tag/0.8.4

X-Raym
04-16-2023, 02:07 PM
Hi,


There is bug with resizing the window (v0.8.4, winx64)



https://i.imgur.com/kAYqEmy.gif


Best,

Burtan
04-23-2023, 04:37 AM
Thanks for reporting. I'm afraid I cannot reproduce the behaviour. So you have a new project and floating LivePresets window. Then you add a new preset and when trying to resive the floating main window, the new preset window jumps?

Sr_Miaguii
04-22-2024, 10:55 AM
Thank you very much!!! I love this plugin!!!!!!

Burtan
04-23-2024, 05:33 AM
Glad, you like it. What is your usecase? :-)

Sr_Miaguii
04-23-2024, 06:29 AM
Glad, you like it. What is your usecase? :-)

First I apologize for my English. It's not my language. I don't know if I'll be able to explain that to you. But let's go:
I use the REAPER as if it were a multi guitar pedalboard to achieve specific TONES.
I have tracks that are linear, that is, the previous one sends the signal to the next one. Each TRACK works as an FX in this chain, PRE, COMPRESSOR, FILTER, EQ, AMP, ETC...
I have several FX for each TRACK and for each FX I have several PRESET. What I do is enable FXs in these chains with a certain PRESET. In this approach, your plugin is much more common than SNAPSHOT SWS, because I almost always want to modify a certain PRESET a little due to different circumstances, such as EQ conflicting with other instruments, or REVERB that was very evident in a certain environment, or I just got tired sound...etc. If you were to use the SNAPSHOT feature, you would have to redo ALL the TONES and save them again. Using your method, I change the PRESET of a given FX and for all TONES that use this PRESET it will be updated. And SWS' LIVEPRESET works with the PRESET by TRACK approach, which is not my case.