Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Synth.Faust.DriverC

Contents

Description

Low level binding to driver.cc.

Synopsis

Documentation

type Patch = Ptr DspP Source #

A patch can be used to create Instruments.

type Instrument = Ptr DspI Source #

An allocated patch.

getPatches :: IO (Map Types.PatchName Patch) Source #

Get all patches and their names.

getControls Source #

Arguments

:: Patch 
-> IO (Text, [(Control.Control, Text)])

patch description, control names in their input order

Get control names and docs from the faust metadata.

The convention is that controls are called declare control#_name "Doc.". The # is so they sort in the same order as the input signals to which they correspond.

Instrument

render :: Instrument -> Frames -> Frames -> [(Ptr Sample, Int)] -> IO [Vector.Storable.Vector Float] Source #