Page 1 of 1
Non Session Manager + .dll VST + FeSTige options
Posted: Fri Jul 05, 2013 8:52 pm
by AnthonyCFox
The faster I can fire up a project I'm working on the more time I will spend on it. That seems pretty obvious, but if I can start a project in a matter of seconds there is a big bonus. If I only plan on spending 5-10 minutes working, what's the point if 3-5 minutes are spent setting up. But if it only takes 30 seconds to get to work, that's another story. Where the bonus comes in, is that very often my planned 5-10 minutes turns into 2 hours.
VSTs have been a bottleneck for awhile now. I would have to wait for everything else to start before I could load them in Festige. Recently, Carla has been recognizing one of my VSTs, but that still left me with one other.
I found a work around for this and it has been staring me in the face for months right in the Festige UI.
Festige gives the command it's going to use to open the highlighted VST where it says "Final Command:". I took that command and made a shell script:
Code: Select all
#! /bin/bash
## I call this script: AmpliTube.sh
env WINEPREFIX=/home/tony/.wine VST_PATH='/home/tony/.wine/drive_c/Program Files (x86)/VstPlugIns/' WINE_RT=15 WINE_SVRT=10 /usr/share/festige/fst/fst.exe '/home/tony/.ladish/festige/AmpliTube 3' 'AmpliTube 3.dll'
I put it in /usr/local/bin and made it executable and in Non-Session-Manager I added client "AmpliTube.sh".
Now all the applications I need start with a single mouse click.

Re: Non Session Manager + .dll VST
Posted: Sun Jul 07, 2013 2:12 pm
by AnthonyCFox
UPDATE: I discovered another Festige trick! Using a script to load a previously saved state. (NOTE: I'm using a different VST for this example because it's particularly appropriate and it happens to be what I'm working on

)
Festige (or more properly fst.exe if you look closely at the above script) gives you the ability to save the state of a VST when you are running it.
Start by saving the state to the folder ~/.ladish/festige. For my example, say I saved the above VST as "Piano" (because it's a sampler and I now have a piano sample loaded in it); fst.exe will add the extension .fps to that, so you will see ~/.ladish/festige/Piano.fps.
Now go back and edit the end of the script and change it from:
Code: Select all
'/home/tony/.ladish/festige/sfozando VST_x86' 'sforzando VST_x86.dll'
to:
Code: Select all
'/home/tony/.ladish/festige/Piano.fps' 'sfozando VST_x86.dll'
The script will now open the saved state. If you need to update the saved state, just save using the same ~/.ladish/festige/filename.fps.
In this particular use case, being that it is a single slot sampler, you might want to run multiple instances, so when editing the original script don't "SAVE" but instead "SAVE AS" say as "Piano.sh". Then you can go back, run the original script again and load another instrument and repeat the process to create a script for that.
Re: Non Session Manager + .dll VST
Posted: Sun Jul 07, 2013 4:06 pm
by AnthonyCFox
falkTX wrote:festige's fst support SIGUSR1 save, so you might want to use that instead of manually saving-as everytime.
I suspected this but hadn't got around to test it. All I've needed the saved state for is to load instruments. Non-Session-Manager sends the SIGUSR1 signal.
Re: Non Session Manager + .dll VST
Posted: Sun Jul 07, 2013 5:41 pm
by male
AnthonyCFox wrote:falkTX wrote:festige's fst support SIGUSR1 save, so you might want to use that instead of manually saving-as everytime.
I suspected this but hadn't got around to test it. All I've needed the saved state for is to load instruments. Non-Session-Manager sends the SIGUSR1 signal.
Only NSM Proxy will send SIGUSR1. So you'll have to start your script via NSM Proxy (actually, you could define the whole thing in NSM Porxy if you set those WINE environment variables in your ~/.bash_profile or whatnot).
Re: Non Session Manager + .dll VST
Posted: Sun Jul 07, 2013 6:59 pm
by AnthonyCFox
male wrote:Only NSM Proxy will send SIGUSR1. So you'll have to start your script via NSM Proxy (actually, you could define the whole thing in NSM Porxy if you set those WINE environment variables in your ~/.bash_profile or whatnot).
Ah, well that clears up things a bit for me. I thought about using NSM Proxy but I didn't really understand that this:
Code: Select all
env WINEPREFIX=/home/tony/.wine VST_PATH='/home/tony/.wine/drive_c/Program Files (x86)/VstPlugIns/' WINE_RT=15 WINE_SVRT=10
is an environment variable and what I should do with it. And not being able to paste into the dialog box; it was just easier to make a shell script.
It doesn't matter much for what I'm doing right now; I don't edit the samplers after loading the instruments and any edits I make in AmpliTube I save as a matter of course.