Ase::Clip class

Container for MIDI note and control events.

Base classes

class Gadget virtual
Base type for classes that have a Property.

Public functions

auto _parent() const →  GadgetImpl* pure virtual
Retrieve parent container.
auto _project() const →  ProjectImpl*
Find Project in parent ancestry.
void _set_parent(GadgetImpl* parent) pure virtual
Assign parent container.
auto access_properties() →  PropertyS pure virtual
Retrieve handles for all properties.
auto access_property(String ident) →  PropertyP virtual
Retrieve handle for a Property.
void assign_range(int64 starttick, int64 stoptick) pure virtual
auto change_batch(const ClipNoteS& notes, const String& undogroup = "") →  int32 pure virtual
Change note id according to the arguments or add a new note if id < 0; emits notify:notes.
auto get_data(const String& key) const →  Value pure virtual
Retrieve session data.
auto get_value(String ident) →  Value
Get native property value.
auto list_all_notes() →  ClipNoteS pure virtual
auto list_properties() →  StringS virtual
List all property identifiers.
auto set_data(const String& key, const Value& v) →  bool pure virtual
Assign session data, prefix ephemerals with '_'.
auto set_value(String ident, const Value& v) →  bool
auto start_tick() const →  int64 pure virtual
Get the first tick intended for playback (this is >= 0), changes on notify:start_tick.
auto stop_tick() const →  int64 pure virtual
Get the tick to stop playback, not events should be played after this, changes on notify:stop_tick.

Public variables

Member<&Clip::all_notes_> all_notes
Access all notes of this clip, changes on notify:all_notes.
Member<&Clip::end_tick_> end_tick
The end tick is past any event ticks, changes on notify:end_tick.

Function documentation

void Ase::Clip::assign_range(int64 starttick, int64 stoptick) pure virtual

Change start_tick() and stop_tick(); emits notify:start_tick, notify:stop_tick.

int32 Ase::Clip::change_batch(const ClipNoteS& notes, const String& undogroup = "") pure virtual

Change note id according to the arguments or add a new note if id < 0; emits notify:notes.

Insert, change, delete in a batch.

ClipNoteS Ase::Clip::list_all_notes() pure virtual

List all notes of this Clip; changes on notify:notes.