Configure and boot SATIE#

First, we create a SatieConfiguration, then, we create a Satie with this configuration and boot it.

SatieConfiguration needs to be given a Server and at least one listeningFormat. Here, we give it the default Server and a stereo spatializer.

~config = SatieConfiguration(s, [\stereoListener]);

SatieConfiguration should have set its server’s number of output channels. stereoListener has 2 output channels, therefore the server should have 2 outputs.

~config.server.options.numOutputBusChannels

If needed, other server options can be set through SatieConfiguration.

~config.server.options.numWireBufs = 2048;
~config.server.options.memSize = 1024 * 256;

SatieConfiguration scans SATIE’s plugin folders and collects the plugins in its dictionaries.

~config.sources;
~config.effects;
~config.spatializers;
~config.hoa;
~config.mappers;
~config.postprocessors;
~config.monitoring;

An instance of SATIE can be created using this configuration. During boot, SynthDefs for all of its plugins will be generated. Once booted, SATIE will start listening to incoming OSC messages.

~satie = Satie(~config);
~satie.boot;

SATIE can be stopped using the ‘quit’ method. This will clean up after itself.

~satie.quit;