Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- diskOut :: ToSig s a => BufferId -> [s] -> SDBody' a [Signal]
- aIn :: Args '["bus"] '[] a => a -> SDBody a Signal
- kIn :: Args '["bus"] '[] a => a -> SDBody a Signal
- localIn :: Int -> SDBody' a [Signal]
- localOut :: ToSig s as => [s] -> SDBody' as ()
- out :: (ToSig i a, ToSig busNum a) => busNum -> [i] -> SDBody' a [Signal]
- out' :: (Elem "out" a, ToSig i a) => [i] -> SDBody' a [Signal]
- aOut :: (ToSig i a, ToSig busNum a) => busNum -> [i] -> SDBody' a [Signal]
- replaceOut :: (ToSig i a, ToSig busNum a) => busNum -> [i] -> SDBody' a [Signal]
- soundIn :: Args '["bus"] '[] a => a -> SDBody a Signal
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