Fastest way to switch between states

What is the fastest way to switch between states? Disable the MIDI route? Bypass audio? Suspend VST? Other routing changes perhaps? Bindings?

Thanks,

Paul

Song states, or Rack States?

Paul, what are you trying to accomplish? There are different ways to do things, and it really depends on a bunch of variables.Give us an idea and we can help you get through it.

Thanks PatAzzMusic,

I’m trying to find the cleanest and fastest way to switch between states.

Thanks,

Paul

Hi Paul,

Like Pat said, there are some variables that affect the time it takes to change a Cantabile state. The state change starts with the VST instrument load time (unless already loaded), the patch change load time, the MIDI input routes and filters condition, audio output routes and then any bindings unique to that state. The longest delays are caused by slow loading VST instruments but if they are loaded initially with the song file they can be kept on and you can disable and enable the MIDI routes . Suspending adds time to the state change for sure. In my experience the fastest setups keep the instruments for the song all loaded for all states and use MIDI input route enable/disable to select what VST receives MIDI data. This assumes that your PC can load and run all the instruments at one time for your song. VST3 are supposed to draw minimal resources when no notes are played or no audio is processed so I would use them too. If you have a framework already in place that you are going with we might be able to advise on specific issues you may have.

Cheers,

Dave

Hi Paul,

I have an approach similar to that of Dave. Loading an istrument is definitely the most time consuming step. I make a linked rack for each instrument I intend to use. Preloading of the set-list will make that all instruments are loaded. In case there is still a loading issue you need to have the instrument activated with midi disabled in the the previous state.

Both of the above are spot on. Loading sample based instruments, or changing a sample set for a different instrument within the same VST, typically slows down the state change the most for me. FWIW I’ve run into a few scenarios where I still get a slow load, sometimes long after the song had been working fine for a couple years. In that case I rebuild the song from scratch and it solves it.
Tom