| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Sound.SC3.Server.Synthdef
Description
The unit-generator graph structure implemented by the SuperCollider synthesis server.
- data Synthdef = Synthdef {}
- synthdef :: String -> UGen -> Synthdef
- defaultSynthdef :: Synthdef
- defaultSampler :: Bool -> Synthdef
- synthdefGraph :: Synthdef -> Graph
- synthdefParam :: Synthdef -> [String]
- ugenIndices :: String -> Graph -> [Integer]
- synthdef_to_graphdef :: Synthdef -> Graphdef
- synthdefData :: Synthdef -> ByteString
- synthdefWrite :: Synthdef -> FilePath -> IO ()
- graph_stat :: Graph -> [String]
- synthstat' :: UGen -> [String]
- synthstat :: UGen -> String
Documentation
A named unit generator graph.
Constructors
| Synthdef | |
Fields
| |
defaultSynthdef :: Synthdef Source #
The SC3 default instrument Synthdef, see
default_ugen_graph.
import Sound.OSC {- hosc -}
import Sound.SC3 {- hsc3 -}
withSC3 (sendMessage (d_recv defaultSynthdef))
audition defaultSynthdefdefaultSampler :: Bool -> Synthdef Source #
The SC3 default sample (buffer) playback instrument Synthdef,
see default_sampler_ugen_graph.
withSC3 (sendMessage (d_recv (defaultSampler False))) audition (defaultSampler False)
synthdefGraph :: Synthdef -> Graph Source #
synthdefParam :: Synthdef -> [String] Source #
Parameter names at Synthdef.
synthdefParam defaultSynthdef == ["amp","pan","gate","freq","out"]
synthdefData :: Synthdef -> ByteString Source #
Encode Synthdef as a binary data stream.
synthdefWrite :: Synthdef -> FilePath -> IO () Source #
Write Synthdef to indicated directory. The filename is the
synthdefName with the appropriate extension (scsyndef).
graph_stat :: Graph -> [String] Source #
Simple statistical analysis of a unit generator graph.
synthstat' :: UGen -> [String] Source #