#include <math.h>
#include "nekobee.h"
#include "nekobee_synth.h"
#include "nekobee_voice.h"
Go to the source code of this file.
|
| void | nekobee_init_tables (void) |
| static float | volume (float level) |
| static float | qdB_to_amplitude (float qdB) |
| void | blosc_place_step_dd (float *buffer, int index, float phase, float w, float scale) |
| void | vco (unsigned long sample_count, nekobee_voice_t *voice, struct blosc *osc, int index, float w) |
| static void | vcf_4pole (nekobee_voice_t *voice, unsigned long sample_count, float *in, float *out, float *cutoff, float qres, float *amp) |
| void | nekobee_voice_render (nekobee_synth_t *synth, nekobee_voice_t *voice, float *out, unsigned long sample_count, int do_control_update) |
◆ _BSD_SOURCE
◆ _ISOC99_SOURCE
◆ _SVID_SOURCE
◆ M_2PI_F
| #define M_2PI_F (2.0f * (float)M_PI) |
◆ M_PI
| #define M_PI 3.14159265358979323846 |
◆ M_PI_F
| #define M_PI_F (float)M_PI |
◆ pitch_ref_note
| #define pitch_ref_note 69 |
◆ VCF_FREQ_MAX
| #define VCF_FREQ_MAX (0.825f) /* original filters only stable to this frequency */ |
◆ volume_to_amplitude_scale
| #define volume_to_amplitude_scale 128 |
◆ blosc_place_step_dd()
| void blosc_place_step_dd |
( |
float * | buffer, |
|
|
int | index, |
|
|
float | phase, |
|
|
float | w, |
|
|
float | scale ) |
◆ nekobee_init_tables()
◆ nekobee_voice_render()
◆ qdB_to_amplitude()
| float qdB_to_amplitude |
( |
float | qdB | ) |
|
|
inlinestatic |
◆ vcf_4pole()
| void vcf_4pole |
( |
nekobee_voice_t * | voice, |
|
|
unsigned long | sample_count, |
|
|
float * | in, |
|
|
float * | out, |
|
|
float * | cutoff, |
|
|
float | qres, |
|
|
float * | amp ) |
|
inlinestatic |
◆ vco()
◆ volume()
| float volume |
( |
float | level | ) |
|
|
inlinestatic |
◆ nekobee_pitch
◆ qdB_to_amplitude_table
| float qdB_to_amplitude_table[4+256+0] |
|
static |
◆ tables_initialized
| int tables_initialized = 0 |
|
static |
◆ velocity_to_attenuation
| float velocity_to_attenuation[128] |
|
static |
◆ volume_to_amplitude_table