Safe Haskell | Safe-Inferred |
---|
High level binding to faust dsps, treated as audio effect processors.
Synopsis
- type Patch = EffectT PatchP ()
- data EffectT ptr cptr
- data Config = Config {
- _blockSize :: !Frames
- _controlSize :: !Frames
- _controlsPerBlock :: !Frames
- _maxDecay :: !Frames
- controlRate :: Config -> Int
- config :: Frames -> Frames -> Config
- process :: Config -> Patch -> Maybe EffectC.State -> (EffectC.State -> IO ()) -> Map Control.Control AUtil.Audio1 -> AUtil.Audio -> AUtil.Audio
Documentation
Config | |
|
controlRate :: Config -> Int Source #
Control signals run at this rate.
This should divide into Config.blockSize, which in turn divides into Config.SamplingRate.
:: Config | |
-> Patch | |
-> Maybe EffectC.State | |
-> (EffectC.State -> IO ()) | notify new state after each audio chunk |
-> Map Control.Control AUtil.Audio1 | |
-> AUtil.Audio | |
-> AUtil.Audio |