vivid-0.1.0.3: Sound synthesis with SuperCollider

Safe HaskellSafe-Inferred
LanguageHaskell98
Extensions
  • UndecidableInstances
  • IncoherentInstances
  • TypeSynonymInstances
  • FlexibleInstances

Vivid.SynthDef.CrazyTypes

Description

Our IncoherentInstances + UndecidableInstances sin bin, for everything that needs crazy type hacks

Most of this is just to get numbers defaulting to Floats in a useful way in SynthDefs

We keep these separated so everything that doesn't need IncoherentInstances can live in Sanity Land

Synopsis

Documentation

class ToSig s where Source

Methods

toSig :: s -> Signal Source

Instances

ToSig String 
(Num a, Real a) => ToSig a

For Constant (Float) values

ToSig Signal 

class ToSigM s where Source

Methods

toSigM :: s -> SDState Signal Source

Instances