6#include "structure/arrangement/arranger_object.h"
7#include "utils/format.h"
8#include "utils/logger.h"
10namespace zrythm::structure::arrangement
13enum class AudioFunctionType
50audio_function_get_action_target_for_type (AudioFunctionType type);
58audio_function_get_detailed_action_for_type (
59 AudioFunctionType type,
62#define audio_function_get_detailed_action_for_type_default(type) \
63 audio_function_get_detailed_action_for_type (type, "app.editor-function")
66audio_function_get_icon_name_for_type (AudioFunctionType type);
82 std::pair<units::precise_tick_t, units::precise_tick_t> selected_range,
83 AudioFunctionType type,
85 std::optional<utils::Utf8String> uri);
88DEFINE_ENUM_FORMATTER (
89 zrythm::structure::arrangement::AudioFunctionType,
91 QT_TR_NOOP_UTF8 (
"Invert"),
92 QT_TR_NOOP_UTF8 (
"Normalize peak"),
93 QT_TR_NOOP_UTF8 (
"Normalize RMS"),
94 QT_TR_NOOP_UTF8 (
"Normalize LUFS"),
95 QT_TR_NOOP_UTF8 (
"Linear fade in"),
96 QT_TR_NOOP_UTF8 (
"Linear fade out"),
97 QT_TR_NOOP_UTF8 (
"Nudge left"),
98 QT_TR_NOOP_UTF8 (
"Nudge right"),
99 QT_TR_NOOP_UTF8 (
"Reverse"),
100 QT_TR_NOOP_UTF8 (
"Pitch shift"),
101 QT_TR_NOOP_UTF8 (
"Copy L to R"),
102 QT_TR_NOOP_UTF8 (
"External program"),
103 QT_TR_NOOP_UTF8 (
"Guile script"),
104 QT_TR_NOOP_UTF8 (
"Custom plugin"),
105 QT_TR_NOOP_UTF8 (
"Invalid"));
double amount_
Amount related to the current function (e.g.
Lightweight UTF-8 string wrapper with safe conversions.