ags_fm_synth_util

ags_fm_synth_util

Functions

void ags_fm_synth_util_sin_s8 ()
void ags_fm_synth_util_sin_s16 ()
void ags_fm_synth_util_sin_s24 ()
void ags_fm_synth_util_sin_s32 ()
void ags_fm_synth_util_sin_s64 ()
void ags_fm_synth_util_sin_float ()
void ags_fm_synth_util_sin_double ()
void ags_fm_synth_util_sin_complex ()
void ags_fm_synth_util_sawtooth_s8 ()
void ags_fm_synth_util_sawtooth_s16 ()
void ags_fm_synth_util_sawtooth_s24 ()
void ags_fm_synth_util_sawtooth_s32 ()
void ags_fm_synth_util_sawtooth_s64 ()
void ags_fm_synth_util_sawtooth_float ()
void ags_fm_synth_util_sawtooth_double ()
void ags_fm_synth_util_sawtooth_complex ()
void ags_fm_synth_util_triangle_s8 ()
void ags_fm_synth_util_triangle_s16 ()
void ags_fm_synth_util_triangle_s24 ()
void ags_fm_synth_util_triangle_s32 ()
void ags_fm_synth_util_triangle_s64 ()
void ags_fm_synth_util_triangle_float ()
void ags_fm_synth_util_triangle_double ()
void ags_fm_synth_util_triangle_complex ()
void ags_fm_synth_util_square_s8 ()
void ags_fm_synth_util_square_s16 ()
void ags_fm_synth_util_square_s24 ()
void ags_fm_synth_util_square_s32 ()
void ags_fm_synth_util_square_s64 ()
void ags_fm_synth_util_square_float ()
void ags_fm_synth_util_square_double ()
void ags_fm_synth_util_square_complex ()
void ags_fm_synth_util_impulse_s8 ()
void ags_fm_synth_util_impulse_s16 ()
void ags_fm_synth_util_impulse_s24 ()
void ags_fm_synth_util_impulse_s32 ()
void ags_fm_synth_util_impulse_s64 ()
void ags_fm_synth_util_impulse_float ()
void ags_fm_synth_util_impulse_double ()
void ags_fm_synth_util_impulse_complex ()
void ags_fm_synth_util_sin ()
void ags_fm_synth_util_sawtooth ()
void ags_fm_synth_util_triangle ()
void ags_fm_synth_util_square ()
void ags_fm_synth_util_impulse ()

Description

Functions

ags_fm_synth_util_sin_s8 ()

void
ags_fm_synth_util_sin_s8 (gint8 *buffer,
                          gdouble freq,
                          gdouble phase,
                          gdouble volume,
                          guint samplerate,
                          guint offset,
                          guint n_frames,
                          guint lfo_osc_mode,
                          gdouble lfo_freq,
                          gdouble lfo_depth,
                          gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_s16 ()

void
ags_fm_synth_util_sin_s16 (gint16 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames,
                           guint lfo_osc_mode,
                           gdouble lfo_freq,
                           gdouble lfo_depth,
                           gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_s24 ()

void
ags_fm_synth_util_sin_s24 (gint32 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames,
                           guint lfo_osc_mode,
                           gdouble lfo_freq,
                           gdouble lfo_depth,
                           gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_s32 ()

void
ags_fm_synth_util_sin_s32 (gint32 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames,
                           guint lfo_osc_mode,
                           gdouble lfo_freq,
                           gdouble lfo_depth,
                           gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_s64 ()

void
ags_fm_synth_util_sin_s64 (gint64 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames,
                           guint lfo_osc_mode,
                           gdouble lfo_freq,
                           gdouble lfo_depth,
                           gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_float ()

void
ags_fm_synth_util_sin_float (float *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames,
                             guint lfo_osc_mode,
                             gdouble lfo_freq,
                             gdouble lfo_depth,
                             gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_double ()

void
ags_fm_synth_util_sin_double (double *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames,
                              guint lfo_osc_mode,
                              gdouble lfo_freq,
                              gdouble lfo_depth,
                              gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin_complex ()

void
ags_fm_synth_util_sin_complex (AgsComplex *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_s8 ()

void
ags_fm_synth_util_sawtooth_s8 (gint8 *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_s16 ()

void
ags_fm_synth_util_sawtooth_s16 (gint16 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_s24 ()

void
ags_fm_synth_util_sawtooth_s24 (gint32 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_s32 ()

void
ags_fm_synth_util_sawtooth_s32 (gint32 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_s64 ()

void
ags_fm_synth_util_sawtooth_s64 (gint64 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_float ()

void
ags_fm_synth_util_sawtooth_float (float *buffer,
                                  gdouble freq,
                                  gdouble phase,
                                  gdouble volume,
                                  guint samplerate,
                                  guint offset,
                                  guint n_frames,
                                  guint lfo_osc_mode,
                                  gdouble lfo_freq,
                                  gdouble lfo_depth,
                                  gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_double ()

void
ags_fm_synth_util_sawtooth_double (double *buffer,
                                   gdouble freq,
                                   gdouble phase,
                                   gdouble volume,
                                   guint samplerate,
                                   guint offset,
                                   guint n_frames,
                                   guint lfo_osc_mode,
                                   gdouble lfo_freq,
                                   gdouble lfo_depth,
                                   gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sawtooth_complex ()

void
ags_fm_synth_util_sawtooth_complex (AgsComplex *buffer,
                                    gdouble freq,
                                    gdouble phase,
                                    gdouble volume,
                                    guint samplerate,
                                    guint offset,
                                    guint n_frames,
                                    guint lfo_osc_mode,
                                    gdouble lfo_freq,
                                    gdouble lfo_depth,
                                    gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_s8 ()

void
ags_fm_synth_util_triangle_s8 (gint8 *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_s16 ()

void
ags_fm_synth_util_triangle_s16 (gint16 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_s24 ()

void
ags_fm_synth_util_triangle_s24 (gint32 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_s32 ()

void
ags_fm_synth_util_triangle_s32 (gint32 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_s64 ()

void
ags_fm_synth_util_triangle_s64 (gint64 *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_float ()

void
ags_fm_synth_util_triangle_float (float *buffer,
                                  gdouble freq,
                                  gdouble phase,
                                  gdouble volume,
                                  guint samplerate,
                                  guint offset,
                                  guint n_frames,
                                  guint lfo_osc_mode,
                                  gdouble lfo_freq,
                                  gdouble lfo_depth,
                                  gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_double ()

void
ags_fm_synth_util_triangle_double (double *buffer,
                                   gdouble freq,
                                   gdouble phase,
                                   gdouble volume,
                                   guint samplerate,
                                   guint offset,
                                   guint n_frames,
                                   guint lfo_osc_mode,
                                   gdouble lfo_freq,
                                   gdouble lfo_depth,
                                   gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_triangle_complex ()

void
ags_fm_synth_util_triangle_complex (AgsComplex *buffer,
                                    gdouble freq,
                                    gdouble phase,
                                    gdouble volume,
                                    guint samplerate,
                                    guint offset,
                                    guint n_frames,
                                    guint lfo_osc_mode,
                                    gdouble lfo_freq,
                                    gdouble lfo_depth,
                                    gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_s8 ()

void
ags_fm_synth_util_square_s8 (gint8 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames,
                             guint lfo_osc_mode,
                             gdouble lfo_freq,
                             gdouble lfo_depth,
                             gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_s16 ()

void
ags_fm_synth_util_square_s16 (gint16 *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames,
                              guint lfo_osc_mode,
                              gdouble lfo_freq,
                              gdouble lfo_depth,
                              gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_s24 ()

void
ags_fm_synth_util_square_s24 (gint32 *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames,
                              guint lfo_osc_mode,
                              gdouble lfo_freq,
                              gdouble lfo_depth,
                              gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_s32 ()

void
ags_fm_synth_util_square_s32 (gint32 *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames,
                              guint lfo_osc_mode,
                              gdouble lfo_freq,
                              gdouble lfo_depth,
                              gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_s64 ()

void
ags_fm_synth_util_square_s64 (gint64 *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames,
                              guint lfo_osc_mode,
                              gdouble lfo_freq,
                              gdouble lfo_depth,
                              gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_float ()

void
ags_fm_synth_util_square_float (float *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames,
                                guint lfo_osc_mode,
                                gdouble lfo_freq,
                                gdouble lfo_depth,
                                gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_double ()

void
ags_fm_synth_util_square_double (double *buffer,
                                 gdouble freq,
                                 gdouble phase,
                                 gdouble volume,
                                 guint samplerate,
                                 guint offset,
                                 guint n_frames,
                                 guint lfo_osc_mode,
                                 gdouble lfo_freq,
                                 gdouble lfo_depth,
                                 gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_square_complex ()

void
ags_fm_synth_util_square_complex (AgsComplex *buffer,
                                  gdouble freq,
                                  gdouble phase,
                                  gdouble volume,
                                  guint samplerate,
                                  guint offset,
                                  guint n_frames,
                                  guint lfo_osc_mode,
                                  gdouble lfo_freq,
                                  gdouble lfo_depth,
                                  gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_s8 ()

void
ags_fm_synth_util_impulse_s8 (gint8 *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames,
                              guint lfo_osc_mode,
                              gdouble lfo_freq,
                              gdouble lfo_depth,
                              gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_s16 ()

void
ags_fm_synth_util_impulse_s16 (gint16 *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_s24 ()

void
ags_fm_synth_util_impulse_s24 (gint32 *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_s32 ()

void
ags_fm_synth_util_impulse_s32 (gint32 *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_s64 ()

void
ags_fm_synth_util_impulse_s64 (gint64 *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames,
                               guint lfo_osc_mode,
                               gdouble lfo_freq,
                               gdouble lfo_depth,
                               gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_float ()

void
ags_fm_synth_util_impulse_float (float *buffer,
                                 gdouble freq,
                                 gdouble phase,
                                 gdouble volume,
                                 guint samplerate,
                                 guint offset,
                                 guint n_frames,
                                 guint lfo_osc_mode,
                                 gdouble lfo_freq,
                                 gdouble lfo_depth,
                                 gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_double ()

void
ags_fm_synth_util_impulse_double (double *buffer,
                                  gdouble freq,
                                  gdouble phase,
                                  gdouble volume,
                                  guint samplerate,
                                  guint offset,
                                  guint n_frames,
                                  guint lfo_osc_mode,
                                  gdouble lfo_freq,
                                  gdouble lfo_depth,
                                  gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_impulse_complex ()

void
ags_fm_synth_util_impulse_complex (AgsComplex *buffer,
                                   gdouble freq,
                                   gdouble phase,
                                   gdouble volume,
                                   guint samplerate,
                                   guint offset,
                                   guint n_frames,
                                   guint lfo_osc_mode,
                                   gdouble lfo_freq,
                                   gdouble lfo_depth,
                                   gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.3.0


ags_fm_synth_util_sin ()

void
ags_fm_synth_util_sin (void *buffer,
                       gdouble freq,
                       gdouble phase,
                       gdouble volume,
                       guint samplerate,
                       guint audio_buffer_util_format,
                       guint offset,
                       guint n_frames,
                       guint lfo_osc_mode,
                       gdouble lfo_freq,
                       gdouble lfo_depth,
                       gdouble tuning);

Generate frequency modulate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.0.0


ags_fm_synth_util_sawtooth ()

void
ags_fm_synth_util_sawtooth (void *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint audio_buffer_util_format,
                            guint offset,
                            guint n_frames,
                            guint lfo_osc_mode,
                            gdouble lfo_freq,
                            gdouble lfo_depth,
                            gdouble tuning);

Generate frequency modulate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.0.0


ags_fm_synth_util_triangle ()

void
ags_fm_synth_util_triangle (void *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint audio_buffer_util_format,
                            guint offset,
                            guint n_frames,
                            guint lfo_osc_mode,
                            gdouble lfo_freq,
                            gdouble lfo_depth,
                            gdouble tuning);

Generate frequency modulate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.0.0


ags_fm_synth_util_square ()

void
ags_fm_synth_util_square (void *buffer,
                          gdouble freq,
                          gdouble phase,
                          gdouble volume,
                          guint samplerate,
                          guint audio_buffer_util_format,
                          guint offset,
                          guint n_frames,
                          guint lfo_osc_mode,
                          gdouble lfo_freq,
                          gdouble lfo_depth,
                          gdouble tuning);

Generate frequency modulate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.0.0


ags_fm_synth_util_impulse ()

void
ags_fm_synth_util_impulse (void *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint audio_buffer_util_format,
                           guint offset,
                           guint n_frames,
                           guint lfo_osc_mode,
                           gdouble lfo_freq,
                           gdouble lfo_depth,
                           gdouble tuning);

Generate frequency modulate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

lfo_osc_mode

the LFO's oscillator mode

 

lfo_freq

the LFO's frequency

 

lfo_depth

the LFO's depth

 

tuning

the tuninig

 

Since: 2.0.0

Types and Values