Page 4 of 4

Re: save multiline text in preset

PostPosted: Sun Sep 17, 2017 1:20 am
by gvalletto
Hello again Tulamide. I tested my VSTi on Cubase and found that you're right. The presets load well, with full text, but the "state" of the VST does not save all the text. I will continue to investigate ...

Re: save multiline text in preset

PostPosted: Sun Sep 17, 2017 1:36 pm
by TheOm
Consider converting the text into an array of floats between -1 and 1.

Re: save multiline text in preset

PostPosted: Mon Sep 18, 2017 9:14 am
by Spogg
Brilliant work by TheOm! :ugeek:

Another instant toolbox addition for me.

I always thought Ruby would be needed for this.

Thanks for sharing

Spogg

Re: save multiline text in preset

PostPosted: Tue Sep 19, 2017 2:33 pm
by gvalletto
TheOm, You are a genius. I use Ruby just a bit, I have no enough knowledge to use it like you... congratulations.
I will continue researching on make this without Ruby. Of course, when I get good results, I'll share the scheme here ...
Regardless of that, I ask again, can I use your idea for commercial / donationware purposes?

Re: save multiline text in preset

PostPosted: Tue Sep 19, 2017 3:09 pm
by BobF
Wow, thanks guys.

Cheers, BobF.....

Re: save multiline text in preset

PostPosted: Thu Sep 28, 2017 9:47 pm
by gvalletto
Hello people. The scheme proposed by TheOm is great, but I had some problems due to the large size of the preset it generates, and other problems when trying to copy / paste presets. Then I used the proposal of Adamszabo (also great) and it occurred to me to subdivide the saved in several presets, having in mind the commented VST rules about the maximum number of chars. Here is an scheme that allows you to save up to 508 characters and can be expanded. For my needs, 508 characters is enough ... I hope it be useful...