< Back to IRCAM Forum

How to save source positioning into the virtual scene in Spat5

Hey there,
I’d like to be able to move sources around from the spat5.oper and have them saved in that position so that when I open the patch again they in the same space I moved them to. Ideally, I’d like to store these info in an external file like a json so that I can change pc without having issues. Could you help me? Thanks!

Hello,
There are different ways to save/restore the state of Spat5 objects; have a look at the “spat5.tuto-osc-2.maxpat” tutorial.
One of the simplest approach is to use “@embed 1”. But if you prefer using an external file, you might want to use the /preset/export and /preset/load messages.

Hope this helps,
T.