Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
gslosctable.hh File Reference
#include <bse/gsldefs.hh>
#include <sfi/gbsearcharray.hh>
Include dependency graph for gslosctable.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GslOscTable
 
struct  GslOscWave
 

Enumerations

enum  GslOscWaveForm {
  GSL_OSC_WAVE_NONE, GSL_OSC_WAVE_SINE, GSL_OSC_WAVE_TRIANGLE, GSL_OSC_WAVE_SAW_RISE,
  GSL_OSC_WAVE_SAW_FALL, GSL_OSC_WAVE_PEAK_RISE, GSL_OSC_WAVE_PEAK_FALL, GSL_OSC_WAVE_MOOG_SAW,
  GSL_OSC_WAVE_SQUARE, GSL_OSC_WAVE_PULSE_SAW
}
 

Functions

GslOscTablegsl_osc_table_create (gfloat mix_freq, GslOscWaveForm wave_form, double(*filter_func)(double), guint n_freqs, const gfloat *freqs)
 
void gsl_osc_table_lookup (const GslOscTable *table, gfloat freq, GslOscWave *wave)
 
void gsl_osc_table_free (GslOscTable *table)
 
void gsl_osc_wave_fill_buffer (GslOscWaveForm type, guint n_values, gfloat *values)
 
void gsl_osc_wave_extrema (guint n_values, const gfloat *values, gfloat *min, gfloat *max)
 
void gsl_osc_wave_normalize (guint n_values, gfloat *values, gfloat new_center, gfloat new_max)
 
void gsl_osc_wave_adjust_range (guint n_values, gfloat *values, gfloat min, gfloat max, gfloat new_center, gfloat new_max)
 
const gchar * gsl_osc_wave_form_name (GslOscWaveForm wave_form)