Safe Haskell | None |
---|---|
Language | Haskell98 |
Csound.Options
Contents
- data Options :: * = Options {}
- setDur :: Sigs a => D -> a -> a
- setRates :: Int -> Int -> Options
- setBufs :: Int -> Int -> Options
- setGain :: Double -> Options
- setJack :: String -> Options
- setOutput :: String -> Options
- setInput :: String -> Options
- setDac :: Options
- setAdc :: Options
- setDacBy :: String -> Options
- setAdcBy :: String -> Options
- setThru :: Options
- setSilent :: Options
- setMidiDevice :: String -> Options
- setMa :: Options
- data Flags :: * = Flags {}
- data AudioFileOutput :: * = AudioFileOutput {
- formatSamples :: Maybe FormatSamples
- formatType :: Maybe FormatType
- output :: Maybe String
- input :: Maybe String
- nosound :: Bool
- nopeaks :: Bool
- dither :: Maybe Dither
- data FormatHeader :: *
- data FormatSamples :: *
- data FormatType :: *
- data Dither :: *
- data IdTags :: * = IdTags {}
- data Rtaudio :: *
- data PulseAudio :: * = PulseAudio {}
- data MidiIO :: * = MidiIO {}
- data MidiRT :: * = MidiRT {
- midiDevice :: Maybe String
- midiKey :: Maybe Int
- midiKeyCps :: Maybe Int
- midiKeyOct :: Maybe Int
- midiKeyPch :: Maybe Int
- midiVelocity :: Maybe Int
- midiVelocityAmp :: Maybe Int
- midiOutDevice :: Maybe String
- data Rtmidi :: *
- data Displays :: * = Displays {
- csdLineNums :: Maybe Int
- displayMode :: Maybe DisplayMode
- displayHeartbeat :: Maybe Int
- messageLevel :: Maybe Int
- mAmps :: Maybe Int
- mRange :: Maybe Int
- mWarnings :: Maybe Int
- mDb :: Maybe Int
- mColours :: Maybe Int
- mBenchmarks :: Maybe Int
- msgColor :: Bool
- displayVerbose :: Bool
- listOpcodes :: Maybe Int
- data DisplayMode :: *
- data Config :: * = Config {}
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 | |
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
setMidiDevice :: String -> Options Source
Sets midi device
Flags
Csound's command line flags. See original documentation for detailed overview: http://www.csounds.com/manual/html/CommandFlagsCategory.html
data Flags :: *
Constructors
Flags | |
Fields
|
Audio file output
data AudioFileOutput :: *
Constructors
AudioFileOutput | |
Fields
|
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
Realtime Audio Input/Output
data Rtaudio :: *
Constructors
PortAudio | |
Alsa | |
Jack | |
Fields
| |
Mme | |
CoreAudio | |
NoRtaudio |
data PulseAudio :: *
Instances
MIDI File Input/Ouput
data MidiIO :: *
Constructors
MidiIO | |
Fields
|
MIDI Realtime Input/Ouput
data MidiRT :: *
Constructors
MidiRT | |
Fields
|
data Rtmidi :: *
Constructors
PortMidi | |
AlsaMidi | |
CoreMidi | |
MmeMidi | |
WinmmeMidi | |
VirtualMidi | |
NoRtmidi |
Display
data Displays :: *
Constructors
Displays | |
Fields
|