Re: [sc-users] Saving long array to file

[email protected] Mon, 26 Apr 2021 20:28:59 +0200
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <trinity-e1df0c72-2f70-47f2-9cd4-81a81f99f254-1619461739187@msvc-mesg-gmx120>
.asCompileString

https://scsynth.org/t/post-entire-array-without-trailing-off-with-etc/351

Note the PS about Archive, too. I think it could be useful for your scenario

Cheers,
eddi

--
https://soundcloud.com/all-n4tural/sets/spotlight
https://alln4tural.bandcamp.com

On 26/04/2021, 17:58 [email protected] wrote:

Supercollider does this thing where when you write a long array to a file, it only writes out some of the values of the array, before saying '...etc...'. For example, if I wanted to save a long array with 1000 values to a file, it might do something like '[x1, x2, x3, xn, ...etc...'. The problem with this is that I cannot then access the array from the file, since those values are lost. Does anybody know a workaround to this issue?

I should also note that what I'm trying to do is save presets of a gui to a file on my computer, so that I can access those files and they'll set the parameters of the gui.

Thanks,

Drew

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/