|
Anklang-0.3.0-1416-gfa8ce8d2 anklang-0.3.0-1416-gfa8ce8d2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Container for MIDI note and control events. More...
#include "api.hh"
Public Member Functions | |
| virtual bool | muted () const =0 |
| Check if clip is muted. | |
| virtual void | muted (bool muted)=0 |
Set clip muted state, emits notify:muted. | |
| virtual float | volume () const =0 |
| Get clip volume in dB. | |
| virtual void | volume (float db)=0 |
Set clip volume in dB, emits notify:volume. | |
| virtual float | pan () const =0 |
| Get audio clip pan (-1.0 to 1.0), 0 for other clips. | |
| virtual void | pan (float pan)=0 |
Set audio clip pan (-1.0 to 1.0), emits notify:pan, does nothing for other clips. | |
| virtual ClipNoteS | all_notes () const =0 |
| virtual void | all_notes (const ClipNoteS ¬es)=0 |
| virtual ClipPosition | position () const =0 |
| virtual void | position (const ClipPosition &position)=0 |
| virtual double | start_beat () const =0 |
Clip start in Tracktion beats, changes on notify:start_beat. | |
| virtual void | start_beat (double)=0 |
| Read-only, assignments warn. | |
| virtual double | end_beat () const =0 |
Clip end in Tracktion beats, changes on notify:end_beat. | |
| virtual void | end_beat (double)=0 |
| Read-only, assignments warn. | |
| virtual ClipNoteS | change_batch (const ClipNoteS ¬es, const String &undogroup="")=0 |
Insert id <= 0, delete length_beats == 0; emits notify:notes and notify:all_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 StringS | read_only_properties () const |
| List x()/x (v) properties that this object can't change, their setters ignore the value or warn. | |
| 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. | |
| virtual void | remove_self ()=0 |
| Remove self from parent container. | |
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 |
|
pure virtual |
Insert id <= 0, delete length_beats == 0; emits notify:notes and notify:all_notes.
Input order, id 0 for missing handles.
Implemented in Ase::ClipImpl.
|
pure virtual |
Clip end in Tracktion beats, changes on notify:end_beat.
Implemented in Ase::ClipImpl.
|
pure virtual |
Read-only, assignments warn.
Implemented in Ase::ClipImpl.
|
pure virtual |
List all notes of this Clip, changes on notify:notes.
Implemented in Ase::ClipImpl.
|
pure virtual |
Check if clip is muted.
Implemented in Ase::ClipImpl.
|
pure virtual |
Set clip muted state, emits notify:muted.
Implemented in Ase::ClipImpl.
|
pure virtual |
Get audio clip pan (-1.0 to 1.0), 0 for other clips.
Implemented in Ase::ClipImpl.
|
pure virtual |
Set audio clip pan (-1.0 to 1.0), emits notify:pan, does nothing for other clips.
Implemented in Ase::ClipImpl.
|
pure virtual |
Clip start in Tracktion beats, changes on notify:start_beat.
Implemented in Ase::ClipImpl.
|
pure virtual |
Read-only, assignments warn.
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.