Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
automation_function.h
1// SPDX-FileCopyrightText: © 2020, 2024-2025 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#pragma once
5
6#include <span>
7
8namespace zrythm::structure::arrangement
9{
10class AutomationPoint;
11
13{
14public:
15 enum class Type
16 {
17 FlipHorizontal,
18 FlipVertical,
19 Flatten,
20 };
21
29 static void apply (std::span<AutomationPoint *> sel, Type type);
30};
31
32}
static void apply(std::span< AutomationPoint * > sel, Type type)
Applies the given action to the given selections.
An automation point inside an AutomationTrack.