|
Anklang-0.3.0.dev797+g4e3241f3 anklang-0.3.0.dev797+g4e3241f3
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Container for MIDI note and control events. More...
#include "api.hh"
Public Member Functions | |
| virtual bool | is_muted () const =0 |
| Check if clip is muted. | |
| virtual void | set_muted (bool muted)=0 |
Set clip muted state, emits notify:muted. | |
| virtual double | volume () const =0 |
| Get clip volume in dB. | |
| virtual void | volume (double db)=0 |
Set clip volume in dB, emits notify:volume. | |
| virtual double | pan () const =0 |
| Get clip pan (-1.0 to 1.0). | |
| virtual void | pan (double pan)=0 |
Set clip pan (-1.0 to 1.0), emits notify:pan. | |
| virtual ClipNoteS | all_notes () const =0 |
| virtual void | all_notes (const ClipNoteS ¬es)=0 |
| virtual int64 | end_tick () const =0 |
| virtual void | 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. | |
| virtual TelemetryFieldS | telemetry () const =0 |
| Retrieve clip telemetry locations. | |
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 | name () const =0 |
| virtual void | 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) |
Additional Inherited Members | |
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 |
Check if clip is muted.
Implemented in Ase::ClipImpl.
|
pure virtual |
List all notes of this Clip; changes on notify:notes.
Implemented in Ase::ClipImpl.
|
pure virtual |
Get clip pan (-1.0 to 1.0).
Implemented in Ase::ClipImpl.
|
pure virtual |
Set clip pan (-1.0 to 1.0), emits notify:pan.
Implemented in Ase::ClipImpl.
|
pure virtual |
Set clip muted state, emits notify:muted.
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.
|
pure virtual |
Retrieve clip telemetry locations.
Implemented in Ase::ClipImpl.
|
pure virtual |
Get clip volume in dB.
Implemented in Ase::ClipImpl.
|
pure virtual |
Set clip volume in dB, emits notify:volume.
Implemented in Ase::ClipImpl.