hsc3-server-0.8.0: SuperCollider server resource management and synchronization.

Safe HaskellNone

Sound.SC3.Server.State.Monad.Process

Contents

Synopsis

Documentation

withTransportSource

Arguments

:: ServerOptions

General server options

-> RTOptions

Realtime server options

-> Maybe String

Host to connect to (defaults to localhost)

-> Server a

Action to execute

-> IO a

Action result

Open a transport to an existing scsynth process determined by networkPort and run the supplied Server action.

withSynthSource

Arguments

:: ServerOptions

General server options

-> RTOptions

Realtime server options

-> OutputHandler

Output handler

-> Server a

Action to execute

-> IO a

Action result

Start an scsynth instance and run the supplied Server action.

When the action returns, scsynth will quit.

withDefaultSynth :: Server a -> IO aSource

Start an scsynth instance with default options and run the supplied Server action.

Re-exported for convenience