Csound and CsoundAC API  5.17
Data Fields
mchnblk Struct Reference

#include <csoundCore.h>

Data Fields

MYFLT aftouch
 channel pressure (0-127)
MYFLT ctl_val [136]
 ...
int datenabl
DPARMdparms
 drumset params
int dplsb
int dpmsb
int16 insno
 instrument number assigned to this channel
struct insdskinsptr [128]
 list of active notes (NULL: not active)
DKLSTklists
 chain of dpgm keylists
int16 ksuscnt
 number of held (sustaining) notes
int16 mono
MONPCHmonobas
MONPCHmonocur
MYFLT pbensens
 pitch bend sensitivity in semitones
MYFLT pchbend
 pitch bend (-1 to 1)
int16 pgm2ins [128]
 program change to instr number (<=0: ignore)
int16 pgmno
 most recently received program change
MYFLT polyaft [128]
 polyphonic pressure indexed by note number
int16 RegParNo
int16 sustaining
 current state of sustain pedal (0: off)

Field Documentation

MYFLT mchnblk::aftouch

channel pressure (0-127)

MYFLT mchnblk::ctl_val[136]

...

with GS vib_rate, stored in c128-c135

int mchnblk::datenabl
DPARM* mchnblk::dparms

drumset params

int mchnblk::dplsb
int mchnblk::dpmsb
int16 mchnblk::insno

instrument number assigned to this channel

struct insds* mchnblk::kinsptr[128]

list of active notes (NULL: not active)

DKLST* mchnblk::klists

chain of dpgm keylists

int16 mchnblk::ksuscnt

number of held (sustaining) notes

int16 mchnblk::mono
MONPCH* mchnblk::monobas
MONPCH* mchnblk::monocur
MYFLT mchnblk::pbensens

pitch bend sensitivity in semitones

MYFLT mchnblk::pchbend

pitch bend (-1 to 1)

int16 mchnblk::pgm2ins[128]

program change to instr number (<=0: ignore)

int16 mchnblk::pgmno

most recently received program change

MYFLT mchnblk::polyaft[128]

polyphonic pressure indexed by note number

int16 mchnblk::RegParNo
int16 mchnblk::sustaining

current state of sustain pedal (0: off)