csound-expression-4.9.1: library to make electronic music

Safe HaskellNone
LanguageHaskell98

Csound.Options

Contents

Synopsis

Documentation

data Options :: *

Csound options. The default values are

flags      = def     -- the only flag set by default is "no-displays" 
                     -- to supress the display of the tables
sampleRate = 44100
blockSize  = 64
gain       = 0.5
tabFi      = fineFi 13 [(idLins, 11), (idExps, 11), (idConsts, 9), (idSplines, 11), (idStartEnds, 12)] }

Constructors

Options 

Fields

csdFlags :: Flags

Csound command line flags

csdSampleRate :: Maybe Int

The sample rate

csdBlockSize :: Maybe Int

The number of audio samples in one control step

csdGain :: Maybe Double

A gain of the final output

csdTabFi :: Maybe TabFi

Default fidelity of the arrays

Shortcuts

setDur :: Sigs a => D -> a -> a

Sets the global duration of the file or output signal to the given value. It should be used only once! The proper place is in the top-most expression before sending to dac or writeWav.

setRates :: Int -> Int -> Options Source

Sets sample rate and block size

setRates sampleRate blockSize

setBufs :: Int -> Int -> Options Source

Sets hardware and software buffers.

setBufs hardwareBuf ioBuf

setSilent :: Options Source

Sets the output to nosound.

setMidiDevice :: String -> Options Source

Sets midi device

setMa :: Options Source

Sets midi device to all.

Flags

Csound's command line flags. See original documentation for detailed overview: http://www.csounds.com/manual/html/CommandFlagsCategory.html

Audio file output

data FormatHeader :: *

Constructors

NoHeader 
RewriteHeader 

data FormatSamples :: *

Instances

data FormatType :: *

Constructors

Aiff 
Au 
Avr 
Caf 
Flac 
Htk 
Ircam 
Mat4 
Mat5 
Nis 
Paf 
Pvf 
Raw 
Sd2 
Sds 
Svx 
Voc 
W64 
Wav 
Wavex 
Xi 

Instances

data Dither :: *

Constructors

Triangular 
Uniform 

Instances

Realtime Audio Input/Output

data PulseAudio :: *

Constructors

PulseAudio 

Instances

MIDI File Input/Ouput

MIDI Realtime Input/Ouput

Display

Performance Configuration and Control