Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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) # 
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 # 
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