Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
velocity.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __SCHEMAS_AUDIO_VELOCITY_H__
11#define __SCHEMAS_AUDIO_VELOCITY_H__
12
14
15typedef struct Velocity_v1
16{
18 int schema_version;
19 uint8_t vel;
21
22static const cyaml_schema_field_t velocity_fields_schema_v1[] = {
23 YAML_FIELD_MAPPING_EMBEDDED (Velocity_v1, base, arranger_object_fields_schema_v1),
24 YAML_FIELD_INT (Velocity_v1, schema_version),
25 YAML_FIELD_UINT (Velocity_v1, vel), CYAML_FIELD_END
26};
27
28static const cyaml_schema_value_t velocity_schema_v1 = {
29 YAML_VALUE_PTR (Velocity_v1, velocity_fields_schema_v1),
30};
31
32#endif
Arranger object schema.