Top |
Functions
Functions
ags_sf2_synth_util_alloc ()
AgsSF2SynthUtil * ags_sf2_synth_util_alloc ();
Allocate
Since:
ags_sf2_synth_util_boxed_copy ()
gpointer ags_sf2_synth_util_boxed_copy (AgsSF2SynthUtil *ptr
);
Copy
Since:
ags_sf2_synth_util_free ()
void ags_sf2_synth_util_free (AgsSF2SynthUtil *ptr
);
Free
Since:
ags_sf2_synth_util_get_ipatch_sample ()
AgsIpatchSample *
ags_sf2_synth_util_get_ipatch_sample (AgsSF2SynthUtil *sf2_synth_util
);
ags_sf2_synth_util_set_ipatch_sample ()
void ags_sf2_synth_util_set_ipatch_sample (AgsSF2SynthUtil *sf2_synth_util
,AgsIpatchSample *ipatch_sample
);
ags_sf2_synth_util_get_source ()
gpointer ags_sf2_synth_util_get_source (AgsSF2SynthUtil *sf2_synth_util
);
Get source buffer of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_source ()
void ags_sf2_synth_util_set_source (AgsSF2SynthUtil *sf2_synth_util
,);
gpointer source
Set source
buffer of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_source_stride ()
guint ags_sf2_synth_util_get_source_stride (AgsSF2SynthUtil *sf2_synth_util
);
Get source stride of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_source_stride ()
void ags_sf2_synth_util_set_source_stride (AgsSF2SynthUtil *sf2_synth_util
,);
guint source_stride
Set source
stride of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_buffer_length ()
guint ags_sf2_synth_util_get_buffer_length (AgsSF2SynthUtil *sf2_synth_util
);
Get buffer length of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_buffer_length ()
void ags_sf2_synth_util_set_buffer_length (AgsSF2SynthUtil *sf2_synth_util
,);
guint buffer_length
Set buffer_length
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_format ()
guint ags_sf2_synth_util_get_format (AgsSF2SynthUtil *sf2_synth_util
);
Get format of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_format ()
void ags_sf2_synth_util_set_format (AgsSF2SynthUtil *sf2_synth_util
,);
guint format
Set format
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_samplerate ()
guint ags_sf2_synth_util_get_samplerate (AgsSF2SynthUtil *sf2_synth_util
);
Get samplerate of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_samplerate ()
void ags_sf2_synth_util_set_samplerate (AgsSF2SynthUtil *sf2_synth_util
,);
guint samplerate
Set samplerate
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_preset ()
gchar * ags_sf2_synth_util_get_preset (AgsSF2SynthUtil *sf2_synth_util
);
Get preset of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_preset ()
void ags_sf2_synth_util_set_preset (AgsSF2SynthUtil *sf2_synth_util
,);
gchar *preset
Set preset
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_instrument ()
gchar * ags_sf2_synth_util_get_instrument (AgsSF2SynthUtil *sf2_synth_util
);
Get instrument of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_instrument ()
void ags_sf2_synth_util_set_instrument (AgsSF2SynthUtil *sf2_synth_util
,);
gchar *instrument
Set instrument
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_sample ()
gchar * ags_sf2_synth_util_get_sample (AgsSF2SynthUtil *sf2_synth_util
);
Get sample of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_sample ()
void ags_sf2_synth_util_set_sample (AgsSF2SynthUtil *sf2_synth_util
,);
gchar *sample
Set sample
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_bank ()
gint ags_sf2_synth_util_get_bank (AgsSF2SynthUtil *sf2_synth_util
);
Get bank of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_bank ()
void ags_sf2_synth_util_set_bank (AgsSF2SynthUtil *sf2_synth_util
,);
gint bank
Set bank
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_program ()
gint ags_sf2_synth_util_get_program (AgsSF2SynthUtil *sf2_synth_util
);
Get program of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_program ()
void ags_sf2_synth_util_set_program (AgsSF2SynthUtil *sf2_synth_util
,);
gint program
Set program
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_midi_key ()
gint ags_sf2_synth_util_get_midi_key (AgsSF2SynthUtil *sf2_synth_util
);
Get midi_key of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_midi_key ()
void ags_sf2_synth_util_set_midi_key (AgsSF2SynthUtil *sf2_synth_util
,);
gint midi_key
Set midi_key
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_note ()
gdouble ags_sf2_synth_util_get_note (AgsSF2SynthUtil *sf2_synth_util
);
Get note of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_note ()
void ags_sf2_synth_util_set_note (AgsSF2SynthUtil *sf2_synth_util
,);
gdouble note
Set note
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_volume ()
gdouble ags_sf2_synth_util_get_volume (AgsSF2SynthUtil *sf2_synth_util
);
Get volume of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_volume ()
void ags_sf2_synth_util_set_volume (AgsSF2SynthUtil *sf2_synth_util
,);
gdouble volume
Set volume
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_frame_count ()
guint ags_sf2_synth_util_get_frame_count (AgsSF2SynthUtil *sf2_synth_util
);
Get frame count of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_frame_count ()
void ags_sf2_synth_util_set_frame_count (AgsSF2SynthUtil *sf2_synth_util
,);
guint frame_count
Set frame_count
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_offset ()
guint ags_sf2_synth_util_get_offset (AgsSF2SynthUtil *sf2_synth_util
);
Get offset of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_offset ()
void ags_sf2_synth_util_set_offset (AgsSF2SynthUtil *sf2_synth_util
,);
guint offset
Set offset
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_loop_mode ()
guint ags_sf2_synth_util_get_loop_mode (AgsSF2SynthUtil *sf2_synth_util
);
Get loop mode of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_loop_mode ()
void ags_sf2_synth_util_set_loop_mode (AgsSF2SynthUtil *sf2_synth_util
,);
guint loop_mode
Set loop_mode
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_loop_start ()
guint ags_sf2_synth_util_get_loop_start (AgsSF2SynthUtil *sf2_synth_util
);
Get loop start of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_loop_start ()
void ags_sf2_synth_util_set_loop_start (AgsSF2SynthUtil *sf2_synth_util
,);
guint loop_start
Set loop_start
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_loop_end ()
guint ags_sf2_synth_util_get_loop_end (AgsSF2SynthUtil *sf2_synth_util
);
Get loop end of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_loop_end ()
void ags_sf2_synth_util_set_loop_end (AgsSF2SynthUtil *sf2_synth_util
,);
guint loop_end
Set loop_end
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_resample_util ()
AgsResampleUtil *
ags_sf2_synth_util_get_resample_util (AgsSF2SynthUtil *sf2_synth_util
);
Get resample util of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_resample_util ()
void ags_sf2_synth_util_set_resample_util (AgsSF2SynthUtil *sf2_synth_util
,AgsResampleUtil *resample_util
);
Set resample_util
of sf2_synth_util
.
Since:
ags_sf2_synth_util_get_generic_pitch_util ()
AgsGenericPitchUtil *
ags_sf2_synth_util_get_generic_pitch_util
(AgsSF2SynthUtil *sf2_synth_util
);
Get generic pitch util of sf2_synth_util
.
Since:
ags_sf2_synth_util_set_generic_pitch_util ()
void ags_sf2_synth_util_set_generic_pitch_util (AgsSF2SynthUtil *sf2_synth_util
,AgsGenericPitchUtil *generic_pitch_util
);
Set generic_pitch_util
of sf2_synth_util
.
Parameters
sf2_synth_util |
the |
|
generic_pitch_util |
the generic pitch util. |
[transfer full] |
Since:
ags_sf2_synth_util_read_ipatch_sample ()
void ags_sf2_synth_util_read_ipatch_sample (AgsSF2SynthUtil *sf2_synth_util
);
ags_sf2_synth_util_compute_s8 ()
void ags_sf2_synth_util_compute_s8 (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of signed 8 bit data.
Since:
ags_sf2_synth_util_compute_s16 ()
void ags_sf2_synth_util_compute_s16 (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of signed 16 bit data.
Since:
ags_sf2_synth_util_compute_s24 ()
void ags_sf2_synth_util_compute_s24 (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of signed 24 bit data.
Since:
ags_sf2_synth_util_compute_s32 ()
void ags_sf2_synth_util_compute_s32 (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of signed 32 bit data.
Since:
ags_sf2_synth_util_compute_s64 ()
void ags_sf2_synth_util_compute_s64 (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of signed 64 bit data.
Since:
ags_sf2_synth_util_compute_float ()
void ags_sf2_synth_util_compute_float (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of floating point data.
Since:
ags_sf2_synth_util_compute_double ()
void ags_sf2_synth_util_compute_double (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of double precision floating point data.
Since:
ags_sf2_synth_util_compute_complex ()
void ags_sf2_synth_util_compute_complex (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth of complex data.
Since:
ags_sf2_synth_util_compute ()
void ags_sf2_synth_util_compute (AgsSF2SynthUtil *sf2_synth_util
);
Compute Soundfont2 synth.
Since:
ags_sf2_synth_util_midi_locale_find_sample_near_midi_key ()
AgsIpatchSample * ags_sf2_synth_util_midi_locale_find_sample_near_midi_key (AgsIpatch *ipatch
,,
gint bank,
gint program,
gint midi_key,
gchar **preset,
gchar **instrument);
gchar **sample
Find sample near MIDI key.
Parameters
ipatch |
the AgsIpatch |
|
bank |
the bank |
|
program |
the program |
|
midi_key |
the MIDI key |
|
preset |
the preset. |
[out] |
instrument |
the instrument. |
[out] |
sample |
the sample. |
[out] |
Since:
ags_sf2_synth_util_copy_s8 ()
void ags_sf2_synth_util_copy_s8 (,
gint8 *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_s8
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_s16 ()
void ags_sf2_synth_util_copy_s16 (,
gint16 *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_s16
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_s24 ()
void ags_sf2_synth_util_copy_s24 (,
gint32 *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_s24
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_s32 ()
void ags_sf2_synth_util_copy_s32 (,
gint32 *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_s32
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_s64 ()
void ags_sf2_synth_util_copy_s64 (,
gint64 *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_s64
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_float ()
void ags_sf2_synth_util_copy_float (,
gfloat *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_float
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_double ()
void ags_sf2_synth_util_copy_double (,
gdouble *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_double
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy_complex ()
void ags_sf2_synth_util_copy_complex (,
AgsComplex *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy_complex
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the audio buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
volume |
the volume of the sin wave |
|
samplerate |
the samplerate |
|
offset |
start frame |
|
n_frames |
generate n frames |
|
loop_mode |
the loop mode |
|
loop_start |
loop start |
|
loop_end |
loop end |
Since:
ags_sf2_synth_util_copy ()
void ags_sf2_synth_util_copy (,
void *buffer,
guint buffer_sizeAgsIpatchSample *ipatch_sample
,,
gdouble note,
gdouble volume,
guint samplerate,
guint audio_buffer_util_format,
guint offset,
guint n_frames,
guint loop_mode,
gint loop_start);
gint loop_end
ags_sf2_synth_util_copy
is deprecated and should not be used in newly-written code.
Generate Soundfont2 wave.
Parameters
buffer |
the audio buffer |
|
buffer_size |
the buffer size |
|
ipatch_sample |
the AgsIpatchSample |
|
note |
the note |
|
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 |
|
loop_mode |
the loop mode |
|
loop_start |
the loop start |
|
loop_end |
the loop end |
Since: