| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Sound.SC3.Server.State.Monad.Process
Contents
- withTransport :: ServerOptions -> RTOptions -> Maybe String -> Server a -> IO a
- withSynth :: ServerOptions -> RTOptions -> OutputHandler -> Server a -> IO a
- withDefaultSynth :: Server a -> IO a
- module Sound.SC3.Server.Process
Documentation
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.
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 a Source
Start an scsynth instance with default options and run the supplied Server action.
Re-exported for convenience
module Sound.SC3.Server.Process