This is the main entry class into the SATIE audio rendering system. It relies on SatieConfiguration
Creates a new Satie renderer
satieConfiguration |
An instance of SatieConfiguration. Leaving this argument |
execFile |
Optional. (String): path to a |
Returns SATIE's current status as a Symbol
. There are 4 possible statuses:
\initialized
after SATIE has quit.The SatieConfiguration object used by an instance of Satie. Allows access to settings and can be used to alter configurations prior to -boot.
The primary method for starting SATIE. Calls Server: -boot on the server and initializes SATIE.
Returns true
if SATIE is booted and ready to be used, false
otherwise.
Evaluate onComplete
as soon as SATIE is booted and ready. This method will wait for booting to finish, or boot SATIE then wait if booting is not already in progress. If SATIE is already booted, it will evaluate the onComplete
function immediately. See Server: -waitForBoot.
onComplete |
A function to be executed after SATIE has finished booting. |
Quits and then immediately reboots SATIE. If SATIE was not booted, this method will call Satie: -boot.
Configure SATIE to use a different SatieConfiguration. If SATIE is booted, calling reconfigure
will re-init SATIE using the new configuration and then reboot.
configuration |
An instance of SatieConfiguration that will be used as the new configuration. |
Similar to Satie: -reconfigure, but instead of passing a SatieConfiguration directly, this method takes a path to a JSON file as argument.
path |
A path to a JSON file that contains a valid SATIE configuration. For an example, see SatieConfiguration: JSON Configuration. |
Similar to Satie: -reconfigure, but instead of passing a SatieConfiguration directly, this method takes stringified JSON as an argument.
string |
Stringified JSON that contains a valid SATIE configuration. For an example, see SatieConfiguration: JSON Configuration. |
Instantiate a compiled synthdef (audio source or effect) and insert a reference into the groupInstances dictionary.
name |
Symbol: a unique name by which the audio source or effect will be recognizable by SATIE |
synthDefName |
Symbol: the name of the synth definition (see Satie: -makeSynthDef below) |
group |
Symbol: the name of the group to place the audio source or effect in. |
synthArgs |
Array: Synth properties to be taken into account at instantiation time. All settable synth properties can be manipulated via the standard set message provided by Synth instance. |
a Synth
A convenience method to set instances and groups' control parameters. This method will try to identify if the instance reffers to a group or instance and act accordingly.
instance |
Name of the instance. If group, it will set the control parameters to the entire group. |
control |
an array with the control parameters, writen in key/value pairs. |
group |
Optional argument to specify the group. |
Holds a path to the file that is exectud upon SATIE boot.
Replaces post-processor pipeline at the output of the spatializer.
pipeline |
a list of symbols representing the post-processor names. See SatiePlugins and Plugins for more information on SATIE plugins |
outputIndex |
Output channel index from which this post-processor will take effect, default 0 |
spatializerNumber |
Index number of the spatializer to which the post-process will be attached. Default 0 |
synthArgs |
An array of arguments, if any |
a SynthDescLib containing the SynthDefs generated by Satie.
Clone a process
processName |
The name of the process |
a clone of the process
(see an example of processes in Processes)
Instantiate a Synth that frees itself when it becomes silent. Makes use of DetectSilence.
synthDefName |
Symbol: the name of the synth definition (see Satie: -makeSynthDef) |
group |
Symbol: the name of the group to place the audio source or effect in. |
synthArgs |
Array: Synth properties to be taken into account at instantiation time. All settable synth properties can be manipulated via the standard set message provided by Synth instance. |
a Synth
A SATIE group is a dictionary that holds references to instantiated audio objects. It is particularly useful for changing properties on many objects with one message.
name |
Symbol: the group's name |
addAction |
defines where this group will placed within the chain of existing groups. |
Remove the synth instance (audio source or effect)
name |
Symbol: name of the instance |
group |
Symbol: from which group This method does not return. |
Instance variable that holds the name of the curently used spatializer.
Symbol
Creates a process. See Processes for an example about processes.
processName |
Name of process as Symbol. See Processes for an example about processes. |
env |
String: the Environment source (see Processes) |
Loads an audio sample into a Buffer and stores it inside the Satie: -audioSamples dictionary.
name |
Symbol: the chosen name for this Buffer. |
path |
String: the path of the audio sample file to be loaded. |
A dictionary of audio sample Buffers. Audio samples loaded into Satie via Satie: -loadSample will be stored here.
Remove a SATIE group.
name |
Symbol: the name of the group. |
Stop processing an instance but do not destroy it (sends it release() message).
name |
Symbol: the name of the instance. |
group |
Symbol: the name of the group. This method does not return. |
Turn on debug posting for SATIE
Enables SATIE's heartbeat message which indicates that SATIE is booted. The OSC message /satie.heartbeat
is sent to SATIE's responder address twice a second. This message is triggered whenever SATIE's Server sends out a /status.reply
message after SATIE has finished booting.
bool |
A Boolean value which turns this feature On/Off. SATIE defaults to having it turned Off. |
Calls SatieFactory: makeSynthDef method and creates references to compiled SynthDefs for use with the configured spatializers.
name |
(Symbol) The SynthDef's unique name on the server |
srcName |
(Symbol) The name of the source (see Plugins) |
srcPreToBusses |
(Array) Passed to pre-process busses (see SatieFactory) |
srcPostToBusses |
(Array) Passed to post-process busses (see SatieFactory) |
srcPreMonitorFuncsArray |
(Array) Analysis/Monitoring plugins to be wrapped in the SynthDef (see SatieFactory and Plugins) |
spatSymbolArray |
(Array) Passed to spatialiser array (see SatieFactory) |
firstOutputIndexes |
(Array) A list of output bus objects or integer channel indexes for each |
paramsMapper |
(Array) Parameter mapper plugins (see SatieFactory) |
synthArgs |
Custom synth arguments passed to SatieFactory |
Calls SatieFactory: makeAmbi method and creates references to compiled SynthDefs for use with ambisonic spatialization methods.
name |
(Symbol) The SynthDef's unique name on the server |
srcName |
(Symbol) The name of the source (see Plugins) |
preBusArray |
(Array) Passed to pre-process busses |
postBusArray |
(Array) Passed to post-process busses |
srcPreMonitorFuncsArray |
(Array) Analysis/Monitoring plugins to be wrapped in the SynthDef (see Plugins) |
ambiOrder |
(int) Ambisonic Order |
ambiEffectPipeline |
(Array) A pipeline of ambisonic effects |
ambiBus |
(Bus) An audio Bus on which to output the Ambisonic B-format signal. The Bus must have the correct number of channels for the specified |
paramsMapper |
(Array) Parameter mapper plugins |
synthArgs |
Custom synth arguments passed to SatieFactory |
Calls SatieFactory: makeAmbiFromMono method and creates references to compiled SynthDefs for use with ambisonic spatialization methods.
name |
(Symbol) The SynthDef's unique name on the server |
srcName |
(Symbol) The name of the source (see Plugins) |
preBusArray |
(Array) Passed to pre-process busses |
postBusArray |
(Array) Passed to post-process busses |
srcPreMonitorFuncsArray |
(Array) Analysis/Monitoring plugins to be wrapped in the SynthDef (see Plugins) |
hoaEncoderType |
(Symbol) The HOA encoder type to be used by this specific SynthDef. Can be either |
ambiOrder |
(int) Ambisonic Order |
ambiEffectPipeline |
(Array) A pipeline of ambisonic effects |
ambiBus |
(Bus) An audio Bus on which to output the Ambisonic B-format signal. The Bus must have the correct number of channels for the specified |
paramsMapper |
(Array) Parameter mapper plugins |
synthArgs |
Custom synth arguments passed to SatieFactory |
Remove a process from the pipeline and clear its references.
processName |
(Symbol) The name (id) of the process |
Post-processor example