I’m getting stuck while trying to read a string from a text file (previously created with Csound)
I would normally use “fini” opcode to read numeric values, like this (ex : to recall a saved value when used in a preset manager)
i1 init 0 fini gSFileName, 0, 1, i1 chnset i1, "env1amp"
Now I’d like to be able to save & recall some strings, so it’s where I’m stuck : I don’t know if it’s possible, I tried :
S1 init 0 fini gSFileName, 0, 1, S1 chnset S1, "TextPath"
But this didn’t work, fini cannot read strings…
Let me know if you guys have an idea about how to sole this problem !
Thanks in advance