Struct

AgsAudioSF2SynthUtil

Description

struct AgsSF2SynthUtil {
  guint flags;
  AgsAudioContainer* sf2_file;
  guint sf2_sample_count;
  IpatchSample** sf2_sample_arr;
  gint** sf2_note_range;
  None sf2_loop_mode;
  None sf2_loop_start;
  None sf2_loop_end;
  None sf2_orig_buffer_length;
  gpointer* sf2_orig_buffer;
  None sf2_resampled_buffer_length;
  gpointer* sf2_resampled_buffer;
  gpointer source;
  guint source_stride;
  gpointer sample_buffer;
  gpointer im_buffer;
  guint buffer_length;
  AgsSoundcardFormat format;
  guint samplerate;
  guint orig_samplerate;
  gchar* preset;
  gchar* instrument;
  gchar* sample;
  gint bank;
  gint program;
  gint midi_key;
  gdouble note;
  gdouble volume;
  guint frame_count;
  guint offset;
  AgsSF2SynthUtilLoopMode loop_mode;
  gint loop_start;
  gint loop_end;
  AgsAudioBufferUtil* audio_buffer_util;
  AgsResampleUtil* resample_util;
  GType pitch_type;
  gpointer pitch_util;
  AgsVolumeUtil* volume_util;
  gboolean note_256th_mode;
  guint offset_256th;
}

No description available.

Structure members
flags

No description available.

sf2_file

No description available.

sf2_sample_count

No description available.

sf2_sample_arr

No description available.

sf2_note_range

No description available.

sf2_loop_mode

No description available.

sf2_loop_start

No description available.

sf2_loop_end

No description available.

sf2_orig_buffer_length

No description available.

sf2_orig_buffer

No description available.

sf2_resampled_buffer_length

No description available.

sf2_resampled_buffer

No description available.

source

No description available.

source_stride

No description available.

sample_buffer

No description available.

im_buffer

No description available.

buffer_length

No description available.

format

No description available.

samplerate

No description available.

orig_samplerate

No description available.

preset

No description available.

instrument

No description available.

sample

No description available.

bank

No description available.

program

No description available.

midi_key

No description available.

note

No description available.

volume

No description available.

frame_count

No description available.

offset

No description available.

loop_mode

No description available.

loop_start

No description available.

loop_end

No description available.

audio_buffer_util

No description available.

resample_util

No description available.

pitch_type

No description available.

pitch_util

No description available.

volume_util

No description available.

note_256th_mode

No description available.

offset_256th

No description available.

Functions

ags_sf2_synth_util_alloc

Allocate AgsSF2SynthUtil-struct.

since: 3.9.6

ags_sf2_synth_util_midi_locale_find_sample_near_midi_key

Find sample near MIDI key.

since: 3.4.0

Instance methods

ags_sf2_synth_util_compute

Compute Soundfont2 synth.

since: 3.9.6

ags_sf2_synth_util_compute_complex

Compute Soundfont2 synth of complex data.

since: 3.9.6

ags_sf2_synth_util_compute_double

Compute Soundfont2 synth of double precision floating point data.

since: 3.9.6

ags_sf2_synth_util_compute_float

Compute Soundfont2 synth of floating point data.

since: 3.9.6

ags_sf2_synth_util_compute_s16

Compute Soundfont2 synth of signed 16 bit data.

since: 3.9.6

ags_sf2_synth_util_compute_s24

Compute Soundfont2 synth of signed 24 bit data.

since: 3.9.6

ags_sf2_synth_util_compute_s32

Compute Soundfont2 synth of signed 32 bit data.

since: 3.9.6

ags_sf2_synth_util_compute_s64

Compute Soundfont2 synth of signed 64 bit data.

since: 3.9.6

ags_sf2_synth_util_compute_s8

Compute Soundfont2 synth of signed 8 bit data.

since: 3.9.6

ags_sf2_synth_util_copy

Copy AgsSF2SynthUtil-struct.

since: 3.9.6

ags_sf2_synth_util_free

Free AgsSF2SynthUtil-struct.

since: 3.9.6

ags_sf2_synth_util_get_bank

Get bank of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_buffer_length

Get buffer length of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_format

Get format of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_frame_count

Get frame count of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_instrument

Get instrument of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_loop_end

Get loop end of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_loop_mode

Get loop mode of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_loop_start

Get loop start of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_midi_key

Get midi_key of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_note

Get note of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_note_256th_mode

Get note 256th mode of sf2_synth_util.

since: 6.1.0

ags_sf2_synth_util_get_offset

Get offset of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_offset_256th

Get offset as note 256th of sf2_synth_util.

since: 6.1.0

ags_sf2_synth_util_get_pitch_type

Get pitch type of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_get_pitch_util

Get pitch util of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_get_preset

Get preset of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_program

Get program of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_resample_util

Get resample util of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_sample

Get sample of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_samplerate

Get samplerate of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_sf2_file

Get Soundfont2 file of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_get_source

Get source buffer of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_source_stride

Get source stride of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_get_volume

Get volume of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_load_instrument

Load instrument of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_load_midi_locale

Load midi locale of sf2_synth_util.

since: 3.16.0

ags_sf2_synth_util_set_bank

Set bank of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_buffer_length

Set buffer_length of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_format

Set format of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_frame_count

Set frame_count of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_instrument

Set instrument of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_loop_end

Set loop_end of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_loop_mode

Set loop_mode of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_loop_start

Set loop_start of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_midi_key

Set midi_key of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_note

Set note of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_note_256th_mode

Set note_256th_mode of sf2_synth_util.

since: 6.1.0

ags_sf2_synth_util_set_offset

Set offset of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_offset_256th

Set offset_256th of sf2_synth_util.

since: 6.1.0

ags_sf2_synth_util_set_pitch_type

Set pitch_type of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_set_pitch_util

Set pitch_util of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_set_preset

Set preset of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_program

Set program of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_resample_util

Set resample_util of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_sample

Set sample of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_samplerate

Set samplerate of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_sf2_file

Set Soundfont2 file of sf2_synth_util.

since: 4.0.0

ags_sf2_synth_util_set_source

Set source buffer of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_source_stride

Set source stride of sf2_synth_util.

since: 3.9.6

ags_sf2_synth_util_set_volume

Set volume of sf2_synth_util.

since: 3.9.6