Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
chord_selections.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019, 2021 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __GUI_BACKEND_CHORD_SELECTIONS_H__
11#define __GUI_BACKEND_CHORD_SELECTIONS_H__
12
13#include "dsp/chord_object.h"
15#include "utils/yaml.h"
16
23#define CHORD_SELECTIONS_SCHEMA_VERSION 1
24
25#define CHORD_SELECTIONS (PROJECT->chord_selections)
26
31typedef struct ChordSelections
32{
35
41 int num_chord_objects;
42 size_t chord_objects_size;
43
45
52int
54 ChordSelections * ts,
55 Position * pos,
56 Region * region);
57
62#endif
Chord object in the TimelineArranger.
int chord_selections_can_be_pasted(ChordSelections *ts, Position *pos, Region *region)
Returns if the selections can be pasted.
Common data structures and functions for *ArrangerSelections.
A ChordObject to be shown in the TimelineArrangerWidget.
Selections to be used for the ChordArrangerWidget's current selections, copying, undoing,...
ArrangerSelections base
Base struct.
ChordObject ** chord_objects
Selected ChordObject's.
A Position is made up of bars.beats.sixteenths.ticks.
Definition position.h:124
A region (clip) is an object on the timeline that contains either MidiNote's or AudioClip's.
Definition region.h:72
YAML utils.