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

Safe HaskellNone

Synth.Shared.Config

Description

Shared config to coordinate between the sequencer and im subsystems.

TODO Currently paths rely on you being in the right directory, but should probably have some more robust configuration at some point. Of course app_dir is just return . too.

Synopsis

Documentation

newtype Config Source #

Constructors

Config 

Instances

Eq Config # 

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

Show Config # 

data Synth Source #

Constructors

Synth 

Fields

Instances

Eq Synth # 

Methods

(==) :: Synth -> Synth -> Bool #

(/=) :: Synth -> Synth -> Bool #

Show Synth # 

Methods

showsPrec :: Int -> Synth -> ShowS #

show :: Synth -> String #

showList :: [Synth] -> ShowS #

dataDir :: FilePath Source #

All of the data files used by the Im backend are based in this directory. Everything in here should be temporary files, used for communication or caching.

samplingRate :: Int Source #

All im synths render at this sampling rate, and the sequencer sets the start time by it.