Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Synth.Faust.Effect

Description

High level binding to faust dsps, treated as audio effect processors.

Synopsis

Documentation

type Patch = EffectT PatchP () Source #

A patch can be used to create EffectC.Effects.

data EffectT ptr cptr Source #

Instances

Instances details
(Show cptr, Show ptr) => Show (EffectT ptr cptr) Source # 
Instance details

Defined in Synth.Faust.EffectC

Methods

showsPrec :: Int -> EffectT ptr cptr -> ShowS #

show :: EffectT ptr cptr -> String #

showList :: [EffectT ptr cptr] -> ShowS #

data Config Source #

Constructors

Config 

Fields

Instances

Instances details
Show Config Source # 
Instance details

Defined in Synth.Faust.Effect

controlRate :: Config -> Int Source #

Control signals run at this rate.

This should divide into Config.blockSize, which in turn divides into Config.SamplingRate.

process Source #

Arguments

:: Config 
-> Patch 
-> Maybe EffectC.State 
-> (EffectC.State -> IO ())

notify new state after each audio chunk

-> Map Control.Control AUtil.Audio1 
-> AUtil.Audio 
-> AUtil.Audio