previous up next
Synthesizer



(global-synthesizer)

Returns a reference the global synthesizer object.



(start)

Sets the synthesizer to playing.



(pause)

Sets the synthesizer to paused. The clock is not reset, and the active synthesis processes are not killed. A subsequent call the start will continue the synthesis.



(stop)

Sets the synthesizer to stopped. The clock is reset to zero, and the active synthesis processes are killed.



(get-media-unit)

Returns the number of samples that have been synthesized. This number is not necessarily equal to the number of samples played due to internal buffering.



(get-media-time)

Returns the current media time in seconds. The current media time is calculated from the number of synthesized samples.



(add id sp)

Adds the synthesis process sp to the set of active synthesis processes. Give sp the identification number id.



(kill id1 id2 ...)

Kills the active synthesis processes with identification numbers id1 , id2, ... .



(kill-all)

Kills all active synthesis processes.



(print)

Prints the identification numbers and class type of all active synthesis processes.



(load-settings)

Loads the current settings. The sound output is closed and a new one is opened with the current settings. It is an error to call the procedure when the synthesizer is not stopped.

previous up next