hsc3-0.21: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Server.Command.Plain.Completion

Description

This module provides variations of the asynchronous server commands that expect a completion packet as the first argument. The completion packet is executed by the server when the asynchronous command has finished. Note that this mechanism is for synchronizing server side processes only, for client side synchronization use /done message notification or the /sync barrier.

Synopsis

Documentation

encode_blob :: PacketOf Message -> Datum Source #

Encode an Osc packet as an Osc blob.

d_recv :: PacketOf Message -> Synthdef -> Message Source #

Install a bytecode instrument definition. (Asynchronous)

d_load :: PacketOf Message -> String -> Message Source #

Load an instrument definition from a named file. (Asynchronous)

d_loadDir :: PacketOf Message -> String -> Message Source #

Load a directory of instrument definitions files. (Asynchronous)

b_alloc :: PacketOf Message -> Int -> Int -> Int -> Message Source #

Allocates zero filled buffer to number of channels and samples. (Asynchronous)

b_allocRead :: PacketOf Message -> Int -> String -> Int -> Int -> Message Source #

Allocate buffer space and read a sound file. (Asynchronous)

b_allocReadChannel :: PacketOf Message -> Int -> String -> Int -> Int -> [Int] -> Message Source #

Allocate buffer space and read a sound file, picking specific channels. (Asynchronous)

b_free :: PacketOf Message -> Int -> Message Source #

Free buffer data. (Asynchronous)

b_close :: PacketOf Message -> Int -> Message Source #

Close attached soundfile and write header information. (Asynchronous)

b_read :: PacketOf Message -> Int -> String -> Int -> Int -> Int -> Bool -> Message Source #

Read sound file data into an existing buffer. (Asynchronous)

b_readChannel :: PacketOf Message -> Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message Source #

Read sound file data into an existing buffer. (Asynchronous)

b_write :: PacketOf Message -> Int -> String -> SoundFileFormat -> SampleFormat -> Int -> Int -> Bool -> Message Source #

Write sound file data. (Asynchronous)

b_zero :: PacketOf Message -> Int -> Message Source #

Zero sample data. (Asynchronous)