|
Anklang-0.3.0-1416-gfa8ce8d2 anklang-0.3.0-1416-gfa8ce8d2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Classes | |
| class | ClipStateListener |
Public Member Functions | |
| String | name () const override |
| void | name (const std::string &n) override |
| ClipPosition | position () const override |
| void | position (const ClipPosition &position) override |
| double | start_beat () const override |
Clip start in Tracktion beats, changes on notify:start_beat. | |
| void | start_beat (double) override |
| Read-only, assignments warn. | |
| double | end_beat () const override |
Clip end in Tracktion beats, changes on notify:end_beat. | |
| void | end_beat (double) override |
| Read-only, assignments warn. | |
| ClipNoteS | list_all_notes () override |
List all notes of this Clip, changes on notify:notes. | |
| ClipNoteS | change_batch (const ClipNoteS ¬es, const String &undogroup) override |
Insert id <= 0, delete length_beats == 0; emits notify:notes and notify:all_notes. | |
| bool | muted () const override |
| Check if clip is muted. | |
| void | muted (bool muted) override |
Set clip muted state, emits notify:muted. | |
| float | volume () const override |
| Get clip volume in dB. | |
| void | volume (float db) override |
Set clip volume in dB, emits notify:volume. | |
| float | pan () const override |
| Get audio clip pan (-1.0 to 1.0), 0 for other clips. | |
| void | pan (float pan) override |
Set audio clip pan (-1.0 to 1.0), emits notify:pan, does nothing for other clips. | |
| void | update_telemetry () |
| void | remove_self () override |
| Remove self from parent container. | |
| TelemetryFieldS | telemetry () const override |
| Retrieve clip telemetry locations. | |
| StringS | read_only_properties () const override |
| List x()/x (v) properties that this object can't change, their setters ignore the value or warn. | |
| ASE_DEFINE_MAKE_SHARED (ClipImpl) | |
Public Member Functions inherited from Ase::GadgetImpl | |
| void | _set_parent (GadgetImpl *parent) override |
| Assign parent container. | |
| GadgetImpl * | _parent () const override |
| Retrieve parent container. | |
| String | type_nick () const override |
| PropertyS | access_properties () override |
| Retrieve handles for all properties. | |
| bool | set_data (const String &key, const Value &v) override |
| Assign session data, prefix ephemerals with '_'. | |
| Value | get_data (const String &key) const override |
| Retrieve session data. | |
| void | remove_self () override |
| Remove self from parent container. | |
| template<class O , class M > | |
| void | _register_parameter (O *, M *, const Param::ExtraVals &) const |
Public Member Functions inherited from Ase::EmittableImpl | |
| ASE_USE_RESULT Connection | on_event (const String &eventselector, const EventHandler &eventhandler) override |
| void | emit_event (const String &type, const String &detail, const ValueR fields={}) override |
| void | emit_notify (const String &detail) override |
Emit notify:detail, multiple notifications maybe coalesced if a CoalesceNotifies instance exists. | |
Public Member Functions inherited from Ase::Emittable | |
| 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 Member Functions inherited from Ase::Gadget | |
| ProjectImpl * | _project () const |
| Find Project in parent ancestry. | |
| virtual StringS | list_properties () |
| List all property identifiers. | |
| virtual PropertyP | access_property (String ident) |
| Retrieve handle for a Property. | |
| Value | get_value (String ident) |
| Get native property value. | |
| bool | set_value (String ident, const Value &v) |
| Set native property value. | |
Static Public Member Functions | |
| static ClipImplP | from_trkn (tracktion::Clip &) |
Protected Member Functions | |
| ClipImpl (tracktion::Clip &clip) | |
| ssize_t | clip_index () const |
| ClipNoteS | all_notes () const override |
| void | all_notes (const ClipNoteS ¬es) override |
Protected Member Functions inherited from Ase::GadgetImpl | |
| uint64_t | gadget_flags () const |
| uint64_t | gadget_flags (uint64_t setbits, uint64_t mask=~uint64_t(0)) |
| virtual void | create_properties () |
Friends | |
| class | TrackImpl |
Additional Inherited Members | |
Public Types inherited from Ase::GadgetImpl | |
| using | MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)> |
| using | MemberInfosP = const StringS &(*)() |
| using | MemberClassT = bool(*)(const SharedBase &) |
Public Attributes inherited from Ase::Emittable | |
| const EventHandler & | eventhandler |
Protected Types inherited from Ase::GadgetImpl | |
| enum | : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK } |
Static Protected Member Functions inherited from Ase::GadgetImpl | |
| static String | canonify_key (const String &input) |
Protected Attributes inherited from Ase::GadgetImpl | |
| PropertyImplS | props_ |
|
explicitprotected |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overridevirtual |
Insert id <= 0, delete length_beats == 0; emits notify:notes and notify:all_notes.
Input order, id 0 for missing handles.
Implements Ase::Clip.
Definition at line 335 of file clip.cc.
References assert_return, Ase::EmittableImpl::emit_notify(), std::string::empty(), and return_unless.
|
overridevirtual |
|
overridevirtual |
|
static |
|
overridevirtual |
|
overridevirtual |
Check if clip is muted.
Implements Ase::Clip.
Definition at line 233 of file clip.cc.
References return_unless.
Referenced by muted().
|
overridevirtual |
Set clip muted state, emits notify:muted.
Implements Ase::Clip.
Definition at line 240 of file clip.cc.
References muted(), and return_unless.
|
overridevirtual |
Implements Ase::Gadget.
|
overridevirtual |
Implements Ase::Gadget.
|
overridevirtual |
Get audio clip pan (-1.0 to 1.0), 0 for other clips.
Implements Ase::Clip.
Definition at line 279 of file clip.cc.
References tracktion::engine::AudioClipBase::getPan(), and return_unless.
|
overridevirtual |
Set audio clip pan (-1.0 to 1.0), emits notify:pan, does nothing for other clips.
Implements Ase::Clip.
Definition at line 289 of file clip.cc.
References return_unless.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
List x()/x (v) properties that this object can't change, their setters ignore the value or warn.
Reimplemented from Ase::Gadget.
Definition at line 298 of file clip.cc.
References std::vector::push_back().
|
overridevirtual |
Remove self from parent container.
Implements Ase::Gadget.
Definition at line 321 of file clip.cc.
References Ase::GadgetImpl::remove_self().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Get clip volume in dB.
Implements Ase::Clip.
Definition at line 249 of file clip.cc.
References tracktion::engine::AudioClipBase::getGainDB(), and return_unless.
|
overridevirtual |
Set clip volume in dB, emits notify:volume.
Implements Ase::Clip.
Definition at line 262 of file clip.cc.
References return_unless, and tracktion::engine::AudioClipBase::setGainDB().