Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
midi_arranger_selections.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2019-2021 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
12
13#ifndef __SCHEMAS_GUI_BACKEND_MA_SELECTIONS_H__
14#define __SCHEMAS_GUI_BACKEND_MA_SELECTIONS_H__
15
18#include "utils/yaml.h"
19
21{
23 int schema_version;
24 MidiNote_v1 ** midi_notes;
25 int num_midi_notes;
26 size_t midi_notes_size;
28
29static const cyaml_schema_field_t midi_arranger_selections_fields_schema_v1[] = {
30 YAML_FIELD_MAPPING_EMBEDDED (
32 base,
33 arranger_selections_fields_schema_v1),
34 YAML_FIELD_INT (MidiArrangerSelections_v1, schema_version),
35 YAML_FIELD_DYN_ARRAY_VAR_COUNT (
37 midi_notes,
38 midi_note_schema_v1),
39
40 CYAML_FIELD_END
41};
42
43static const cyaml_schema_value_t midi_arranger_selections_schema_v1 = {
44 YAML_VALUE_PTR (
46 midi_arranger_selections_fields_schema_v1),
47};
48
49#endif
ArrangerSelections schema.
MIDI note schema.
YAML utils.