Zrythm
a highly automated and intuitive digital audio workstation
|
Chord object in the TimelineArranger. More...
#include <cstdint>
#include "dsp/chord_descriptor.h"
#include "dsp/position.h"
#include "dsp/region_identifier.h"
#include "gui/backend/arranger_object.h"
#include "utils/yaml.h"
Go to the source code of this file.
Data Structures | |
struct | ChordObject |
A ChordObject to be shown in the TimelineArrangerWidget. More... | |
Macros | |
#define | CHORD_OBJECT_MAGIC 4181694 |
#define | IS_CHORD_OBJECT(x) (((ChordObject *) x)->magic == CHORD_OBJECT_MAGIC) |
#define | IS_CHORD_OBJECT_AND_NONNULL(x) (x && IS_CHORD_OBJECT (x)) |
#define | CHORD_OBJECT_WIDGET_TRIANGLE_W 10 |
#define | chord_object_is_selected(r) arranger_object_is_selected ((ArrangerObject *) r) |
Functions | |
ChordObject * | chord_object_new (RegionIdentifier *region_id, int chord_index, int index) |
Creates a ChordObject. | |
int | chord_object_is_equal (ChordObject *a, ChordObject *b) |
void | chord_object_set_region_and_index (ChordObject *self, Region *region, int idx) |
Sets the region and index of the chord. | |
ChordDescriptor * | chord_object_get_chord_descriptor (const ChordObject *self) |
Returns the ChordDescriptor associated with this ChordObject. | |
ChordObject * | chord_object_find_by_pos (ChordObject *clone) |
Finds the ChordObject in the project corresponding to the given one's position. | |
Region * | chord_object_get_region (ChordObject *self) |
Chord object in the TimelineArranger.
Definition in file chord_object.h.