49 for (
i = 0;
i <
synth->voices;
i++) {
56 for (
i = 0;
i < 8;
i++)
synth->held_keys[
i] = -1;
70 for (
i = 0;
i <
synth->voices;
i++) {
99 for (
i = 0;
i <
synth->voices;
i++) {
101 voice =
synth->voice;
116 voice =
synth->voice;
134 if (
synth->cc_volume > 1.0f)
135 synth->cc_volume = 1.0f;
189 for (
i = 0;
i < 128;
i++) {
202 int do_control_update)
208 for (
i = 0;
i < sample_count;
i++)
215 res = 1-
synth->resonance;
220 if ((
synth->voice->velocity>90) && (
synth->vcf_accent <
synth->voice->vcf_eg)) {
221 synth->vcf_accent=(0.985-wow)*
synth->vcf_accent+(0.015+wow)*
synth->voice->vcf_eg;
223 synth->vcf_accent=(0.985-wow)*
synth->vcf_accent;
226 if (
synth->voice->velocity>90) {
227 synth->vca_accent=0.95*
synth->vca_accent+0.05;
231#if defined(XSYNTH_DEBUG) && (XSYNTH_DEBUG & XDB_AUDIO)
SYNTH_T * synth
Definition LocalZynAddSubFx.cpp:47
register unsigned i
Definition inflate.c:1575
static PuglViewHint int value
Definition pugl.h:1708
float out
Definition lilv_test.c:1461
#define XDB_MESSAGE(type, fmt...)
Definition nekobee.h:66
#define XDB_NOTE
Definition nekobee.h:32
void nekobee_synth_note_off(nekobee_synth_t *synth, unsigned char key, unsigned char rvelocity)
Definition nekobee_synth.c:65
void nekobee_synth_all_notes_off(nekobee_synth_t *synth)
Definition nekobee_synth.c:92
void nekobee_synth_control_change(nekobee_synth_t *synth, unsigned int param, signed int value)
Definition nekobee_synth.c:143
void nekobee_synth_update_volume(nekobee_synth_t *synth)
Definition nekobee_synth.c:130
void nekobee_synth_render_voices(nekobee_synth_t *synth, float *out, unsigned long sample_count, int do_control_update)
Definition nekobee_synth.c:201
void nekobee_synth_init_controls(nekobee_synth_t *synth)
Definition nekobee_synth.c:185
void nekobee_synth_all_voices_off(nekobee_synth_t *synth)
Definition nekobee_synth.c:44
void nekobee_synth_note_on(nekobee_synth_t *synth, unsigned char key, unsigned char velocity)
Definition nekobee_synth.c:112
#define MIDI_CTL_ALL_NOTES_OFF
Definition nekobee_synth.h:128
#define MIDI_CTL_LSB_MAIN_VOLUME
Definition nekobee_synth.h:113
#define MIDI_CTL_RESET_CONTROLLERS
Definition nekobee_synth.h:127
#define MIDI_CTL_MSB_MAIN_VOLUME
Definition nekobee_synth.h:109
#define MIDI_CTL_ALL_SOUNDS_OFF
Definition nekobee_synth.h:126
#define MIDI_CTL_SUSTAIN
Definition nekobee_synth.h:115
struct _nekobee_synth_t nekobee_synth_t
Definition nekobee_types.h:26
struct _nekobee_voice_t nekobee_voice_t
Definition nekobee_types.h:27
void nekobee_voice_release_note(nekobee_synth_t *synth, nekobee_voice_t *voice)
Definition nekobee_voice.c:244
void nekobee_voice_note_on(nekobee_synth_t *synth, nekobee_voice_t *voice, unsigned char key, unsigned char velocity)
Definition nekobee_voice.c:56
void nekobee_voice_note_off(nekobee_synth_t *synth, nekobee_voice_t *voice, unsigned char key, unsigned char rvelocity)
Definition nekobee_voice.c:182
void nekobee_voice_remove_held_key(nekobee_synth_t *synth, unsigned char key)
Definition nekobee_voice.c:160
void nekobee_voice_render(nekobee_synth_t *synth, nekobee_voice_t *voice, float *out, unsigned long sample_count, int do_control_update)
Definition nekobee_voice_render.c:273
static void nekobee_voice_off(nekobee_voice_t *voice)
Definition nekobee_voice.h:165
#define _PLAYING(voice)
Definition nekobee_voice.h:118
#define _ON(voice)
Definition nekobee_voice.h:119
#define _SUSTAINED(voice)
Definition nekobee_voice.h:120
unsigned int note_id
Definition nekobee_voice.h:87
ZCONST char * key
Definition crypt.c:587
#define void
Definition unzip.h:396
_WDL_CSTRING_PREFIX void INT_PTR count
Definition wdlcstring.h:263