csound-expression-5.0.0: 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

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 FormatType :: * #

Constructors

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

data Dither :: * #

Constructors

Triangular 
Uniform 

Instances

Realtime Audio Input/Output

data Rtaudio :: * #

Instances

data PulseAudio :: * #

Constructors

PulseAudio 

Instances

MIDI File Input/Ouput

MIDI Realtime Input/Ouput

Display

Performance Configuration and Control