Constructors for the command set implemented by the SuperCollider synthesis server.
- d_recv :: Synthdef -> OSC
- d_load :: String -> OSC
- d_loadDir :: String -> OSC
- d_free :: [String] -> OSC
- n_after :: [(Int, Int)] -> OSC
- n_before :: [(Int, Int)] -> OSC
- n_fill :: Int -> [(String, Int, Double)] -> OSC
- n_free :: [Int] -> OSC
- n_map :: Int -> [(String, Int)] -> OSC
- n_mapn :: Int -> [(String, Int, Int)] -> OSC
- n_mapa :: Int -> [(String, Int)] -> OSC
- n_mapan :: Int -> [(String, Int, Int)] -> OSC
- n_query :: [Int] -> OSC
- n_run :: [(Int, Bool)] -> OSC
- n_set :: Int -> [(String, Double)] -> OSC
- n_setn :: Int -> [(String, [Double])] -> OSC
- n_trace :: [Int] -> OSC
- n_order :: AddAction -> Int -> [Int] -> OSC
- s_get :: Int -> [String] -> OSC
- s_getn :: Int -> [(String, Int)] -> OSC
- data AddAction
- = AddToHead
- | AddToTail
- | AddBefore
- | AddAfter
- | AddReplace
- s_new :: String -> Int -> AddAction -> Int -> [(String, Double)] -> OSC
- s_noid :: [Int] -> OSC
- g_deepFree :: [Int] -> OSC
- g_freeAll :: [Int] -> OSC
- g_head :: [(Int, Int)] -> OSC
- g_new :: [(Int, AddAction, Int)] -> OSC
- g_tail :: [(Int, Int)] -> OSC
- g_dumpTree :: [(Int, Bool)] -> OSC
- g_queryTree :: [(Int, Bool)] -> OSC
- p_new :: [(Int, AddAction, Int)] -> OSC
- cmd :: String -> [Datum] -> OSC
- u_cmd :: Int -> Int -> String -> [Datum] -> OSC
- b_alloc :: Int -> Int -> Int -> OSC
- b_allocRead :: Int -> String -> Int -> Int -> OSC
- b_allocReadChannel :: Int -> String -> Int -> Int -> [Int] -> OSC
- b_close :: Int -> OSC
- b_fill :: Int -> [(Int, Int, Double)] -> OSC
- b_free :: Int -> OSC
- b_gen :: Int -> String -> [Double] -> OSC
- b_get :: Int -> [Int] -> OSC
- b_getn :: Int -> [(Int, Int)] -> OSC
- b_query :: [Int] -> OSC
- b_read :: Int -> String -> Int -> Int -> Int -> Bool -> OSC
- b_readChannel :: Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> OSC
- b_set :: Int -> [(Int, Double)] -> OSC
- b_setn :: Int -> [(Int, [Double])] -> OSC
- b_write :: Int -> String -> String -> String -> Int -> Int -> Bool -> OSC
- b_zero :: Int -> OSC
- c_fill :: [(Int, Int, Double)] -> OSC
- c_get :: [Int] -> OSC
- c_getn :: [(Int, Int)] -> OSC
- c_set :: [(Int, Double)] -> OSC
- c_setn :: [(Int, [Double])] -> OSC
- clearSched :: OSC
- data PrintLevel
- = NoPrinter
- | TextPrinter
- | HexPrinter
- | AllPrinter
- dumpOSC :: PrintLevel -> OSC
- notify :: Bool -> OSC
- quit :: OSC
- status :: OSC
- sync :: Int -> OSC
- data ErrorScope
- data ErrorMode
- errorMode :: ErrorScope -> ErrorMode -> OSC
- b_alloc_setn1 :: Int -> Int -> [Double] -> OSC
- b_set1 :: Int -> Int -> Double -> OSC
- b_setn1 :: Int -> Int -> [Double] -> OSC
- c_set1 :: Int -> Double -> OSC
- n_set1 :: Int -> String -> Double -> OSC
- async_cmds :: [String]
- isAsync :: OSC -> Bool
- withCM :: OSC -> OSC -> OSC
Instrument definition commands
Node commands
Synthesis node commands
Enumeration of possible locations to add new nodes (s_new and g_new).
Group node commands
g_deepFree :: [Int] -> OSCSource
Free all synths in this group and all its sub-groups.
g_dumpTree :: [(Int, Bool)] -> OSCSource
Post a representation of a group's node subtree, optionally including the current control values for synths.
g_queryTree :: [(Int, Bool)] -> OSCSource
Request a representation of a group's node subtree, optionally including the current control values for synths.
Replies to the sender with a /g_queryTree.reply
message listing all of the nodes contained within the group in the following format:
int - if synth control values are included 1, else 0 int - node ID of the requested group int - number of child nodes contained within the requested group For each node in the subtree: [ int - node ID int - number of child nodes contained within this node. If -1 this is a synth, if >= 0 it's a group. If this node is a synth: symbol - the SynthDef name for this node. If flag (see above) is true: int - numControls for this synth (M) [ symbol or int: control name or index float or symbol: value or control bus mapping symbol (e.g. 'c1') ] * M ] * the number of nodes in the subtree
N.B. The order of nodes corresponds to their execution order on the server. Thus child nodes (those contained within a group) are listed immediately following their parent.
Plugin commands
Unit Generator commands
Buffer commands
b_alloc :: Int -> Int -> Int -> OSCSource
Allocates zero filled buffer to number of channels and samples. (Asynchronous)
b_allocRead :: Int -> String -> Int -> Int -> OSCSource
Allocate buffer space and read a sound file. (Asynchronous)
b_allocReadChannel :: Int -> String -> Int -> Int -> [Int] -> OSCSource
Allocate buffer space and read a sound file, picking specific channels. (Asynchronous)
b_read :: Int -> String -> Int -> Int -> Int -> Bool -> OSCSource
Read sound file data into an existing buffer. (Asynchronous)
b_readChannel :: Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> OSCSource
Read sound file data into an existing buffer, picking specific channels. (Asynchronous)
b_write :: Int -> String -> String -> String -> Int -> Int -> Bool -> OSCSource
Write sound file data. (Asynchronous)
Control bus commands
Server operation commands
Remove all bundles from the scheduling queue.
data PrintLevel Source
Enumeration of OSC printer types.
dumpOSC :: PrintLevel -> OSCSource
Select printing of incoming Open Sound Control messages.
data ErrorScope Source
Error posting scope.
Error posting mode.
errorMode :: ErrorScope -> ErrorMode -> OSCSource
Set error posting scope and mode.
Variants to simplify common cases
b_alloc_setn1 :: Int -> Int -> [Double] -> OSCSource
Pre-allocate for b_setn1, values preceding offset are zeroed.
Modify existing message to include completion message
async_cmds :: [String]Source
List of asynchronous server commands.