Top |
guint | attack | Read / Write |
int | bank | Read / Write |
double | base-key | Read / Write |
guint | buffer-size | Read / Write |
double | delay | Read / Write |
char * | filename | Read / Write |
guint | format | Read / Write |
guint | frame-count | Read / Write |
char * | instrument | Read / Write |
guint | loop-end | Read / Write |
guint | loop-start | Read / Write |
char * | pitch-type | Read / Write |
char * | preset | Read / Write |
int | program | Read / Write |
guint | samplerate | Read / Write |
double | tuning | Read / Write |
double | volume | Read / Write |
guint | attack | Read / Write |
int | bank | Read / Write |
double | base-key | Read / Write |
guint | buffer-size | Read / Write |
double | delay | Read / Write |
char * | filename | Read / Write |
guint | format | Read / Write |
guint | frame-count | Read / Write |
char * | instrument | Read / Write |
guint | loop-end | Read / Write |
guint | loop-start | Read / Write |
char * | pitch-type | Read / Write |
char * | preset | Read / Write |
int | program | Read / Write |
guint | samplerate | Read / Write |
double | tuning | Read / Write |
double | volume | Read / Write |
#define AGS_SF2_SYNTH_GENERATOR_GET_OBJ_MUTEX(obj) (&(((AgsSF2SynthGenerator *) obj)->obj_mutex))
GRecMutex *
ags_sf2_synth_generator_get_obj_mutex (AgsSF2SynthGenerator *sf2_synth_generator
);
Get object mutex.
Since: 3.4.0
gboolean ags_sf2_synth_generator_test_flags (AgsSF2SynthGenerator *sf2_synth_generator
,AgsSF2SynthGeneratorFlags flags
);
Test flags
to be set on sf2_synth_generator
.
Since: 3.4.0
void ags_sf2_synth_generator_set_flags (AgsSF2SynthGenerator *sf2_synth_generator
,AgsSF2SynthGeneratorFlags flags
);
Set flags
on sf2_synth_generator
.
Since: 3.4.0
void ags_sf2_synth_generator_unset_flags (AgsSF2SynthGenerator *sf2_synth_generator
,AgsSF2SynthGeneratorFlags flags
);
Unset flags
on sf2_synth_generator
.
Since: 3.4.0
gchar *
ags_sf2_synth_generator_get_filename (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets filename.
Since: 3.4.0
void ags_sf2_synth_generator_set_filename (AgsSF2SynthGenerator *sf2_synth_generator
,gchar *filename
);
Set filename.
Since: 3.4.0
gchar *
ags_sf2_synth_generator_get_preset (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets preset.
Since: 3.4.0
void ags_sf2_synth_generator_set_preset (AgsSF2SynthGenerator *sf2_synth_generator
,gchar *preset
);
Set preset.
Since: 3.4.0
gchar *
ags_sf2_synth_generator_get_instrument
(AgsSF2SynthGenerator *sf2_synth_generator
);
Gets instrument.
Since: 3.4.0
void ags_sf2_synth_generator_set_instrument (AgsSF2SynthGenerator *sf2_synth_generator
,gchar *instrument
);
Set instrument.
Since: 3.4.0
gint
ags_sf2_synth_generator_get_bank (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets bank.
Since: 3.4.0
void ags_sf2_synth_generator_set_bank (AgsSF2SynthGenerator *sf2_synth_generator
,gint bank
);
Set buffer size.
Since: 3.4.0
gint
ags_sf2_synth_generator_get_program (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets program.
Since: 3.4.0
void ags_sf2_synth_generator_set_program (AgsSF2SynthGenerator *sf2_synth_generator
,gint program
);
Set buffer size.
Since: 3.4.0
guint
ags_sf2_synth_generator_get_samplerate
(AgsSF2SynthGenerator *sf2_synth_generator
);
Gets samplerate.
Since: 3.4.0
void ags_sf2_synth_generator_set_samplerate (AgsSF2SynthGenerator *sf2_synth_generator
,guint samplerate
);
Set samplerate.
Since: 3.4.0
guint
ags_sf2_synth_generator_get_buffer_size
(AgsSF2SynthGenerator *sf2_synth_generator
);
Gets buffer size.
Since: 3.4.0
void ags_sf2_synth_generator_set_buffer_size (AgsSF2SynthGenerator *sf2_synth_generator
,guint buffer_size
);
Set buffer size.
Since: 3.4.0
AgsSoundcardFormat
ags_sf2_synth_generator_get_format (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets format.
Since: 3.4.0
void ags_sf2_synth_generator_set_format (AgsSF2SynthGenerator *sf2_synth_generator
,AgsSoundcardFormat format
);
Set format.
Since: 3.4.0
gchar *
ags_sf2_synth_generator_get_pitch_type
(AgsSF2SynthGenerator *sf2_synth_generator
);
Gets pitch type.
Since: 3.9.0
void ags_sf2_synth_generator_set_pitch_type (AgsSF2SynthGenerator *sf2_synth_generator
,gchar *pitch_type
);
Set pitch type.
Since: 3.9.0
gdouble
ags_sf2_synth_generator_get_delay (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets delay.
Since: 3.4.0
void ags_sf2_synth_generator_set_delay (AgsSF2SynthGenerator *sf2_synth_generator
,gdouble delay
);
Sets delay.
Since: 3.4.0
guint
ags_sf2_synth_generator_get_frame_count
(AgsSF2SynthGenerator *sf2_synth_generator
);
Gets frame count.
Since: 3.4.0
void ags_sf2_synth_generator_set_frame_count (AgsSF2SynthGenerator *sf2_synth_generator
,guint frame_count
);
Sets frame count.
Since: 3.4.0
guint
ags_sf2_synth_generator_get_loop_start
(AgsSF2SynthGenerator *sf2_synth_generator
);
Gets loop start.
Since: 3.4.0
void ags_sf2_synth_generator_set_loop_start (AgsSF2SynthGenerator *sf2_synth_generator
,guint loop_start
);
Sets loop start.
Since: 3.4.0
guint
ags_sf2_synth_generator_get_loop_end (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets loop end.
Since: 3.4.0
void ags_sf2_synth_generator_set_loop_end (AgsSF2SynthGenerator *sf2_synth_generator
,guint loop_end
);
Sets loop end.
Since: 3.4.0
gdouble
ags_sf2_synth_generator_get_base_key (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets base key.
Since: 3.4.0
void ags_sf2_synth_generator_set_base_key (AgsSF2SynthGenerator *sf2_synth_generator
,gdouble base_key
);
Sets base key.
Since: 3.4.0
gdouble
ags_sf2_synth_generator_get_tuning (AgsSF2SynthGenerator *sf2_synth_generator
);
Gets tuning.
Since: 3.4.0
void ags_sf2_synth_generator_set_tuning (AgsSF2SynthGenerator *sf2_synth_generator
,gdouble tuning
);
Sets tuning.
Since: 3.4.0
AgsTimestamp *
ags_sf2_synth_generator_get_timestamp (AgsSF2SynthGenerator *sf2_synth_generator
);
Get timestamp.
Since: 3.4.0
void ags_sf2_synth_generator_set_timestamp (AgsSF2SynthGenerator *sf2_synth_generator
,AgsTimestamp *timestamp
);
Set timestamp.
Since: 3.4.0
void ags_sf2_synth_generator_compute (AgsSF2SynthGenerator *sf2_synth_generator
,GObject *audio_signal
,gdouble note
);
Compute SF2 synth for note
.
Since: 3.4.0
void ags_sf2_synth_generator_compute_instrument (AgsSF2SynthGenerator *sf2_synth_generator
,GObject *audio_signal
,gchar *preset
,gchar *instrument
,gdouble note
);
Compute instrument for note
.
sf2_synth_generator |
||
audio_signal |
the AgsAudioSignal |
|
preset |
the preset |
|
instrument |
the instrument |
|
note |
the note to compute |
Since: 3.4.0
void ags_sf2_synth_generator_compute_midi_locale (AgsSF2SynthGenerator *sf2_synth_generator
,GObject *audio_signal
,gint bank
,gint program
,gdouble note
);
Compute synth for note
.
sf2_synth_generator |
||
audio_signal |
the AgsAudioSignal |
|
bank |
the bank |
|
program |
the program |
|
note |
the note to compute |
Since: 3.4.0
AgsSF2SynthGenerator * ags_sf2_synth_generator_new ();
Creates an AgsSF2SynthGenerator
Since: 3.4.0
#define AGS_SF2_SYNTH_GENERATOR_DEFAULT_SAMPLERATE ((guint) AGS_SOUNDCARD_DEFAULT_SAMPLERATE)
#define AGS_SF2_SYNTH_GENERATOR_DEFAULT_BUFFER_SIZE (AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE)
#define AGS_SF2_SYNTH_GENERATOR_DEFAULT_FORMAT (AGS_SOUNDCARD_DEFAULT_FORMAT)
#define AGS_SF2_SYNTH_GENERATOR_DEFAULT_PITCH_TYPE "ags-fluid-4th-order"
“attack”
property “attack” guint
The attack to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.11
“bank”
property “bank” int
The bank to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since: 3.4.0
“base-key”
property “base-key” double
The base key to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [-65535,65535]
Default value: -48
Since: 3.4.0
“buffer-size”
property “buffer-size” guint
The buffer size to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 1024
Since: 3.4.0
“delay”
property “delay” double
The delay to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since: 3.4.11
“filename”
property “filename” char *
The assigned filename.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“format”
property “format” guint
The format to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 16
Since: 3.4.0
“frame-count”
property “frame-count” guint
The frame count to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“instrument”
property “instrument” char *
The assigned instrument.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“loop-end”
property “loop-end” guint
The loop end to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“loop-start”
property “loop-start” guint
The loop start to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“pitch-type”
property “pitch-type” char *
The pitch type to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: "ags-fluid-4th-order"
Since: 3.9.0
“preset”
property “preset” char *
The assigned preset.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“program”
property “program” int
The program to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since: 3.4.0
“samplerate”
property “samplerate” guint
The samplerate to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 48000
Since: 3.4.0
“tuning”
property “tuning” double
The tuning to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since: 3.4.0
“volume”
property “volume” double
The volume to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [0,2]
Default value: 1
Since: 3.4.11
“attack”
property “attack” guint
The attack to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.11
“bank”
property “bank” int
The bank to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since: 3.4.0
“base-key”
property “base-key” double
The base key to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [-65535,65535]
Default value: -48
Since: 3.4.0
“buffer-size”
property “buffer-size” guint
The buffer size to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 1024
Since: 3.4.0
“delay”
property “delay” double
The delay to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since: 3.4.11
“filename”
property “filename” char *
The assigned filename.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“format”
property “format” guint
The format to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 16
Since: 3.4.0
“frame-count”
property “frame-count” guint
The frame count to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“instrument”
property “instrument” char *
The assigned instrument.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“loop-end”
property “loop-end” guint
The loop end to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“loop-start”
property “loop-start” guint
The loop start to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“pitch-type”
property “pitch-type” char *
The pitch type to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: "ags-fluid-4th-order"
Since: 3.9.0
“preset”
property “preset” char *
The assigned preset.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“program”
property “program” int
The program to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since: 3.4.0
“samplerate”
property “samplerate” guint
The samplerate to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Default value: 48000
Since: 3.4.0
“tuning”
property “tuning” double
The tuning to be used.
Owner: AgsSF2SynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since: 3.4.0