Top | ![]() |
![]() |
![]() |
![]() |
guint ags_synth_util_get_xcross_count_s8 (gint8 *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_s16 (gint16 *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_s24 (gint32 *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_s32 (gint32 *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_s64 (gint64 *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_float (float *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_double (double *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.0.0
guint ags_synth_util_get_xcross_count_complex (AgsComplex *buffer
,guint buffer_size
);
Get zero-cross count.
Since: 2.3.0
guint ags_synth_util_get_xcross_count (void *buffer
,guint audio_buffer_util_format
,guint buffer_size
);
Get zero-cross count.
buffer |
the buffer containing audio data |
|
audio_buffer_util_format |
the audio buffer util format |
|
buffer_size |
the buffer size |
Since: 2.0.0
void ags_synth_util_sin_s8 (gint8 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_s16 (gint16 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_s24 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_s32 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_s64 (gint64 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_float (float *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_double (double *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.0.0
void ags_synth_util_sin_complex (AgsComplex *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sinus wave.
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 |
Since: 2.3.0
void ags_synth_util_sawtooth_s8 (gint8 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_s16 (gint16 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_s24 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_s32 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_s64 (gint64 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_float (float *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_double (double *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_sawtooth_complex (AgsComplex *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_triangle_s8 (gint8 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_s16 (gint16 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_s24 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_s32 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_s64 (gint64 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_float (float *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_double (double *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle_complex (AgsComplex *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_square_s8 (gint8 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_s16 (gint16 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_s24 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_s32 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_s64 (gint64 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_float (float *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_double (double *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square_complex (AgsComplex *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_s8 (gint8 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_s16 (gint16 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_s24 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_s32 (gint32 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_s64 (gint64 *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_float (float *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_double (double *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_impulse_complex (AgsComplex *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0
void ags_synth_util_sin (void *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint audio_buffer_util_format
,guint offset
,guint n_frames
);
Generate sin wave.
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 |
Since: 2.0.0
void ags_synth_util_sawtooth (void *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint audio_buffer_util_format
,guint offset
,guint n_frames
);
Generate sawtooth wave.
buffer |
the audio buffer |
|
freq |
the frequency of the sawtooth wave |
|
phase |
the phase of the sawtooth wave |
|
volume |
the volume of the sawtooth wave |
|
samplerate |
the samplerate |
|
audio_buffer_util_format |
the audio data format |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_triangle (void *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint audio_buffer_util_format
,guint offset
,guint n_frames
);
Generate triangle wave.
buffer |
the audio buffer |
|
freq |
the frequency of the triangle wave |
|
phase |
the phase of the triangle wave |
|
volume |
the volume of the triangle wave |
|
samplerate |
the samplerate |
|
audio_buffer_util_format |
the audio data format |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_square (void *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint audio_buffer_util_format
,guint offset
,guint n_frames
);
Generate square wave.
buffer |
the audio buffer |
|
freq |
the frequency of the square wave |
|
phase |
the phase of the square wave |
|
volume |
the volume of the square wave |
|
samplerate |
the samplerate |
|
audio_buffer_util_format |
the audio data format |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.0.0
void ags_synth_util_impulse (void *buffer
,gdouble freq
,gdouble phase
,gdouble volume
,guint samplerate
,guint audio_buffer_util_format
,guint offset
,guint n_frames
);
Generate impulse wave.
buffer |
the audio buffer |
|
freq |
the frequency of the impulse wave |
|
phase |
the phase of the impulse wave |
|
volume |
the volume of the impulse wave |
|
samplerate |
the samplerate |
|
audio_buffer_util_format |
the audio data format |
|
offset |
start frame |
|
n_frames |
generate n frames |
Since: 2.3.0