csound-expression-3.2.1: library to make electronic music

Safe HaskellNone

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

setRates :: Int -> Int -> OptionsSource

Sets sample rate and block size

 setRates sampleRate blockSize

setBufs :: Int -> Int -> OptionsSource

Sets hardware and software buffers.

 setBufs hardwareBuf ioBuf

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 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