Go to the source code of this file.
Macros | |
#define | UNTIL_INTERRUPTED -1 |
Use as in Synthesizer::run(UNTIL_INTERUPTED) | |
#define | FADER_GAIN 20 |
The gain in the proportional control of fader target tracking. | |
#define | SAMPLE_RATE 44100 |
The sample rate of everything in yase. | |
#define | TS (1.0/SAMPLE_RATE) |
The duration of a sample. | |
#define | FRAMES_PER_BUFFER 512 |
The number of frames to prepare to be sent to the audio interface. | |
#define | PA_SAMPLE_TYPE paFloat32 |
Use floats for the audio interface. | |
#define | CENT 1.05946 |
A unit of pitch. | |
#define | LN01 2.30258 |
#define | MIDI_ANY -1 |
Any MIDI event. | |
#define | MIDI_KEYDOWN 144 |
A key press. | |
#define | MIDI_KEYUP 128 |
A key release. | |
#define | MIDI_BENDER 224 |
The bender. | |
#define | MIDI_MOD 176 |
A fader or knob. | |
#define | MIDI_AFTER_TOUCH 208 |
After touch for those keyboards that have it. | |
#define | SEQUENCE_REST -1 |
Used by sequencers when constructing events that should be interpreted as rests. | |
#define | DEBUG std::cout << __FILE__ << ", " << __LINE__ << "\n"; |
Useful for debugging. | |
#define | CALL_MEMBER_FN(object, ptrToMember) ((object)->*(ptrToMember))() |
Call a member function. Used in, for example, the envelope generator. | |
#define | ENV_EPS 0.001 |
Amplitude below which an envelope is considered off. | |