Top |
#define | AGS_FREQUENCY_MAP_GET_OBJ_MUTEX() |
gint | ags_frequency_map_sort_func () |
gboolean | ags_frequency_map_test_flags () |
void | ags_frequency_map_set_flags () |
void | ags_frequency_map_unset_flags () |
void | ags_frequency_map_process () |
void | ags_frequency_map_factorize () |
void | ags_frequency_map_compute_max_likelihood () |
AgsFrequencyMap * | ags_frequency_map_new () |
guint | attack | Read / Write |
guint | buffer-size | Read / Write |
guint | frame-count | Read / Write |
double | freq | Read / Write |
guint | oscillator-mode | Read / Write |
guint | samplerate | Read / Write |
guint | window-count | Read / Write |
guint | z-index | Read / Write |
AgsFrequencyMap stores a buffer of complex numbers. Representing an discrete sampled oscillator wave at a giving frequency.
#define AGS_FREQUENCY_MAP_GET_OBJ_MUTEX(obj) (&(((AgsFrequencyMap *) obj)->obj_mutex))
gint ags_frequency_map_sort_func (gconstpointer a
,gconstpointer b
);
Sort frequency maps.
Since: 3.0.0
gboolean ags_frequency_map_test_flags (AgsFrequencyMap *frequency_map
,AgsFrequencyMapFlags flags
);
Test flags
to be set on recall
.
Since: 3.0.0
void ags_frequency_map_set_flags (AgsFrequencyMap *frequency_map
,AgsFrequencyMapFlags flags
);
Set flags.
Since: 3.0.0
void ags_frequency_map_unset_flags (AgsFrequencyMap *frequency_map
,AgsFrequencyMapFlags flags
);
Unset flags.
Since: 3.0.0
void
ags_frequency_map_process (AgsFrequencyMap *frequency_map
);
Process frequency_map
.
Since: 3.0.0
void ags_frequency_map_factorize (AgsFrequencyMap *frequency_map
,AgsFrequencyMap *factorized_frequency_map
);
Factorize frequency_map
.
frequency_map |
the AgsFrequencyMap |
|
factorized_frequency_map |
the factorized AgsFrequencyMap |
Since: 3.0.0
void ags_frequency_map_compute_max_likelihood (AgsFrequencyMap *frequency_map
,AgsComplex *source
,AgsComplex **retval
);
Compute maximum likelihood source
and store in retval
.
frequency_map |
the AgsFrequencyMap |
|
source |
the source as AgsComplex buffer |
|
retval |
the return location of result as AgsComplex buffer |
Since: 3.0.0
“attack”
property “attack” guint
The attack to be used.
Owner: AgsFrequencyMap
Flags: Read / Write
Default value: 0
Since: 3.0.0
“buffer-size”
property “buffer-size” guint
The buffer size to be used.
Owner: AgsFrequencyMap
Flags: Read / Write
Default value: 0
Since: 3.0.0
“frame-count”
property “frame-count” guint
The initial size of audio data.
Owner: AgsFrequencyMap
Flags: Read / Write
Default value: 0
Since: 3.0.0
“freq”
property “freq” double
The freq to be used.
Owner: AgsFrequencyMap
Flags: Read / Write
Allowed values: >= -1
Default value: 440
Since: 3.0.0
“oscillator-mode”
property “oscillator-mode” guint
The oscillator mode to be used.
Owner: AgsFrequencyMap
Flags: Read / Write
Default value: 0
Since: 3.0.0
“samplerate”
property “samplerate” guint
The samplerate to be used.
Owner: AgsFrequencyMap
Flags: Read / Write
Default value: 0
Since: 3.0.0
“window-count”
property “window-count” guint
The the window count of total z-indexes.
Owner: AgsFrequencyMap
Flags: Read / Write
Default value: 0
Since: 3.0.0
“compute-max-likelihood”
signalvoid user_function (AgsFrequencyMap *frequency_map, gpointer source, gpointer retval, gpointer user_data)
The ::compute-max-likelihood signal notifies about max likelihooded commputed.
frequency_map |
the AgsFrequencyMap |
|
source |
the source buffer |
|
retval |
return location pointer to buffer |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“factorize”
signalvoid user_function (AgsFrequencyMap *frequency_map, GObject *factorized_frequency_map, gpointer user_data)
The ::factorize signal notifies about factorizing map.
frequency_map |
the AgsFrequencyMap |
|
factorized_frequency_map |
the factorized AgsFrequencyMap |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“process”
signalvoid user_function (AgsFrequencyMap *frequency_map, gpointer user_data)
The ::process signal notifies about processed buffer.
frequency_map |
the AgsFrequencyMap |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0