csound-expression-5.2.2: 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)] }
scaleUI    = (1, 1)

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

Realtime Audio Input/Output

MIDI File Input/Ouput

MIDI Realtime Input/Ouput

Display

Performance Configuration and Control