10#ifndef __GUI_BACKEND_CLIP_EDITOR_H__
11#define __GUI_BACKEND_CLIP_EDITOR_H__
30#define CLIP_EDITOR_SCHEMA_VERSION 1
32#define CLIP_EDITOR (PROJECT->clip_editor)
66static const cyaml_schema_field_t clip_editor_fields_schema[] = {
71 region_identifier_fields_schema),
76 piano_roll_fields_schema),
80 automation_editor_fields_schema),
84 chord_editor_fields_schema),
88 audio_clip_editor_fields_schema),
93static const cyaml_schema_value_t clip_editor_schema = {
131clip_editor_get_arranger_selections (
ClipEditor * self);
139clip_editor_get_region_for_widgets (
Audio clip editor backend.
Automation editor backend.
void clip_editor_set_caches(ClipEditor *self)
To be called when recalculating the graph.
ClipEditor * clip_editor_new(void)
Creates a new clip editor.
void clip_editor_set_region(ClipEditor *self, ZRegion *region, bool fire_events)
Sets the track and refreshes the piano roll widgets.
void clip_editor_init_loaded(ClipEditor *self)
Inits the ClipEditor after a Project is loaded.
void clip_editor_init(ClipEditor *self)
Inits the clip editor.
#define YAML_FIELD_MAPPING_EMBEDDED(owner, member, schema)
Mapping embedded inside the struct.
#define YAML_FIELD_MAPPING_PTR(owner, member, schema)
Mapping pointer to a struct.
#define YAML_VALUE_PTR(cc, fields_schema)
Schema to be used as a pointer.
Audio clip editor serializable backend.
Backend for the automation editor.
Backend for the chord editor.
Clip editor serializable backend.
int region_changed
Flag used by rulers when region first changes.
bool has_region
Whether region_id is a valid region.
RegionIdentifier region_id
ZRegion currently attached to the clip editor.
Piano roll serializable backend.
Index/identifier for a Region, so we can get Region objects quickly with it without searching by name...
Track to be inserted into the Project's Tracklist.
A region (clip) is an object on the timeline that contains either MidiNote's or AudioClip's.