Safe Haskell | None |
---|
The unit-generator graph structure implemented by the SuperCollider synthesis server.
- synth :: UGen -> Graph
- data Synthdef = Synthdef {}
- synthdef :: String -> UGen -> Synthdef
- defaultSynthdef :: Synthdef
- synthdefParam :: Synthdef -> [String]
- graphdef :: Graph -> Graphdef
- ugenIndices :: String -> Graph -> [Integer]
- synthdefData :: Synthdef -> Graphdef
- synthdefWrite :: Synthdef -> FilePath -> IO ()
- synthstat :: UGen -> String
Documentation
Transform a unit generator into a graph.
import Sound.SC3.UGen synth (out 0 (pan2 (sinOsc AR 440 0) 0.5 0.1))
Binary representation of a unit generator synth definition.
defaultSynthdef :: SynthdefSource
The SC3 default instrument Synthdef
.
synthdefParam :: Synthdef -> [String]Source
Parameter names at Synthdef
.
synthdefParam def == ["amp","pan","gate","freq"]
ugenIndices :: String -> Graph -> [Integer]Source
synthdefData :: Synthdef -> GraphdefSource
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
).