| Top |
| #define | AGS_SYNTH_UTIL_DEFAULT_FREQUENCY |
| #define | AGS_SYNTH_UTIL_DEFAULT_AUDIO_BUFFER_UTIL_FORMAT |
| #define | AGS_TYPE_SYNTH_UTIL |
| struct | AgsSynthUtil |
gpointer
ags_synth_util_copy (AgsSynthUtil *ptr);
Create a copy of ptr
.
Since: 3.9.3
void
ags_synth_util_free (AgsSynthUtil *ptr);
Free the memory of ptr
.
Since: 3.9.3
gpointer
ags_synth_util_get_source (AgsSynthUtil *synth_util);
Get source buffer of synth_util
.
Since: 3.9.3
void ags_synth_util_set_source (AgsSynthUtil *synth_util,gpointer source);
Set source
buffer of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_source_stride (AgsSynthUtil *synth_util);
Get source stride of synth_util
.
Since: 3.9.3
void ags_synth_util_set_source_stride (AgsSynthUtil *synth_util,guint source_stride);
Set source
stride of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_buffer_length (AgsSynthUtil *synth_util);
Get buffer length of synth_util
.
Since: 3.9.3
void ags_synth_util_set_buffer_length (AgsSynthUtil *synth_util,guint buffer_length);
Set buffer_length
of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_format (AgsSynthUtil *synth_util);
Get audio buffer util format of synth_util
.
Since: 3.14.0
void ags_synth_util_set_format (AgsSynthUtil *synth_util,guint format);
Set format
of synth_util
.
Since: 3.14.0
guint
ags_synth_util_get_samplerate (AgsSynthUtil *synth_util);
Get samplerate of synth_util
.
Since: 3.9.3
void ags_synth_util_set_samplerate (AgsSynthUtil *synth_util,guint samplerate);
Set samplerate
of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_audio_buffer_util_format
(AgsSynthUtil *synth_util);
Get audio buffer util format of synth_util
.
Since: 3.9.3
void ags_synth_util_set_audio_buffer_util_format (AgsSynthUtil *synth_util,guint audio_buffer_util_format);
Set audio_buffer_util_format
of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_synth_oscillator_mode
(AgsSynthUtil *synth_util);
Get synth oscillator mode of synth_util
.
Since: 3.9.3
void ags_synth_util_set_synth_oscillator_mode (AgsSynthUtil *synth_util,guint synth_oscillator_mode);
Set synth_oscillator_mode
of synth_util
.
Since: 3.9.3
gdouble
ags_synth_util_get_frequency (AgsSynthUtil *synth_util);
Get frequency of synth_util
.
Since: 3.9.3
void ags_synth_util_set_frequency (AgsSynthUtil *synth_util,gdouble frequency);
Set frequency
of synth_util
.
Since: 3.9.3
gdouble
ags_synth_util_get_phase (AgsSynthUtil *synth_util);
Get phase of synth_util
.
Since: 3.9.3
void ags_synth_util_set_phase (AgsSynthUtil *synth_util,gdouble phase);
Set phase
of synth_util
.
Since: 3.9.3
gdouble
ags_synth_util_get_volume (AgsSynthUtil *synth_util);
Get volume of synth_util
.
Since: 3.9.3
void ags_synth_util_set_volume (AgsSynthUtil *synth_util,gdouble volume);
Set volume
of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_frame_count (AgsSynthUtil *synth_util);
Get frame count of synth_util
.
Since: 3.9.3
void ags_synth_util_set_frame_count (AgsSynthUtil *synth_util,guint frame_count);
Set frame_count
of synth_util
.
Since: 3.9.3
guint
ags_synth_util_get_offset (AgsSynthUtil *synth_util);
Get offset of synth_util
.
Since: 3.9.3
void ags_synth_util_set_offset (AgsSynthUtil *synth_util,guint offset);
Set offset
of synth_util
.
Since: 3.9.3
guint ags_synth_util_get_xcross_count_s8 (gint8 *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_s16 (gint16 *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_s24 (gint32 *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_s32 (gint32 *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_s64 (gint64 *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_float (gfloat *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_double (gdouble *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.0
guint ags_synth_util_get_xcross_count_complex (AgsComplex *buffer,guint buffer_size);
Get zero-cross count.
Since: 3.0.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: 3.0.0
void
ags_synth_util_compute_sin_s8 (AgsSynthUtil *synth_util);
Compute sine synth of signed 8 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sin_s16 (AgsSynthUtil *synth_util);
Compute sine synth of signed 16 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sin_s24 (AgsSynthUtil *synth_util);
Compute sine synth of signed 24 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sin_s32 (AgsSynthUtil *synth_util);
Compute sine synth of signed 32 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sin_s64 (AgsSynthUtil *synth_util);
Compute sine synth of signed 64 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sin_float (AgsSynthUtil *synth_util);
Compute sine synth of floating point data.
Since: 3.9.3
void
ags_synth_util_compute_sin_double (AgsSynthUtil *synth_util);
Compute sine synth of double precision floating point data.
Since: 3.9.3
void
ags_synth_util_compute_sin_complex (AgsSynthUtil *synth_util);
Compute sine synth of complex data.
Since: 3.9.3
void
ags_synth_util_compute_sin (AgsSynthUtil *synth_util);
Compute sine synth.
Since: 3.9.3
void ags_synth_util_sin_s8 (gint8 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_s8 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_s16 (gint16 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_s16 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_s24 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_s24 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_s32 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_s32 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_s64 (gint64 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_s64 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_float (gfloat *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_float is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_double (gdouble *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_double is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sin_complex (AgsComplex *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sin_complex is deprecated and should not be used in newly-written code.
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: 3.0.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);
ags_synth_util_sin is deprecated and should not be used in newly-written code.
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: 3.0.0
void
ags_synth_util_compute_sawtooth_s8 (AgsSynthUtil *synth_util);
Compute sawtooth synth of signed 8 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_s16 (AgsSynthUtil *synth_util);
Compute sawtooth synth of signed 16 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_s24 (AgsSynthUtil *synth_util);
Compute sawtooth synth of signed 24 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_s32 (AgsSynthUtil *synth_util);
Compute sawtooth synth of signed 32 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_s64 (AgsSynthUtil *synth_util);
Compute sawtooth synth of signed 64 bit data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_float (AgsSynthUtil *synth_util);
Compute sawtooth synth of floating point data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_double
(AgsSynthUtil *synth_util);
Compute sawtooth synth of double precision floating point data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth_complex
(AgsSynthUtil *synth_util);
Compute sawtooth synth of complex data.
Since: 3.9.3
void
ags_synth_util_compute_sawtooth (AgsSynthUtil *synth_util);
Compute sawtooth synth.
Since: 3.9.3
void ags_synth_util_sawtooth_s8 (gint8 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_s8 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_s16 (gint16 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_s16 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_s24 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_s24 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_s32 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_s32 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_s64 (gint64 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_s64 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_float (gfloat *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_float is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_double (gdouble *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_double is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_sawtooth_complex (AgsComplex *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_sawtooth_complex is deprecated and should not be used in newly-written code.
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: 3.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);
ags_synth_util_sawtooth is deprecated and should not be used in newly-written code.
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: 3.0.0
void
ags_synth_util_compute_triangle_s8 (AgsSynthUtil *synth_util);
Compute triangle synth of signed 8 bit data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_s16 (AgsSynthUtil *synth_util);
Compute triangle synth of signed 16 bit data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_s24 (AgsSynthUtil *synth_util);
Compute triangle synth of signed 24 bit data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_s32 (AgsSynthUtil *synth_util);
Compute triangle synth of signed 32 bit data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_s64 (AgsSynthUtil *synth_util);
Compute triangle synth of signed 64 bit data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_float (AgsSynthUtil *synth_util);
Compute triangle synth of floating point data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_double
(AgsSynthUtil *synth_util);
Compute triangle synth of double precision floating point data.
Since: 3.9.3
void
ags_synth_util_compute_triangle_complex
(AgsSynthUtil *synth_util);
Compute triangle synth of complex data.
Since: 3.9.3
void
ags_synth_util_compute_triangle (AgsSynthUtil *synth_util);
Compute triangle synth.
Since: 3.9.3
void ags_synth_util_triangle_s8 (gint8 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_s8 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_s16 (gint16 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_s16 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_s24 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_s24 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_s32 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_s32 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_s64 (gint64 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_s64 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_float (gfloat *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_float is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_double (gdouble *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_double is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_triangle_complex (AgsComplex *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_triangle_complex is deprecated and should not be used in newly-written code.
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: 3.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);
ags_synth_util_triangle is deprecated and should not be used in newly-written code.
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: 3.0.0
void
ags_synth_util_compute_square_s8 (AgsSynthUtil *synth_util);
Compute square synth of signed 8 bit data.
Since: 3.9.3
void
ags_synth_util_compute_square_s16 (AgsSynthUtil *synth_util);
Compute square synth of signed 16 bit data.
Since: 3.9.3
void
ags_synth_util_compute_square_s24 (AgsSynthUtil *synth_util);
Compute square synth of signed 24 bit data.
Since: 3.9.3
void
ags_synth_util_compute_square_s32 (AgsSynthUtil *synth_util);
Compute square synth of signed 32 bit data.
Since: 3.9.3
void
ags_synth_util_compute_square_s64 (AgsSynthUtil *synth_util);
Compute square synth of signed 64 bit data.
Since: 3.9.3
void
ags_synth_util_compute_square_float (AgsSynthUtil *synth_util);
Compute square synth of floating point data.
Since: 3.9.3
void
ags_synth_util_compute_square_double (AgsSynthUtil *synth_util);
Compute square synth of double precision floating point data.
Since: 3.9.3
void
ags_synth_util_compute_square_complex (AgsSynthUtil *synth_util);
Compute square synth of complex data.
Since: 3.9.3
void
ags_synth_util_compute_square (AgsSynthUtil *synth_util);
Compute square synth.
Since: 3.9.3
void ags_synth_util_square_s8 (gint8 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_s8 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_s16 (gint16 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_s16 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_s24 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_s24 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_s32 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_s32 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_s64 (gint64 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_s64 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_float (gfloat *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_float is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_double (gdouble *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_double is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_square_complex (AgsComplex *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_square_complex is deprecated and should not be used in newly-written code.
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: 3.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);
ags_synth_util_square is deprecated and should not be used in newly-written code.
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: 3.0.0
void
ags_synth_util_compute_impulse_s8 (AgsSynthUtil *synth_util);
Compute impulse synth of signed 8 bit data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_s16 (AgsSynthUtil *synth_util);
Compute impulse synth of signed 16 bit data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_s24 (AgsSynthUtil *synth_util);
Compute impulse synth of signed 24 bit data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_s32 (AgsSynthUtil *synth_util);
Compute impulse synth of signed 32 bit data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_s64 (AgsSynthUtil *synth_util);
Compute impulse synth of signed 64 bit data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_float (AgsSynthUtil *synth_util);
Compute impulse synth of floating point data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_double (AgsSynthUtil *synth_util);
Compute impulse synth of double precision floating point data.
Since: 3.9.3
void
ags_synth_util_compute_impulse_complex
(AgsSynthUtil *synth_util);
Compute impulse synth of complex data.
Since: 3.9.3
void
ags_synth_util_compute_impulse (AgsSynthUtil *synth_util);
Compute impulse synth.
Since: 3.9.3
void ags_synth_util_impulse_s8 (gint8 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_s8 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_s16 (gint16 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_s16 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_s24 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_s24 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_s32 (gint32 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_s32 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_s64 (gint64 *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_s64 is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_float (gfloat *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_float is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_double (gdouble *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_double is deprecated and should not be used in newly-written code.
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: 3.0.0
void ags_synth_util_impulse_complex (AgsComplex *buffer,gdouble freq,gdouble phase,gdouble volume,guint samplerate,guint offset,guint n_frames);
ags_synth_util_impulse_complex is deprecated and should not be used in newly-written code.
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: 3.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);
ags_synth_util_impulse is deprecated and should not be used in newly-written code.
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: 3.0.0