Top |
guint | attack | Read / Write |
guint | buffer-size | Read / Write |
double | delay | Read / Write |
gboolean | do-fm-synth | Read / Write |
gboolean | do-lfo | Read / Write |
double | fm-lfo-depth | Read / Write |
double | fm-lfo-frequency | Read / Write |
guint | fm-lfo-oscillator | Read / Write |
double | fm-tuning | Read / Write |
guint | format | Read / Write |
guint | frame-count | Read / Write |
double | frequency | Read / Write |
double | lfo-depth | Read / Write |
guint | loop-end | Read / Write |
guint | loop-start | Read / Write |
guint | oscillator | Read / Write |
double | phase | Read / Write |
guint | samplerate | Read / Write |
GObject * | timestamp | Read / Write |
double | tuning | Read / Write |
double | volume | Read / Write |
#define AGS_SYNTH_GENERATOR_GET_OBJ_MUTEX(obj) (&(((AgsSynthGenerator *) obj)->obj_mutex))
GRecMutex *
ags_synth_generator_get_obj_mutex (AgsSynthGenerator *synth_generator
);
Get object mutex.
Since: 3.1.0
guint
ags_synth_generator_get_samplerate (AgsSynthGenerator *synth_generator
);
Gets samplerate.
Since: 3.1.0
void ags_synth_generator_set_samplerate (AgsSynthGenerator *synth_generator
,guint samplerate
);
Set samplerate.
Since: 3.0.0
guint
ags_synth_generator_get_buffer_size (AgsSynthGenerator *synth_generator
);
Gets buffer size.
Since: 3.1.0
void ags_synth_generator_set_buffer_size (AgsSynthGenerator *synth_generator
,guint buffer_size
);
Set buffer size.
Since: 3.0.0
AgsSoundcardFormat
ags_synth_generator_get_format (AgsSynthGenerator *synth_generator
);
Gets format.
Since: 3.1.0
void ags_synth_generator_set_format (AgsSynthGenerator *synth_generator
,AgsSoundcardFormat format
);
Set format.
Since: 3.0.0
gdouble
ags_synth_generator_get_delay (AgsSynthGenerator *synth_generator
);
Gets delay.
Since: 3.1.0
void ags_synth_generator_set_delay (AgsSynthGenerator *synth_generator
,gdouble delay
);
Sets delay.
Since: 3.1.0
guint
ags_synth_generator_get_frame_count (AgsSynthGenerator *synth_generator
);
Gets frame count.
Since: 3.1.0
void ags_synth_generator_set_frame_count (AgsSynthGenerator *synth_generator
,guint frame_count
);
Sets frame count.
Since: 3.1.0
guint
ags_synth_generator_get_loop_start (AgsSynthGenerator *synth_generator
);
Gets loop start.
Since: 3.1.0
void ags_synth_generator_set_loop_start (AgsSynthGenerator *synth_generator
,guint loop_start
);
Sets loop start.
Since: 3.1.0
guint
ags_synth_generator_get_loop_end (AgsSynthGenerator *synth_generator
);
Gets loop end.
Since: 3.1.0
void ags_synth_generator_set_loop_end (AgsSynthGenerator *synth_generator
,guint loop_end
);
Sets loop end.
Since: 3.1.0
gboolean
ags_synth_generator_get_do_lfo (AgsSynthGenerator *synth_generator
);
Gets do lfo.
Since: 3.1.0
void ags_synth_generator_set_do_lfo (AgsSynthGenerator *synth_generator
,gboolean do_lfo
);
Sets do lfo.
Since: 3.1.0
guint
ags_synth_generator_get_oscillator (AgsSynthGenerator *synth_generator
);
Gets oscillator.
Since: 3.1.0
void ags_synth_generator_set_oscillator (AgsSynthGenerator *synth_generator
,guint oscillator
);
Sets oscillator.
Since: 3.1.0
gdouble
ags_synth_generator_get_frequency (AgsSynthGenerator *synth_generator
);
Gets frequency.
Since: 3.1.0
void ags_synth_generator_set_frequency (AgsSynthGenerator *synth_generator
,gdouble frequency
);
Sets frequency.
Since: 3.1.0
gdouble
ags_synth_generator_get_phase (AgsSynthGenerator *synth_generator
);
Gets phase.
Since: 3.1.0
void ags_synth_generator_set_phase (AgsSynthGenerator *synth_generator
,gdouble phase
);
Sets phase.
Since: 3.1.0
gdouble
ags_synth_generator_get_volume (AgsSynthGenerator *synth_generator
);
Gets volume.
Since: 3.1.0
void ags_synth_generator_set_volume (AgsSynthGenerator *synth_generator
,gdouble volume
);
Sets volume.
Since: 3.1.0
gdouble
ags_synth_generator_get_lfo_depth (AgsSynthGenerator *synth_generator
);
Gets LFO depth.
Since: 3.1.0
void ags_synth_generator_set_lfo_depth (AgsSynthGenerator *synth_generator
,gdouble lfo_depth
);
Sets LFO depth.
Since: 3.1.0
gdouble
ags_synth_generator_get_tuning (AgsSynthGenerator *synth_generator
);
Gets tuning.
Since: 3.1.0
void ags_synth_generator_set_tuning (AgsSynthGenerator *synth_generator
,gdouble tuning
);
Sets tuning.
Since: 3.1.0
AgsComplex *
ags_synth_generator_get_sync_point (AgsSynthGenerator *synth_generator
);
Get sync points of synth_generator
.
Since: 4.4.2
void ags_synth_generator_set_sync_point (AgsSynthGenerator *synth_generator
,gint position
,AgsComplex *value
);
Set value
as sync point at position
of synth_generator
.
Since: 4.4.2
guint
ags_synth_generator_get_sync_point_count
(AgsSynthGenerator *synth_generator
);
Get sync point count of synth_generator
.
Since: 4.4.2
void ags_synth_generator_set_sync_point_count (AgsSynthGenerator *synth_generator
,guint sync_point_count
);
Set sync point count and realloc sync points of synth_generator
.
Since: 4.4.2
gboolean
ags_synth_generator_get_do_fm_synth (AgsSynthGenerator *synth_generator
);
Gets do FM synth.
Since: 3.1.0
void ags_synth_generator_set_do_fm_synth (AgsSynthGenerator *synth_generator
,gboolean do_fm_synth
);
Sets do FM synth.
Since: 3.1.0
guint
ags_synth_generator_get_fm_lfo_oscillator
(AgsSynthGenerator *synth_generator
);
Gets FM LFO oscillator.
Since: 3.1.0
void ags_synth_generator_set_fm_lfo_oscillator (AgsSynthGenerator *synth_generator
,guint fm_lfo_oscillator
);
Sets FM LFO oscillator.
Since: 3.1.0
gdouble
ags_synth_generator_get_fm_lfo_frequency
(AgsSynthGenerator *synth_generator
);
Gets FM LFO frequency.
Since: 3.1.0
void ags_synth_generator_set_fm_lfo_frequency (AgsSynthGenerator *synth_generator
,gdouble fm_lfo_frequency
);
Sets FM LFO frequency.
Since: 3.1.0
gdouble
ags_synth_generator_get_fm_lfo_depth (AgsSynthGenerator *synth_generator
);
Gets FM LFO depth.
Since: 3.1.0
void ags_synth_generator_set_fm_lfo_depth (AgsSynthGenerator *synth_generator
,gdouble fm_lfo_depth
);
Sets FM LFO depth.
Since: 3.1.0
gdouble
ags_synth_generator_get_fm_tuning (AgsSynthGenerator *synth_generator
);
Gets FM tuning.
Since: 3.1.0
void ags_synth_generator_set_fm_tuning (AgsSynthGenerator *synth_generator
,gdouble fm_tuning
);
Sets FM tuning.
Since: 3.1.0
AgsTimestamp *
ags_synth_generator_get_timestamp (AgsSynthGenerator *synth_generator
);
Get timestamp.
Since: 3.1.0
void ags_synth_generator_set_timestamp (AgsSynthGenerator *synth_generator
,AgsTimestamp *timestamp
);
Set timestamp.
Since: 3.1.0
void ags_synth_generator_compute (AgsSynthGenerator *synth_generator
,GObject *audio_signal
,gdouble note
);
Compute synth for note
.
Since: 3.0.0
AgsSynthGenerator * ags_synth_generator_new ();
Creates an AgsSynthGenerator
Since: 3.0.0
#define AGS_SYNTH_GENERATOR_DEFAULT_SAMPLERATE ((guint) AGS_SOUNDCARD_DEFAULT_SAMPLERATE)
#define AGS_SYNTH_GENERATOR_DEFAULT_BUFFER_SIZE (AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE)
#define AGS_SYNTH_GENERATOR_DEFAULT_FORMAT (AGS_SOUNDCARD_DEFAULT_FORMAT)
#define AGS_SYNTH_GENERATOR_DEFAULT_OSCILLATOR (AGS_SYNTH_OSCILLATOR_SIN)
#define AGS_SYNTH_GENERATOR_DEFAULT_FM_LFO_FREQUENCY (6.0)
“attack”
property “attack” guint
The attack to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.0.0
“buffer-size”
property “buffer-size” guint
The buffer size to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 1024
Since: 3.0.0
“delay”
property “delay” double
The delay to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since: 3.0.0
“do-fm-synth”
property “do-fm-synth” gboolean
If TRUE
compute FM synth, otherwise not.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“do-lfo”
property “do-lfo” gboolean
If TRUE
compute LFO amplification, otherwise not.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“fm-lfo-depth”
property “fm-lfo-depth” double
The fm LFO depth to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
Since: 3.0.0
“fm-lfo-frequency”
property “fm-lfo-frequency” double
The fm LFO frequency to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0.001,27.5]
Default value: 6
Since: 3.0.0
“fm-lfo-oscillator”
property “fm-lfo-oscillator” guint
The frame count to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.0.0
“fm-tuning”
property “fm-tuning” double
The fm tuning to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since: 3.0.0
“format”
property “format” guint
The format to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 16
Since: 3.0.0
“frame-count”
property “frame-count” guint
The frame count to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.0.0
“frequency”
property “frequency” double
The frequency to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 440
Since: 3.0.0
“lfo-depth”
property “lfo-depth” double
The LFO depth to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
Since: 3.0.0
“loop-end”
property “loop-end” guint
The loop end to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.0.0
“loop-start”
property “loop-start” guint
The loop start to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.0.0
“oscillator”
property “oscillator” guint
The oscillator to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since: 3.0.0
“phase”
property “phase” double
The phase to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since: 3.0.0
“samplerate”
property “samplerate” guint
The samplerate to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 48000
Since: 3.0.0
“timestamp”
property “timestamp” GObject *
The assigned timestamp.
Owner: AgsSynthGenerator
Flags: Read / Write
Since: 3.0.0
“tuning”
property “tuning” double
The tuning to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since: 3.0.0