Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

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.

asPatch :: Instrument -> Patch Source #

A Patch is just a const Instrument.

getPatches :: IO (Map Text Patch) Source #

Get all patches and their names.

getControls :: Patch -> IO [Control.Control] Source #

Get supported controls. The order is important, since it's the same order render expects to see them.

Instrument

render Source #

Arguments

:: Instrument 
-> Frames 
-> Frames 
-> [(Ptr Sample, Int)]

(control signal breakpoints, number of Samples)

-> IO [Vector.Storable.Vector Float] 

Render a note on the instrument, and return samples.