Safe Haskell | None |
---|
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.
- d_recv' :: Message -> Synthdef -> Message
- d_load' :: Message -> String -> Message
- d_loadDir' :: Message -> String -> Message
- b_alloc' :: Message -> Int -> Int -> Int -> Message
- b_allocRead' :: Message -> Int -> String -> Int -> Int -> Message
- b_allocReadChannel' :: Message -> Int -> String -> Int -> Int -> [Int] -> Message
- b_free' :: Message -> Int -> Message
- b_close' :: Message -> Int -> Message
- b_read' :: Message -> Int -> String -> Int -> Int -> Int -> Bool -> Message
- b_readChannel' :: Message -> Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message
- b_write' :: Message -> Int -> String -> String -> String -> Int -> Int -> Bool -> Message
- b_zero' :: Message -> Int -> Message
Synthdef handling
d_recv' :: Message -> Synthdef -> MessageSource
Install a bytecode instrument definition. (Asynchronous)
d_load' :: Message -> String -> MessageSource
Load an instrument definition from a named file. (Asynchronous)
d_loadDir' :: Message -> String -> MessageSource
Load a directory of instrument definitions files. (Asynchronous)
Buffer allocation
b_alloc' :: Message -> Int -> Int -> Int -> MessageSource
Allocates zero filled buffer to number of channels and samples. (Asynchronous)
b_allocRead' :: Message -> Int -> String -> Int -> Int -> MessageSource
Allocate buffer space and read a sound file. (Asynchronous)
b_allocReadChannel' :: Message -> Int -> String -> Int -> Int -> [Int] -> MessageSource
Allocate buffer space and read a sound file, picking specific channels. (Asynchronous)
b_close' :: Message -> Int -> MessageSource
Close attached soundfile and write header information. (Asynchronous)
Buffer reading
b_read' :: Message -> Int -> String -> Int -> Int -> Int -> Bool -> MessageSource
Read sound file data into an existing buffer. (Asynchronous)
b_readChannel' :: Message -> Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> MessageSource
Read sound file data into an existing buffer. (Asynchronous)
Buffer writing
b_write' :: Message -> Int -> String -> String -> String -> Int -> Int -> Bool -> MessageSource
Write sound file data. (Asynchronous)