Top |
Functions
Properties
attack | Read / Write | |
buffer-size | Read / Write | |
delay | Read / Write | |
do-fm-synth | Read / Write | |
do-lfo | Read / Write | |
fm-lfo-depth | Read / Write | |
fm-lfo-frequency | Read / Write | |
fm-lfo-oscillator | Read / Write | |
fm-tuning | Read / Write | |
format | Read / Write | |
frame-count | Read / Write | |
frequency | Read / Write | |
lfo-depth | Read / Write | |
loop-end | Read / Write | |
loop-start | Read / Write | |
oscillator | Read / Write | |
phase | Read / Write | |
samplerate | Read / Write | |
|
timestamp | Read / Write |
tuning | Read / Write | |
volume | Read / Write |
Types and Values
#define | AGS_SYNTH_GENERATOR_DEFAULT_SAMPLERATE |
#define | AGS_SYNTH_GENERATOR_DEFAULT_BUFFER_SIZE |
#define | AGS_SYNTH_GENERATOR_DEFAULT_FORMAT |
#define | AGS_SYNTH_GENERATOR_DEFAULT_OSCILLATOR |
#define | AGS_SYNTH_GENERATOR_DEFAULT_FREQUENCY |
#define | AGS_SYNTH_GENERATOR_DEFAULT_PHASE |
#define | AGS_SYNTH_GENERATOR_DEFAULT_VOLUME |
#define | AGS_SYNTH_GENERATOR_DEFAULT_LFO_DEPTH |
#define | AGS_SYNTH_GENERATOR_DEFAULT_TUNING |
#define | AGS_SYNTH_GENERATOR_DEFAULT_FM_LFO_FREQUENCY |
#define | AGS_SYNTH_GENERATOR_DEFAULT_FM_LFO_DEPTH |
#define | AGS_SYNTH_GENERATOR_DEFAULT_FM_TUNING |
enum | AgsSynthGeneratorOscillator |
#define | AGS_TYPE_SYNTH_GENERATOR |
struct | AgsSynthGenerator |
struct | AgsSynthGeneratorClass |
Functions
AGS_SYNTH_GENERATOR_GET_OBJ_MUTEX()
#define AGS_SYNTH_GENERATOR_GET_OBJ_MUTEX(obj) (&(((AgsSynthGenerator *) obj)->obj_mutex))
ags_synth_generator_get_obj_mutex ()
GRecMutex * ags_synth_generator_get_obj_mutex (AgsSynthGenerator *synth_generator
);
Get object mutex.
Since:
ags_synth_generator_get_samplerate ()
guint ags_synth_generator_get_samplerate (AgsSynthGenerator *synth_generator
);
Gets samplerate.
Since:
ags_synth_generator_set_samplerate ()
void ags_synth_generator_set_samplerate (AgsSynthGenerator *synth_generator
,);
guint samplerate
Set samplerate.
Since:
ags_synth_generator_get_buffer_size ()
guint ags_synth_generator_get_buffer_size (AgsSynthGenerator *synth_generator
);
Gets buffer size.
Since:
ags_synth_generator_set_buffer_size ()
void ags_synth_generator_set_buffer_size (AgsSynthGenerator *synth_generator
,);
guint buffer_size
Set buffer size.
Since:
ags_synth_generator_get_format ()
guint ags_synth_generator_get_format (AgsSynthGenerator *synth_generator
);
Gets format.
Since:
ags_synth_generator_set_format ()
void ags_synth_generator_set_format (AgsSynthGenerator *synth_generator
,);
guint format
Set format.
Since:
ags_synth_generator_get_delay ()
gdouble ags_synth_generator_get_delay (AgsSynthGenerator *synth_generator
);
Gets delay.
Since:
ags_synth_generator_set_delay ()
void ags_synth_generator_set_delay (AgsSynthGenerator *synth_generator
,);
gdouble delay
Sets delay.
Since:
ags_synth_generator_get_frame_count ()
guint ags_synth_generator_get_frame_count (AgsSynthGenerator *synth_generator
);
Gets frame count.
Since:
ags_synth_generator_set_frame_count ()
void ags_synth_generator_set_frame_count (AgsSynthGenerator *synth_generator
,);
guint frame_count
Sets frame count.
Since:
ags_synth_generator_get_loop_start ()
guint ags_synth_generator_get_loop_start (AgsSynthGenerator *synth_generator
);
Gets loop start.
Since:
ags_synth_generator_set_loop_start ()
void ags_synth_generator_set_loop_start (AgsSynthGenerator *synth_generator
,);
guint loop_start
Sets loop start.
Since:
ags_synth_generator_get_loop_end ()
guint ags_synth_generator_get_loop_end (AgsSynthGenerator *synth_generator
);
Gets loop end.
Since:
ags_synth_generator_set_loop_end ()
void ags_synth_generator_set_loop_end (AgsSynthGenerator *synth_generator
,);
guint loop_end
Sets loop end.
Since:
ags_synth_generator_get_do_lfo ()
gboolean ags_synth_generator_get_do_lfo (AgsSynthGenerator *synth_generator
);
Gets do lfo.
Since:
ags_synth_generator_set_do_lfo ()
void ags_synth_generator_set_do_lfo (AgsSynthGenerator *synth_generator
,);
gboolean do_lfo
Sets do lfo.
Since:
ags_synth_generator_get_oscillator ()
guint ags_synth_generator_get_oscillator (AgsSynthGenerator *synth_generator
);
Gets oscillator.
Since:
ags_synth_generator_set_oscillator ()
void ags_synth_generator_set_oscillator (AgsSynthGenerator *synth_generator
,);
guint oscillator
Sets oscillator.
Since:
ags_synth_generator_get_frequency ()
gdouble ags_synth_generator_get_frequency (AgsSynthGenerator *synth_generator
);
Gets frequency.
Since:
ags_synth_generator_set_frequency ()
void ags_synth_generator_set_frequency (AgsSynthGenerator *synth_generator
,);
gdouble frequency
Sets frequency.
Since:
ags_synth_generator_get_phase ()
gdouble ags_synth_generator_get_phase (AgsSynthGenerator *synth_generator
);
Gets phase.
Since:
ags_synth_generator_set_phase ()
void ags_synth_generator_set_phase (AgsSynthGenerator *synth_generator
,);
gdouble phase
Sets phase.
Since:
ags_synth_generator_get_volume ()
gdouble ags_synth_generator_get_volume (AgsSynthGenerator *synth_generator
);
Gets volume.
Since:
ags_synth_generator_set_volume ()
void ags_synth_generator_set_volume (AgsSynthGenerator *synth_generator
,);
gdouble volume
Sets volume.
Since:
ags_synth_generator_get_lfo_depth ()
gdouble ags_synth_generator_get_lfo_depth (AgsSynthGenerator *synth_generator
);
Gets LFO depth.
Since:
ags_synth_generator_set_lfo_depth ()
void ags_synth_generator_set_lfo_depth (AgsSynthGenerator *synth_generator
,);
gdouble lfo_depth
Sets LFO depth.
Since:
ags_synth_generator_get_tuning ()
gdouble ags_synth_generator_get_tuning (AgsSynthGenerator *synth_generator
);
Gets tuning.
Since:
ags_synth_generator_set_tuning ()
void ags_synth_generator_set_tuning (AgsSynthGenerator *synth_generator
,);
gdouble tuning
Sets tuning.
Since:
ags_synth_generator_get_do_fm_synth ()
gboolean ags_synth_generator_get_do_fm_synth (AgsSynthGenerator *synth_generator
);
Gets do FM synth.
Since:
ags_synth_generator_set_do_fm_synth ()
void ags_synth_generator_set_do_fm_synth (AgsSynthGenerator *synth_generator
,);
gboolean do_fm_synth
Sets do FM synth.
Since:
ags_synth_generator_get_fm_lfo_oscillator ()
guint ags_synth_generator_get_fm_lfo_oscillator (AgsSynthGenerator *synth_generator
);
Gets FM LFO oscillator.
Since:
ags_synth_generator_set_fm_lfo_oscillator ()
void ags_synth_generator_set_fm_lfo_oscillator (AgsSynthGenerator *synth_generator
,);
guint fm_lfo_oscillator
Sets FM LFO oscillator.
Since:
ags_synth_generator_get_fm_lfo_frequency ()
gdouble ags_synth_generator_get_fm_lfo_frequency (AgsSynthGenerator *synth_generator
);
Gets FM LFO frequency.
Since:
ags_synth_generator_set_fm_lfo_frequency ()
void ags_synth_generator_set_fm_lfo_frequency (AgsSynthGenerator *synth_generator
,);
gdouble fm_lfo_frequency
Sets FM LFO frequency.
Since:
ags_synth_generator_get_fm_lfo_depth ()
gdouble ags_synth_generator_get_fm_lfo_depth (AgsSynthGenerator *synth_generator
);
Gets FM LFO depth.
Since:
ags_synth_generator_set_fm_lfo_depth ()
void ags_synth_generator_set_fm_lfo_depth (AgsSynthGenerator *synth_generator
,);
gdouble fm_lfo_depth
Sets FM LFO depth.
Since:
ags_synth_generator_get_fm_tuning ()
gdouble ags_synth_generator_get_fm_tuning (AgsSynthGenerator *synth_generator
);
Gets FM tuning.
Since:
ags_synth_generator_set_fm_tuning ()
void ags_synth_generator_set_fm_tuning (AgsSynthGenerator *synth_generator
,);
gdouble fm_tuning
Sets FM tuning.
Since:
ags_synth_generator_get_timestamp ()
AgsTimestamp * ags_synth_generator_get_timestamp (AgsSynthGenerator *synth_generator
);
Get timestamp.
Since:
ags_synth_generator_set_timestamp ()
void ags_synth_generator_set_timestamp (AgsSynthGenerator *synth_generator
,);
AgsTimestamp *timestamp
Set timestamp.
Since:
ags_synth_generator_compute ()
void ags_synth_generator_compute (AgsSynthGenerator *synth_generator
,,
GObject *audio_signal);
gdouble note
Compute synth for note
.
Since:
ags_synth_generator_new ()
AgsSynthGenerator * ags_synth_generator_new ();
Creates an AgsSynthGenerator
Since:
AGS_IS_SYNTH_GENERATOR()
#define AGS_IS_SYNTH_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_GENERATOR))
AGS_IS_SYNTH_GENERATOR_CLASS()
#define AGS_IS_SYNTH_GENERATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_GENERATOR))
AGS_SYNTH_GENERATOR()
#define AGS_SYNTH_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_GENERATOR, AgsSynthGenerator))
AGS_SYNTH_GENERATOR_CLASS()
#define AGS_SYNTH_GENERATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH_GENERATOR, AgsSynthGeneratorClass))
AGS_SYNTH_GENERATOR_GET_CLASS()
#define AGS_SYNTH_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SYNTH_GENERATOR, AgsSynthGeneratorClass))
Types and Values
AGS_SYNTH_GENERATOR_DEFAULT_SAMPLERATE
#define AGS_SYNTH_GENERATOR_DEFAULT_SAMPLERATE ((guint) AGS_SOUNDCARD_DEFAULT_SAMPLERATE)
AGS_SYNTH_GENERATOR_DEFAULT_BUFFER_SIZE
#define AGS_SYNTH_GENERATOR_DEFAULT_BUFFER_SIZE (AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE)
AGS_SYNTH_GENERATOR_DEFAULT_FORMAT
#define AGS_SYNTH_GENERATOR_DEFAULT_FORMAT (AGS_SOUNDCARD_DEFAULT_FORMAT)
AGS_SYNTH_GENERATOR_DEFAULT_OSCILLATOR
#define AGS_SYNTH_GENERATOR_DEFAULT_OSCILLATOR (AGS_SYNTH_GENERATOR_OSCILLATOR_SIN)
AGS_SYNTH_GENERATOR_DEFAULT_FM_LFO_FREQUENCY
#define AGS_SYNTH_GENERATOR_DEFAULT_FM_LFO_FREQUENCY (6.0)
Property Details
The “attack”
property
“attack”guint
The attack to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since:
The “buffer-size”
property
“buffer-size”guint
The buffer size to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 1024
Since:
The “delay”
property
“delay”gdouble
The delay to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since:
The “do-fm-synth”
property
“do-fm-synth”gboolean
If TRUE
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: FALSE
Since:
The “do-lfo”
property
“do-lfo”gboolean
If TRUE
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: FALSE
Since:
The “fm-lfo-depth”
property
“fm-lfo-depth”gdouble
The fm LFO depth to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
Since:
The “fm-lfo-frequency”
property
“fm-lfo-frequency”gdouble
The fm LFO frequency to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0.001,27.5]
Default value: 6
Since:
The “fm-lfo-oscillator”
property
“fm-lfo-oscillator”guint
The frame count to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since:
The “fm-tuning”
property
“fm-tuning”gdouble
The fm tuning to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since:
The “format”
property
“format”guint
The format to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 16
Since:
The “frame-count”
property
“frame-count”guint
The frame count to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since:
The “frequency”
property
“frequency”gdouble
The frequency to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 440
Since:
The “lfo-depth”
property
“lfo-depth”gdouble
The LFO depth to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
Since:
The “loop-end”
property
“loop-end”guint
The loop end to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since:
The “loop-start”
property
“loop-start”guint
The loop start to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since:
The “oscillator”
property
“oscillator”guint
The oscillator to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 0
Since:
The “phase”
property
“phase”gdouble
The phase to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since:
The “samplerate”
property
“samplerate”guint
The samplerate to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Default value: 48000
Since:
The “timestamp”
property
“timestamp”GObject *
The assigned timestamp.
Owner: AgsSynthGenerator
Flags: Read / Write
Since:
The “tuning”
property
“tuning”gdouble
The tuning to be used.
Owner: AgsSynthGenerator
Flags: Read / Write
Allowed values: [0,1200]
Default value: 0
Since: