|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
A Region containing MIDI events. More...
#include <src/structure/arrangement/midi_region.h>


Public Member Functions | |
| MidiRegion (const dsp::TempoMap &tempo_map, utils::IObjectRegistry &object_registry, QObject *parent=nullptr) | |
| Q_SIGNAL void | contentChanged () |
| std::string | get_field_name_for_serialization (const MidiNote *) const override |
| std::string | get_field_name_for_serialization (const MidiControlEvent *) const override |
| std::vector< ArrangerObjectListModel * > | get_child_list_models () const override |
| Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObject | |
| bool | is_start_hit_by_range (const units::sample_t frames_start, const units::sample_t frames_end, bool range_start_inclusive=true, bool range_end_inclusive=false) const |
| auto | type () const |
| dsp::AtomicPositionQmlAdapter * | position () const |
| ArrangerObjectBounds * | bounds () const |
| ArrangerObjectLoopRange * | loopRange () const |
| ArrangerObjectName * | name () const |
| ArrangerObjectColor * | color () const |
| ArrangerObjectMuteFunctionality * | mute () const |
| ArrangerObjectFadeRange * | fadeRange () const |
| Q_SIGNAL void | propertiesChanged () |
| Emitted when any of the properties of the object changed. | |
| ArrangerObject * | parentObject () const |
| void | setParentObject (ArrangerObject *object) |
| Q_SIGNAL void | parentObjectChanged (QObject *parentObject) |
| auto & | get_tempo_map () const |
| Public Member Functions inherited from zrythm::utils::UuidIdentifiableObject< ArrangerObject > | |
| UuidIdentifiableObject (QObject *parent=nullptr) | |
| auto | get_uuid () const |
| Public Member Functions inherited from zrythm::utils::UuidIdentifiableBase | |
| UuidIdentifiableBase (QObject *parent=nullptr) | |
| UuidIdentifiableBase (const QUuid &id, QObject *parent=nullptr) | |
| QUuid | raw_uuid () const |
| Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObjectOwner< MidiNote > | |
| ArrangerObjectOwner (utils::IObjectRegistry ®istry, T &derived) | |
| auto & | get_children_vector () const |
| auto | get_children_view () const |
| auto | get_sorted_children_view () const |
| void | add_ticks_to_children (double ticks) |
| bool | contains_object (const ArrangerObject::Uuid &id) const |
| O(1) lookup if an object with the given ID exists. | |
| ArrangerObjectListModel * | get_model () const |
| ArrangerObjectUuidReference | remove_object (const ArrangerObject::Uuid &id) |
| void | insert_object (const ArrangerObjectUuidReference &obj_ref, int idx) |
| void | add_object (const ArrangerObjectUuidReference &obj_ref) |
| void | clear_objects () |
| virtual std::string | get_field_name_for_serialization (const ChildT *) const=0 |
| Get the children field name to be used during serialization/deserialization. | |
| Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObjectOwner< MidiControlEvent > | |
| ArrangerObjectOwner (utils::IObjectRegistry ®istry, T &derived) | |
| auto & | get_children_vector () const |
| auto | get_children_view () const |
| auto | get_sorted_children_view () const |
| void | add_ticks_to_children (double ticks) |
| bool | contains_object (const ArrangerObject::Uuid &id) const |
| O(1) lookup if an object with the given ID exists. | |
| ArrangerObjectListModel * | get_model () const |
| ArrangerObjectUuidReference | remove_object (const ArrangerObject::Uuid &id) |
| void | insert_object (const ArrangerObjectUuidReference &obj_ref, int idx) |
| void | add_object (const ArrangerObjectUuidReference &obj_ref) |
| void | clear_objects () |
| virtual std::string | get_field_name_for_serialization (const ChildT *) const=0 |
| Get the children field name to be used during serialization/deserialization. | |
Friends | |
| void | init_from (MidiRegion &obj, const MidiRegion &other, utils::ObjectCloneType clone_type) |
| void | to_json (nlohmann::json &j, const MidiRegion ®ion) |
| void | from_json (const nlohmann::json &j, MidiRegion ®ion) |
A Region containing MIDI events.
MidiRegion represents a region in the timeline that holds MIDI note and controller data. It is specific to instrument/MIDI tracks and can be constructed from a MIDI file or a chord descriptor.
Definition at line 20 of file midi_region.h.
|
inlineoverridevirtual |
Reimplemented from zrythm::structure::arrangement::ArrangerObject.
Definition at line 60 of file midi_region.h.
|
inlineoverride |
Definition at line 55 of file midi_region.h.
|
inlineoverride |
Definition at line 50 of file midi_region.h.
|
friend |
Definition at line 81 of file midi_region.h.
|
friend |
Definition at line 74 of file midi_region.h.