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