Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- encode_blob :: PacketOf Message -> Datum
- d_recv :: PacketOf Message -> Synthdef -> Message
- d_load :: PacketOf Message -> String -> Message
- d_loadDir :: PacketOf Message -> String -> Message
- b_alloc :: PacketOf Message -> Int -> Int -> Int -> Message
- b_allocRead :: PacketOf Message -> Int -> String -> Int -> Int -> Message
- b_allocReadChannel :: PacketOf Message -> Int -> String -> Int -> Int -> [Int] -> Message
- b_free :: PacketOf Message -> Int -> Message
- b_close :: PacketOf Message -> Int -> Message
- b_read :: PacketOf Message -> Int -> String -> Int -> Int -> Int -> Bool -> Message
- b_readChannel :: PacketOf Message -> Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message
- b_write :: PacketOf Message -> Int -> String -> SoundFileFormat -> SampleFormat -> Int -> Int -> Bool -> Message
- b_zero :: PacketOf Message -> Int -> Message
Documentation
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_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)