Safe Haskell | None |
---|---|
Language | Haskell2010 |
- quit :: OSC
- dumpOSC :: DumpOSCMode -> OSC
- data DumpOSCMode
- sync :: SyncId -> OSC
- clearSched :: OSC
- d_recv :: [LiteralSynthDef] -> Maybe OSC -> OSC
- d_load :: FilePath -> Maybe OSC -> OSC
- d_loadDir :: FilePath -> Maybe OSC -> OSC
- n_free :: NodeId -> OSC
- n_run :: NodeId -> Bool -> OSC
- n_set :: NodeId -> [(String, Either Int32 Float)] -> OSC
- addActionInt :: Integral i => AddAction -> i
- data AddAction
- s_new :: ByteString -> NodeId -> AddAction -> NodeId -> [(ByteString, Either Int32 Float)] -> OSC
- g_new :: NodeId -> AddAction -> NodeId -> OSC
- p_new :: NodeId -> AddAction -> NodeId -> OSC
- g_freeAll :: [NodeId] -> OSC
- b_alloc :: BufferId -> Int32 -> Int32 -> Maybe OSC -> OSC
- b_allocRead :: BufferId -> FilePath -> Int32 -> Maybe Int32 -> Maybe OSC -> OSC
- b_zero :: BufferId -> Maybe OSC -> OSC
- b_free :: BufferId -> Maybe OSC -> OSC
- b_close :: BufferId -> Maybe OSC -> OSC
- b_write :: BufferId -> FilePath -> String -> String -> Maybe Int32 -> Int32 -> Bool -> Maybe OSC -> OSC
Documentation
dumpOSC :: DumpOSCMode -> OSC Source #
data DumpOSCMode Source #
clearSched :: OSC Source #
d_recv :: [LiteralSynthDef] -> Maybe OSC -> OSC Source #
Send Synth Definitions to the server.
The second argument is an optional message to execute on completion.
addActionInt :: Integral i => AddAction -> i Source #
s_new :: ByteString -> NodeId -> AddAction -> NodeId -> [(ByteString, Either Int32 Float)] -> OSC Source #
Buffer commands
b_alloc :: BufferId -> Int32 -> Int32 -> Maybe OSC -> OSC Source #
Second and third arguments are number of frames and number of channels, respectively
b_allocRead :: BufferId -> FilePath -> Int32 -> Maybe Int32 -> Maybe OSC -> OSC Source #
The first Int32 is the starting frame to read (often this is zero);
the second is an optional number of frames to read (Nothing
means
the rest of the file is read)
b_write :: BufferId -> FilePath -> String -> String -> Maybe Int32 -> Int32 -> Bool -> Maybe OSC -> OSC Source #
First String is header format (e.g. "wav"), second String is sample format
(e.g. "float"). The (Maybe Int32) is number of frames to write (Nothing
writes to the end of the buffer), the Int32 that follows it is the start
frame (which is often zero). The Bool is whether to leave the file open.
More details (e.g. the available header and sample formats) are available in the SuperCollider docs.