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 :: Packet -> Datum
- d_recv :: Packet -> Synthdef -> Message
- d_load :: Packet -> String -> Message
- d_loadDir :: Packet -> String -> Message
- b_alloc :: Packet -> Int -> Int -> Int -> Message
- b_allocRead :: Packet -> Int -> String -> Int -> Int -> Message
- b_allocReadChannel :: Packet -> Int -> String -> Int -> Int -> [Int] -> Message
- b_free :: Packet -> Int -> Message
- b_close :: Packet -> Int -> Message
- b_read :: Packet -> Int -> String -> Int -> Int -> Int -> Bool -> Message
- b_readChannel :: Packet -> Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message
- b_write :: Packet -> Int -> String -> SoundFileFormat -> SampleFormat -> Int -> Int -> Bool -> Message
- b_zero :: Packet -> Int -> Message
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_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)