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