FIXED: Plugin .txt load dynamically

For general discussion related FlowStone
Post Reply
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

FIXED: Plugin .txt load dynamically

Post by wlangfor@uoguelph.ca »

This fix loads in the alpha, but should you be able to first count the presets in your .txt file in a similar way it might be possible:

Image

before sending the plugin presets.txt file to the TextFile primitive, it's important to first count presets.
So, from a .txt loader primitive, count the presets in the above manner. Next send that count to the "names" setting in the preset Manager BEFORE trying to load the preset .txt file, then load the preset file as it should be and all of your presets will load easy.

The reason this is profound is because it allows your user to make presets to .txt dynamically, meaning multi-daw presets in a breeze.

GL all,
Robert
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

Re: FIXED: Plugin .txt load dynamically

Post by wlangfor@uoguelph.ca »

The issue I've been confronting with this tactic is that reaper does not name the presets correctly.

I've countered this by only loading preset names from the .txt file solely, initially until once again re-saving to the .txt file. After this; names seem to update fine. It's a backwards way of doing things but it works well.

I intend to make a complete system for plugin makers which will have many options and a nice menu system.
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
Post Reply