|
Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Container for MIDI note and control events. More...
#include "api.hh"
Public Member Functions | |
| virtual ClipNoteS | get_all_notes () const =0 |
| virtual void | set_all_notes (const ClipNoteS ¬es)=0 |
| virtual int64 | get_end_tick () const =0 |
| virtual void | set_end_tick (int64 etick)=0 |
| virtual int64 | start_tick () const =0 |
Get the first tick intended for playback (this is >= 0), changes on notify:start_tick. | |
| virtual int64 | stop_tick () const =0 |
Get the tick to stop playback, not events should be played after this, changes on notify:stop_tick. | |
| virtual void | assign_range (int64 starttick, int64 stoptick)=0 |
Change start_tick() and stop_tick(); emits notify:start_tick, notify:stop_tick. | |
| virtual int32 | change_batch (const ClipNoteS ¬es, const String &undogroup="")=0 |
Change note id according to the arguments or add a new note if id < 0; emits notify:notes. | |
| virtual ClipNoteS | list_all_notes ()=0 |
List all notes of this Clip; changes on notify:notes. | |
Public Member Functions inherited from Ase::Gadget | |
| virtual GadgetImpl * | _parent () const =0 |
| Retrieve parent container. | |
| virtual void | _set_parent (GadgetImpl *parent)=0 |
| Assign parent container. | |
| ProjectImpl * | _project () const |
| Find Project in parent ancestry. | |
| virtual String | get_name () const =0 |
| virtual void | set_name (const std::string &n)=0 |
| virtual String | type_nick () const =0 |
| virtual StringS | list_properties () |
| List all property identifiers. | |
| virtual PropertyP | access_property (String ident) |
| Retrieve handle for a Property. | |
| virtual PropertyS | access_properties ()=0 |
| Retrieve handles for all properties. | |
| Value | get_value (String ident) |
| Get native property value. | |
| bool | set_value (String ident, const Value &v) |
| Set native property value. | |
| virtual bool | set_data (const String &key, const Value &v)=0 |
| Assign session data, prefix ephemerals with '_'. | |
| virtual Value | get_data (const String &key) const =0 |
| Retrieve session data. | |
Public Member Functions inherited from Ase::Emittable | |
| virtual void | emit_event (const String &type, const String &detail, const ValueR fields={})=0 |
| virtual void | emit_notify (const String &detail)=0 |
| void | js_trigger (const String &eventselector, JsTrigger callback) |
Public Member Functions inherited from std::enable_shared_from_this< SharedBase > | |
| T | enable_shared_from_this (T... args) |
| T | operator= (T... args) |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
| T | ~enable_shared_from_this (T... args) |
Public Attributes | |
| Member<&Clip::get_all_notes,&Clip::set_all_notes > | all_notes |
Access all notes of this clip, changes on notify:all_notes. | |
| Member<&Clip::get_end_tick,&Clip::set_end_tick > | end_tick |
The end tick is past any event ticks, changes on notify:end_tick. | |
Public Attributes inherited from Ase::Gadget | |
| Member<&Gadget::get_name,&Gadget::set_name > | name |
Public Attributes inherited from Ase::Emittable | |
| const EventHandler & | eventhandler |
Change start_tick() and stop_tick(); emits notify:start_tick, notify:stop_tick.
Implemented in Ase::ClipImpl.
|
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.
Implemented in Ase::ClipImpl.
|
pure virtual |
List all notes of this Clip; changes on notify:notes.
Implemented in Ase::ClipImpl.
|
pure virtual |
Get the first tick intended for playback (this is >= 0), changes on notify:start_tick.
Implemented in Ase::ClipImpl.
|
pure virtual |
Get the tick to stop playback, not events should be played after this, changes on notify:stop_tick.
Implemented in Ase::ClipImpl.
| Member<&Clip::get_all_notes,&Clip::set_all_notes> Ase::Clip::all_notes |
| Member<&Clip::get_end_tick,&Clip::set_end_tick> Ase::Clip::end_tick |