Hi Olivier,
I can't just figure out what is happening to variables in a script when storing and recalling a patch using the preset manager. I've been trying to loop through the presets to put the values from a single array module into arrays within a script as a sort of update procedure.
Script variables and the preset manager
sorry,
internal script data's aren't stored in the preset manager.
Only inlet, outlet values.
use an external Array module to store data's.
internal script data's aren't stored in the preset manager.
Only inlet, outlet values.
use an external Array module to store data's.
Olivier Sens
www.brainmodular.com
www.brainmodular.com
I thought that that would be the case. I guess it wouldn't make much sense trying to store them like the other data, especially since the scripts are being compiled whenever they're loaded. Doable I suppose, but probably a mess to program...
Well, it was just an idea for an improved XY-morph patch. I have other ideas though.
Well, it was just an idea for an improved XY-morph patch. I have other ideas though.
Bjørn S
a nightmare do you mean?Doable I suppose, but probably a mess to program...
But I can add some 'file' functions in the script to store your data's your self in a separate file:
like
openfile('data.dat');
writeInfile(data1)
...
closefile;
but later, it's not a priority?
Olivier Sens
www.brainmodular.com
www.brainmodular.com
"Nightmare" is a better word, yes. Or "hell", maybe?
And you're very right in that it's not a priority!
And you're very right in that it's not a priority!
Bjørn S
Who is online
Users browsing this forum: Google [Bot] and 50 guests
