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
13
#include "
gui/backend/backend/cyaml_schemas/gui/backend/arranger_object.h
"
14
15
typedef
struct
Velocity_v1
16
{
17
ArrangerObject_v1
base;
18
int
schema_version;
19
uint8_t vel;
20
}
Velocity_v1
;
21
22
static
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
28
static
const
cyaml_schema_value_t velocity_schema_v1 = {
29
YAML_VALUE_PTR (
Velocity_v1
, velocity_fields_schema_v1),
30
};
31
32
#endif
arranger_object.h
Arranger object schema.
ArrangerObject_v1
Definition
arranger_object.h:53
Velocity_v1
Definition
velocity.h:16
src
gui
backend
backend
cyaml_schemas
dsp
velocity.h
Generated by
1.13.2