Top |
guint | attack | 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 |
guint | loop-end | Read / Write |
guint | loop-start | Read / Write |
char * | pitch-type | Read / Write |
guint | samplerate | Read / Write |
double | tuning | Read / Write |
double | volume | Read / Write |
#define AGS_SFZ_SYNTH_GENERATOR_GET_OBJ_MUTEX(obj) (&(((AgsSFZSynthGenerator *) obj)->obj_mutex))
GRecMutex *
ags_sfz_synth_generator_get_obj_mutex (AgsSFZSynthGenerator *sfz_synth_generator
);
Get object mutex.
Since: 3.4.0
gchar *
ags_sfz_synth_generator_get_filename (AgsSFZSynthGenerator *sfz_synth_generator
);
Gets filename.
Since: 3.4.0
void ags_sfz_synth_generator_set_filename (AgsSFZSynthGenerator *sfz_synth_generator
,gchar *filename
);
Set filename.
Since: 3.4.0
guint
ags_sfz_synth_generator_get_samplerate
(AgsSFZSynthGenerator *sfz_synth_generator
);
Gets samplerate.
Since: 3.4.0
void ags_sfz_synth_generator_set_samplerate (AgsSFZSynthGenerator *sfz_synth_generator
,guint samplerate
);
Set samplerate.
Since: 3.4.0
guint
ags_sfz_synth_generator_get_buffer_size
(AgsSFZSynthGenerator *sfz_synth_generator
);
Gets buffer size.
Since: 3.4.0
void ags_sfz_synth_generator_set_buffer_size (AgsSFZSynthGenerator *sfz_synth_generator
,guint buffer_size
);
Set buffer size.
Since: 3.4.0
AgsSoundcardFormat
ags_sfz_synth_generator_get_format (AgsSFZSynthGenerator *sfz_synth_generator
);
Gets format.
Since: 3.4.0
void ags_sfz_synth_generator_set_format (AgsSFZSynthGenerator *sfz_synth_generator
,AgsSoundcardFormat format
);
Set format.
Since: 3.4.0
gchar *
ags_sfz_synth_generator_get_pitch_type
(AgsSFZSynthGenerator *sfz_synth_generator
);
Gets pitch type.
Since: 3.9.0
void ags_sfz_synth_generator_set_pitch_type (AgsSFZSynthGenerator *sfz_synth_generator
,gchar *pitch_type
);
Set pitch type.
Since: 3.9.0
gdouble
ags_sfz_synth_generator_get_delay (AgsSFZSynthGenerator *sfz_synth_generator
);
Gets delay.
Since: 3.4.0
void ags_sfz_synth_generator_set_delay (AgsSFZSynthGenerator *sfz_synth_generator
,gdouble delay
);
Sets delay.
Since: 3.4.0
guint
ags_sfz_synth_generator_get_frame_count
(AgsSFZSynthGenerator *sfz_synth_generator
);
Gets frame count.
Since: 3.4.0
void ags_sfz_synth_generator_set_frame_count (AgsSFZSynthGenerator *sfz_synth_generator
,guint frame_count
);
Sets frame count.
Since: 3.4.0
guint
ags_sfz_synth_generator_get_loop_start
(AgsSFZSynthGenerator *sfz_synth_generator
);
Gets loop start.
Since: 3.4.0
void ags_sfz_synth_generator_set_loop_start (AgsSFZSynthGenerator *sfz_synth_generator
,guint loop_start
);
Sets loop start.
Since: 3.4.0
guint
ags_sfz_synth_generator_get_loop_end (AgsSFZSynthGenerator *sfz_synth_generator
);
Gets loop end.
Since: 3.4.0
void ags_sfz_synth_generator_set_loop_end (AgsSFZSynthGenerator *sfz_synth_generator
,guint loop_end
);
Sets loop end.
Since: 3.4.0
gdouble
ags_sfz_synth_generator_get_base_key (AgsSFZSynthGenerator *sfz_synth_generator
);
Gets base key.
Since: 3.4.0
void ags_sfz_synth_generator_set_base_key (AgsSFZSynthGenerator *sfz_synth_generator
,gdouble base_key
);
Sets base key.
Since: 3.4.0
gdouble
ags_sfz_synth_generator_get_tuning (AgsSFZSynthGenerator *sfz_synth_generator
);
Gets tuning.
Since: 3.4.0
void ags_sfz_synth_generator_set_tuning (AgsSFZSynthGenerator *sfz_synth_generator
,gdouble tuning
);
Sets tuning.
Since: 3.4.0
AgsTimestamp *
ags_sfz_synth_generator_get_timestamp (AgsSFZSynthGenerator *sfz_synth_generator
);
Get timestamp.
Since: 3.4.0
void ags_sfz_synth_generator_set_timestamp (AgsSFZSynthGenerator *sfz_synth_generator
,AgsTimestamp *timestamp
);
Set timestamp.
Since: 3.4.0
void ags_sfz_synth_generator_compute (AgsSFZSynthGenerator *sfz_synth_generator
,GObject *audio_signal
,gdouble note
);
Compute instrument for note
.
Since: 3.4.0
AgsSFZSynthGenerator * ags_sfz_synth_generator_new ();
Creates an AgsSFZSynthGenerator
Since: 3.4.0
#define AGS_SFZ_SYNTH_GENERATOR_DEFAULT_SAMPLERATE ((guint) AGS_SOUNDCARD_DEFAULT_SAMPLERATE)
#define AGS_SFZ_SYNTH_GENERATOR_DEFAULT_BUFFER_SIZE (AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE)
#define AGS_SFZ_SYNTH_GENERATOR_DEFAULT_FORMAT (AGS_SOUNDCARD_DEFAULT_FORMAT)
#define AGS_SFZ_SYNTH_GENERATOR_DEFAULT_PITCH_TYPE "ags-fluid-4th-order"
“attack”
property “attack” guint
The attack to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.11
“base-key”
property “base-key” double
The base key to be used.
Owner: AgsSFZSynthGenerator
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: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 1024
Since: 3.4.0
“delay”
property “delay” double
The delay to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since: 3.4.11
“filename”
property “filename” char *
The assigned filename.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: NULL
Since: 3.4.0
“format”
property “format” guint
The format to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 16
Since: 3.4.0
“frame-count”
property “frame-count” guint
The frame count to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“loop-end”
property “loop-end” guint
The loop end to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“loop-start”
property “loop-start” guint
The loop start to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.4.0
“pitch-type”
property “pitch-type” char *
The pitch type to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: "ags-fluid-4th-order"
Since: 3.9.0
“samplerate”
property “samplerate” guint
The samplerate to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Default value: 48000
Since: 3.4.0
“tuning”
property “tuning” double
The tuning to be used.
Owner: AgsSFZSynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since: 3.4.0