SynthFM

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

compute
void compute(uint nframes)
Undocumented in source. Be warned that the author may not have intended to support it.
noteoff
void noteoff(int note, int vel)
Undocumented in source. Be warned that the author may not have intended to support it.
noteon
void noteon(int note, int vel)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

GAIN
enum GAIN;
Undocumented in source.
POLY
enum POLY;
Undocumented in source.

Static functions

envelope
double envelope(int* note_active, int gate, double* env_level, double t, double attack, double decay, double sustain, double release)
attack
double attack;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buf
short[] buf;
decay
double decay;
env_level
double[POLY] env_level;
env_time
double[POLY] env_time;
gate
int[POLY] gate;
Undocumented in source.
harmonic
int harmonic;
modulation
double modulation;
Undocumented in source.
note
int[POLY] note;
note_active
int[POLY] note_active;
Undocumented in source.
phi
double[POLY] phi;
phi_mod
double[POLY] phi_mod;
Undocumented in source.
pitch
double pitch;
rate
int rate;
release
double release;
Undocumented in source.
srate
double srate;
subharmonic
int subharmonic;
sustain
double sustain;
transpose
int transpose;
velocity
double[POLY] velocity;
Undocumented in source.

Meta