csound-expression-4.6: library to make electronic music

Safe HaskellNone
LanguageHaskell98

Csound.Control.Channel

Contents

Description

Named channels.

With named channels we can read and write values to the variables with dynamic names. We can specify the variable with string (Str).

Csound has an C api wich is ported to many languages. With named channels we can interact with csound that runns a program. We can read and write to named channels from another program.

Synopsis

Getters

chnGetD :: Str -> SE D

Reads a value of type double.

chnGetSig :: Str -> SE Sig

Reads an audio signal.

chnGetCtrl :: Str -> SE Sig

Reads a control signal. The control signals are updated at the lower rate.

chnGetStr :: Str -> SE Str

Reads a string.

Setters

chnSetD :: D -> Str -> SE ()

Writes a value of type double.

chnSetSig :: Sig -> Str -> SE ()

Writes an audio signal.

chnSetCtrl :: Sig -> Str -> SE ()

Writes a control signal. The control signals are updated at the lower rate.

chnSetStr :: Str -> Str -> SE ()

Writes a string.