Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_NOTATION_DEFAULT_BPM |
#define | AGS_NOTATION_TICS_PER_BEAT |
#define | AGS_NOTATION_MINIMUM_NOTE_LENGTH |
#define | AGS_NOTATION_MAXIMUM_NOTE_LENGTH |
#define | AGS_NOTATION_DEFAULT_LENGTH |
#define | AGS_NOTATION_DEFAULT_JIFFIE |
#define | AGS_NOTATION_DEFAULT_DURATION |
|
ags_notation_find_near_timestamp () |
|
ags_notation_add_note () |
|
ags_notation_remove_note_at_position () |
|
ags_notation_get_selection () |
|
ags_notation_is_note_selected () |
|
ags_notation_find_point () |
|
ags_notation_find_region () |
|
ags_notation_free_selection () |
|
ags_notation_add_point_to_selection () |
|
ags_notation_remove_point_from_selection () |
|
ags_notation_add_region_to_selection () |
|
ags_notation_remove_region_from_selection () |
|
ags_notation_copy_selection () |
|
ags_notation_cut_selection () |
|
ags_notation_insert_from_clipboard () |
|
ags_notation_get_current () |
|
ags_notation_new () |
#define AGS_NOTATION_DEFAULT_LENGTH (65535.0 / AGS_NOTATION_TICS_PER_BEAT - AGS_NOTATION_MAXIMUM_NOTE_LENGTH)
#define AGS_NOTATION_DEFAULT_JIFFIE (60.0 / AGS_NOTATION_DEFAULT_BPM / AGS_NOTATION_TICS_PER_BEAT)
#define AGS_NOTATION_DEFAULT_DURATION (AGS_NOTATION_DEFAULT_LENGTH * AGS_NOTATION_DEFAULT_JIFFIE * AGS_MICROSECONDS_PER_SECOND)
GList * ags_notation_find_near_timestamp (,
GList *notation,
guint audio_channel);
GObject *timestamp
Retrieve appropriate notation for timestamp.
notation |
a |
|
audio_channel |
the matching audio channel |
|
timestamp |
the matching timestamp |
Since 0.4
void ags_notation_add_note (,
AgsNotation *notation,
AgsNote *note);
gboolean use_selection_list
Adds a note to notation.
notation |
an |
|
note |
the |
|
use_selection_list |
if |
Since 0.4
gboolean ags_notation_remove_note_at_position (,
AgsNotation *notation,
guint x);
guint y
Removes one
Since 0.4
GList * ags_notation_get_selection ();
AgsNotation *notation
Retrieve selection.
Since 0.4
gboolean ags_notation_is_note_selected (,
AgsNotation *notation);
AgsNote *note
Check selection for note.
Since 0.4
AgsNote * ags_notation_find_point (,
AgsNotation *notation,
guint x,
guint y);
gboolean use_selection_list
Find note by offset and tone.
Since 0.4
GList * ags_notation_find_region (,
AgsNotation *notation,
guint x0,
guint y0,
guint x1,
guint y1);
gboolean use_selection_list
Find notes by offset and tone region.
Since 0.4
void ags_notation_free_selection ();
AgsNotation *notation
Clear selection.
Since 0.4
void ags_notation_add_point_to_selection (,
AgsNotation *notation,
guint x,
guint y);
gboolean replace_current_selection
Select notes at position.
notation |
an |
|
x |
offset |
|
y |
tone |
|
replace_current_selection |
if |
Since 0.4
void ags_notation_remove_point_from_selection (,
AgsNotation *notation,
guint x);
guint y
Remove notes at position of selection.
Since 0.4
void ags_notation_add_region_to_selection (,
AgsNotation *notation,
guint x0,
guint y0,
guint x1,
guint y1);
gboolean replace_current_selection
Select notes within region.
notation |
an |
|
x0 |
start offset |
|
y0 |
start tone |
|
x1 |
end offset |
|
y1 |
end tone |
|
replace_current_selection |
if |
Since 0.4
void ags_notation_remove_region_from_selection (,
AgsNotation *notation,
guint x0,
guint y0,
guint x1);
guint y1
Remove notes within region of selection.
Since 0.4
xmlNodePtr ags_notation_copy_selection ();
AgsNotation *notation
Copy selection to clipboard.
Since 0.4
xmlNodePtr ags_notation_cut_selection ();
AgsNotation *notation
Cut selection to clipboard.
Since 0.4
void ags_notation_insert_from_clipboard (,
AgsNotation *notation,
xmlNodePtr content,
gboolean reset_x_offset,
guint x_offset,
gboolean reset_y_offset);
guint y_offset
Paste previously copied notes.
notation |
an |
|
reset_x_offset |
if |
|
x_offset |
region start cursor offset |
|
reset_y_offset |
if |
|
y_offset |
region start cursor tone |
Since 0.4