Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
modulator_macro_processor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2021-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __SCHEMAS_AUDIO_MODULATOR_MACRO_PROCESSOR_H__
11#define __SCHEMAS_AUDIO_MODULATOR_MACRO_PROCESSOR_H__
12
14#include "utils/yaml.h"
15
17{
18 int schema_version;
19 char * name;
20 Port_v1 * cv_in;
21 Port_v1 * cv_out;
22 Port_v1 * macro;
24
25static const cyaml_schema_field_t modulator_macro_processor_fields_schema_v1[] = {
26 YAML_FIELD_INT (ModulatorMacroProcessor_v1, schema_version),
27 YAML_FIELD_STRING_PTR (ModulatorMacroProcessor_v1, name),
28 YAML_FIELD_MAPPING_PTR (ModulatorMacroProcessor_v1, cv_in, port_fields_schema_v1),
29 YAML_FIELD_MAPPING_PTR (ModulatorMacroProcessor_v1, cv_out, port_fields_schema_v1),
30 YAML_FIELD_MAPPING_PTR (ModulatorMacroProcessor_v1, macro, port_fields_schema_v1),
31
32 CYAML_FIELD_END
33};
34
35static const cyaml_schema_value_t modulator_macro_processor_schema_v1 = {
36 YAML_VALUE_PTR (
38 modulator_macro_processor_fields_schema_v1),
39};
40
41#endif
Port schema.
Definition port.h:18
YAML utils.