hsc3-0.20: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Server.Command.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 :: Packet -> Datum Source #

Encode an Osc packet as an Osc blob.

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

Install a bytecode instrument definition. (Asynchronous)

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

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

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

Load a directory of instrument definitions files. (Asynchronous)

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

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

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

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

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

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

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

Free buffer data. (Asynchronous)

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

Close attached soundfile and write header information. (Asynchronous)

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

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

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

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

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

Write sound file data. (Asynchronous)

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

Zero sample data. (Asynchronous)