vivid-0.5.2.0: Sound synthesis with SuperCollider
Safe HaskellNone
LanguageHaskell2010

Vivid.UGens.InOut

Synopsis

Documentation

diskOut :: ToSig s a => BufferId -> [s] -> SDBody' a [Signal] Source #

buf is a temporary buffer to accumulate before writing.

"NOTE: The Buffer's numFrames must be a power of two and is recommended to be at least 65536 -- preferably 131072 or 262144. Smaller buffer sizes mean more frequent disk access, which can cause glitches."

65536 == 2 ^ 16 131072 == 2 ^ 17 262144 == 2 ^ 18

For ease of use with sd this has output type "[Signal]", but the list is always empty

aIn :: Args '["bus"] '[] a => a -> SDBody a Signal Source #

kIn :: Args '["bus"] '[] a => a -> SDBody a Signal Source #

localOut :: ToSig s as => [s] -> SDBody' as () Source #

out :: (ToSig i a, ToSig busNum a) => busNum -> [i] -> SDBody' a [Signal] Source #

out' :: (Elem "out" a, ToSig i a) => [i] -> SDBody' a [Signal] Source #

aOut :: (ToSig i a, ToSig busNum a) => busNum -> [i] -> SDBody' a [Signal] Source #

replaceOut :: (ToSig i a, ToSig busNum a) => busNum -> [i] -> SDBody' a [Signal] Source #

soundIn :: Args '["bus"] '[] a => a -> SDBody a Signal Source #

Audio bus input (usually mic)