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