Top |
AgsAudio * | audio | Read / Write |
GType * | channel-type | Read / Write |
gchar * | control-name | Read / Write |
gpointer | current-accelerations | Read / Write |
gdouble | default-value | Read / Write |
guint | line | Read / Write |
gdouble | lower | Read / Write |
gpointer | next-accelerations | Read / Write |
AgsPort * | port | Read / Write |
guint | steps | Read / Write |
gdouble | upper | Read / Write |
#define | AGS_AUTOMATION_DEFAULT_BPM |
#define | AGS_AUTOMATION_TICS_PER_BEAT |
#define | AGS_AUTOMATION_MINIMUM_ACCELERATION_LENGTH |
#define | AGS_AUTOMATION_DEFAULT_LENGTH |
#define | AGS_AUTOMATION_DEFAULT_JIFFIE |
#define | AGS_AUTOMATION_DEFAULT_DURATION |
#define | AGS_AUTOMATION_DEFAULT_PRECISION |
enum | AgsAutomationFlags |
GList * ags_automation_find_near_timestamp (GList *automation
,guint line
,GObject *timestamp
);
Retrieve appropriate automation for timestamp.
automation |
a GList containing AgsAutomation |
|
line |
the matching audio channel |
|
timestamp |
the matching timestamp |
Since: 0.4.3
void ags_automation_add_acceleration (AgsAutomation *automation
,AgsAcceleration *acceleration
,gboolean use_selection_list
);
Adds a acceleration to automation.
automation |
||
acceleration |
the AgsAcceleration to add |
|
use_selection_list |
if |
Since: 0.4.3
gboolean ags_automation_remove_acceleration_at_position (AgsAutomation *automation
,guint x
,gdouble y
);
Removes one AgsAcceleration of automation.
Since: 0.4.3
GList *
ags_automation_get_selection (AgsAutomation *automation
);
Retrieve selection.
Since: 0.4.3
gboolean ags_automation_is_acceleration_selected (AgsAutomation *automation
,AgsAcceleration *acceleration
);
Check selection for acceleration.
Since: 0.4.3
AgsAcceleration * ags_automation_find_point (AgsAutomation *automation
,guint x
,gdouble y
,gboolean use_selection_list
);
Find acceleration by offset and acceleration.
automation |
||
x |
offset |
|
y |
acceleration, will be ignored |
|
use_selection_list |
if |
Since: 0.4.3
GList * ags_automation_find_region (AgsAutomation *automation
,guint x0
,gdouble y0
,guint x1
,gdouble y1
,gboolean use_selection_list
);
Find acceleration by offset and tone region.
automation |
||
x0 |
start offset |
|
y0 |
start tone |
|
x1 |
end offset |
|
y1 |
end tone |
|
use_selection_list |
if |
Since: 0.4.3
void
ags_automation_free_selection (AgsAutomation *automation
);
Clear selection.
Since: 0.4.3
void ags_automation_add_point_to_selection (AgsAutomation *automation
,guint x
,gdouble y
,gboolean replace_current_selection
);
Select acceleration at position.
Since: 0.4.3
void ags_automation_remove_point_from_selection (AgsAutomation *automation
,guint x
,gdouble y
);
Remove acceleration at position of selection.
Since: 0.4.3
void ags_automation_add_region_to_selection (AgsAutomation *automation
,guint x0
,gdouble y0
,guint x1
,gdouble y1
,gboolean replace_current_selection
);
void ags_automation_remove_region_from_selection (AgsAutomation *automation
,guint x0
,gdouble y0
,guint x1
,gdouble y1
);
Remove acceleration within region of selection.
Since: 0.4.3
void
ags_automation_add_all_to_selection (AgsAutomation *automation
);
xmlNode *
ags_automation_copy_selection (AgsAutomation *automation
);
Copy selection to clipboard.
Since: 0.4.3
xmlNode *
ags_automation_cut_selection (AgsAutomation *automation
);
Cut selection to clipboard.
Since: 0.4.3
void ags_automation_merge_clipboard (xmlNode *audio_node
,xmlNode *automation_node
);
void ags_automation_insert_from_clipboard (AgsAutomation *automation
,xmlNodePtr content
,gboolean reset_x_offset
,guint x_offset
,gboolean reset_y_offset
,gdouble y_offset
);
gchar **
ags_automation_get_specifier_unique (GList *automation
);
Retrieve automation port specifier.
Since: 0.4.3
GList * ags_automation_find_specifier (GList *automation
,gchar *specifier
);
Find port specifier.
Since: 0.4.3
GList * ags_automation_find_specifier_with_type_and_line (GList *automation
,gchar *specifier
,GType channel_type
,guint line
);
Find port specifier with channel type and line.
automation |
a GList containing AgsAutomation |
|
specifier |
the string specifier to find |
|
channel_type |
the channel GType |
|
line |
the line |
Since: 0.7.30
guint ags_automation_get_value (AgsAutomation *automation
,guint x
,guint x_end
,gboolean use_prev_on_failure
,GValue *value
);
Since: 0.7.32
AgsAutomation * ags_automation_new (GObject *audio
,guint line
,GType channel_type
,gchar *control_name
);
Creates an AgsAutomation.
audio |
an AgsAudio |
|
line |
the line to apply |
|
channel_type |
the channel type |
|
control_name |
the control name |
Since: 0.4.2
#define AGS_AUTOMATION_MINIMUM_ACCELERATION_LENGTH (1.0 / 16.0 / 64.0)
#define AGS_AUTOMATION_DEFAULT_LENGTH (64 * 16 * 1200 / AGS_AUTOMATION_TICS_PER_BEAT)
#define AGS_AUTOMATION_DEFAULT_JIFFIE (60.0 / AGS_AUTOMATION_DEFAULT_BPM / AGS_AUTOMATION_TICS_PER_BEAT)
#define AGS_AUTOMATION_DEFAULT_DURATION (AGS_AUTOMATION_DEFAULT_LENGTH * AGS_AUTOMATION_DEFAULT_JIFFIE * AGS_MICROSECONDS_PER_SECOND)
“channel-type”
property“channel-type” GType *
The channel type to apply.
Flags: Read / Write
Allowed values: void
Since: 0.4.3
“control-name”
property“control-name” gchar *
The control name.
Flags: Read / Write
Default value: NULL
Since: 0.4.3
“current-accelerations”
property“current-accelerations” gpointer
The current accelerations for offset.
Flags: Read / Write
Since: 0.4.2
“default-value”
property“default-value” gdouble
The default value of effect.
Flags: Read / Write
Allowed values: [-65535,65535]
Default value: 0
Since: 0.4.3
“line”
property“line” guint
The numerical line of effect.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.4.3
“lower”
property“lower” gdouble
The lower of effect.
Flags: Read / Write
Allowed values: [-65535,65535]
Default value: 0
Since: 0.4.3
“next-accelerations”
property“next-accelerations” gpointer
The next accelerations for offset.
Flags: Read / Write
Since: 0.4.2
“steps”
property“steps” guint
The steps of effect.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.4.3
“upper”
property“upper” gdouble
The upper of effect.
Flags: Read / Write
Allowed values: [-65535,65535]
Default value: 0
Since: 0.4.3