Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::MidiFunction Class Reference

Data Structures

class  Options

Public Types

enum class  Type {
  Crescendo , Flam , FlipHorizontal , FlipVertical ,
  Legato , Portato , Staccato , Strum
}

Static Public Member Functions

static utils::Utf8String type_to_string_id (Type type)
 Returns a string identifier for the type.
static auto string_id_to_type (const char *id) -> Type
 Returns a string identifier for the type.
static void apply (std::span< MidiNote * > sel, Type type, Options opts)
 Applies the given action to the given selections.

Detailed Description

Definition at line 16 of file midi_function.h.

Member Enumeration Documentation

◆ Type

enum class zrythm::structure::arrangement::MidiFunction::Type
strong

Definition at line 19 of file midi_function.h.

Member Function Documentation

◆ apply()

void zrythm::structure::arrangement::MidiFunction::apply ( std::span< MidiNote * > sel,
Type type,
Options opts )
static

Applies the given action to the given selections.

Parameters
selSelections to edit.
typeFunction type.
Exceptions
ZrythmExceptionon error.

The documentation for this class was generated from the following file: