RetroArch
|
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <retro_miscellaneous.h>
#include <libretro_dspfilter.h>
#include <string/stdstring.h>
Classes | |
struct | vibrato_core |
struct | vibrato |
Macros | |
#define | sqr(a) ((a) * (a)) |
Functions | |
float | hermite_interp (float x, float *y) |
static void | vibrato_free (void *data) |
static void | vibratocore_init (struct vibrato_core *core, float depth, int samplerate, float freq) |
float | vibratocore_core (struct vibrato_core *core, float in) |
static void | vibrato_process (void *data, struct dspfilter_output *output, const struct dspfilter_input *input) |
static void * | vibrato_init (const struct dspfilter_info *info, const struct dspfilter_config *config, void *userdata) |
const struct dspfilter_implementation * | dspfilter_get_implementation (dspfilter_simd_mask_t mask) |
Variables | |
const float | BASE_DELAY_SEC = 0.002 |
const float | VIBRATO_FREQUENCY_DEFAULT_HZ = 2 |
const float | VIBRATO_FREQUENCY_MAX_HZ = 14 |
const float | VIBRATO_DEPTH_DEFAULT_PERCENT = 50 |
const int | add_delay = 3 |
static const struct dspfilter_implementation | vibrato_plug |
const struct dspfilter_implementation* dspfilter_get_implementation | ( | dspfilter_simd_mask_t | mask | ) |
float hermite_interp | ( | float | x, |
float * | y | ||
) |
|
static |
|
static |
float vibratocore_core | ( | struct vibrato_core * | core, |
float | in | ||
) |
|
static |
const int add_delay = 3 |
const float BASE_DELAY_SEC = 0.002 |
const float VIBRATO_DEPTH_DEFAULT_PERCENT = 50 |
const float VIBRATO_FREQUENCY_DEFAULT_HZ = 2 |
const float VIBRATO_FREQUENCY_MAX_HZ = 14 |
|
static |