Safe Haskell | None |
---|---|
Language | Haskell98 |
Functions from Sound.SC3.Server.Command.Generic specialised to Int
and Double
.
- b_alloc :: Int -> Int -> Int -> Message
- b_allocRead :: Int -> String -> Int -> Int -> Message
- b_allocReadChannel :: Int -> String -> Int -> Int -> [Int] -> Message
- b_close :: Int -> Message
- b_free :: Int -> Message
- b_gen :: Int -> String -> [Datum] -> Message
- b_gen_copy :: Int -> Int -> Int -> Int -> Maybe Int -> Message
- b_get :: Int -> [Int] -> Message
- b_getn :: Int -> [(Int, Int)] -> Message
- b_query :: [Int] -> Message
- b_read :: Int -> String -> Int -> Int -> Int -> Bool -> Message
- b_readChannel :: Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message
- b_write :: Int -> String -> SoundFileFormat -> SampleFormat -> Int -> Int -> Bool -> Message
- b_zero :: Int -> Message
- c_fill :: [(Int, Int, Double)] -> Message
- c_get :: [Int] -> Message
- c_getn :: [(Int, Int)] -> Message
- c_set :: [(Int, Double)] -> Message
- c_setn :: [(Int, [Double])] -> Message
- d_recv' :: Graphdef -> Message
- d_recv :: Synthdef -> Message
- d_load :: String -> Message
- d_loadDir :: String -> Message
- d_free :: [String] -> Message
- g_deepFree :: [Int] -> Message
- g_freeAll :: [Int] -> Message
- g_head :: [(Int, Int)] -> Message
- g_new :: [(Int, AddAction, Int)] -> Message
- g_tail :: [(Int, Int)] -> Message
- g_dumpTree :: [(Int, Bool)] -> Message
- g_queryTree :: [(Int, Bool)] -> Message
- n_after :: [(Int, Int)] -> Message
- n_before :: [(Int, Int)] -> Message
- n_fill :: Int -> [(String, Int, Double)] -> Message
- n_free :: [Int] -> Message
- n_map :: Int -> [(String, Int)] -> Message
- n_mapn :: Int -> [(String, Int, Int)] -> Message
- n_mapa :: Int -> [(String, Int)] -> Message
- n_mapan :: Int -> [(String, Int, Int)] -> Message
- n_query :: [Int] -> Message
- n_run :: [(Int, Bool)] -> Message
- n_set :: Int -> [(String, Double)] -> Message
- n_setn :: Int -> [(String, [Double])] -> Message
- n_trace :: [Int] -> Message
- n_order :: AddAction -> Int -> [Int] -> Message
- p_new :: [(Int, AddAction, Int)] -> Message
- s_get :: Int -> [String] -> Message
- s_getn :: Int -> [(String, Int)] -> Message
- s_noid :: [Int] -> Message
- u_cmd :: Int -> Int -> String -> [Datum] -> Message
- cmd :: String -> [Datum] -> Message
- clearSched :: Message
- dumpOSC :: PrintLevel -> Message
- errorMode :: ErrorScope -> ErrorMode -> Message
- notify :: Bool -> Message
- nrt_end :: Message
- quit :: Message
- status :: Message
- sync :: Int -> Message
- b_getn1 :: Int -> (Int, Int) -> Message
- b_query1 :: Int -> Message
- c_getn1 :: (Int, Int) -> Message
- c_set1 :: Int -> Double -> Message
- c_setn1 :: (Int, [Double]) -> Message
- n_set1 :: Int -> String -> Double -> Message
- s_new0 :: String -> Int -> AddAction -> Int -> Message
- b_segment :: Int -> Int -> [Int]
- b_indices :: Int -> Int -> Int -> [(Int, Int)]
- s_new :: String -> Int -> AddAction -> Int -> [(String, Double)] -> Message
- b_fill :: Int -> [(Int, Int, Double)] -> Message
- b_gen_sine1 :: Int -> [B_Gen] -> [Double] -> Message
- b_gen_sine2 :: Int -> [B_Gen] -> [(Double, Double)] -> Message
- b_gen_sine3 :: Int -> [B_Gen] -> [(Double, Double, Double)] -> Message
- b_gen_cheby :: Int -> [B_Gen] -> [Double] -> Message
- b_set :: Int -> [(Int, Double)] -> Message
- b_setn :: Int -> [(Int, [Double])] -> Message
- b_alloc_setn1 :: Int -> Int -> [Double] -> Message
- b_set1 :: Int -> Int -> Double -> Message
- b_setn1 :: Int -> Int -> [Double] -> Message
- pc_preparePartConv :: Int -> Int -> Int -> Message
Buffer commands (b_)
b_alloc :: Int -> Int -> Int -> Message Source
Allocates zero filled buffer to number of channels and samples. (Asynchronous)
b_allocRead :: Int -> String -> Int -> Int -> Message Source
Allocate buffer space and read a sound file. (Asynchronous)
b_allocReadChannel :: Int -> String -> Int -> Int -> [Int] -> Message Source
Allocate buffer space and read a sound file, picking specific channels. (Asynchronous)
b_close :: Int -> Message Source
Close attached soundfile and write header information. (Asynchronous)
b_read :: Int -> String -> Int -> Int -> Int -> Bool -> Message Source
Read sound file data into an existing buffer. (Asynchronous)
b_readChannel :: Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message Source
Read sound file data into an existing buffer, picking specific channels. (Asynchronous)
b_write :: Int -> String -> SoundFileFormat -> SampleFormat -> Int -> Int -> Bool -> Message Source
Write sound file data. (Asynchronous)
Control bus commands
Instrument definition commands (d_)
d_loadDir :: String -> Message Source
Load a directory of instrument definitions files. (Asynchronous)
Group node commands (g_)
g_deepFree :: [Int] -> Message Source
Free all synths in this group and all its sub-groups.
g_dumpTree :: [(Int, Bool)] -> Message Source
Post a representation of a group's node subtree, optionally including the current control values for synths.
g_queryTree :: [(Int, Bool)] -> Message Source
Request a representation of a group's node subtree, optionally including the current control values for synths.
Node commands (n_)
n_mapan :: Int -> [(String, Int, Int)] -> Message Source
Map a node's controls to read from audio buses.
Par commands (p_)
Synthesis node commands (s_)
Unit Generator commands (u_)
Server operation commands
Remove all bundles from the scheduling queue.
dumpOSC :: PrintLevel -> Message Source
Select printing of incoming Open Sound Control messages.
errorMode :: ErrorScope -> ErrorMode -> Message Source
Set error posting scope and mode.
Request /synced message when all current asynchronous commands complete.
Variants to simplify common cases
Buffer segmentation and indices
b_segment :: Int -> Int -> [Int] Source
Segment a request for m places into sets of at most n.
b_segment 1024 2056 == [8,1024,1024] b_segment 1 5 == replicate 5 1
b_indices :: Int -> Int -> Int -> [(Int, Int)] Source
Variant of b_segment
that takes a starting index and returns (index,size) duples.
b_indices 1 5 0 == zip [0..4] (replicate 5 1) b_indices 1024 2056 16 == [(16,8),(24,1024),(1048,1024)]
s_new :: String -> Int -> AddAction -> Int -> [(String, Double)] -> Message Source
Create a new synth.
b_gen_sine3 :: Int -> [B_Gen] -> [(Double, Double, Double)] -> Message Source
Call sine3
b_gen
command.
b_alloc_setn1 :: Int -> Int -> [Double] -> Message Source
Pre-allocate for b_setn1, values preceding offset are zeroed.