Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
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 (ArrangerObjectSpan sel, Type type, Options opts)
 Applies the given action to the given selections.
 

Detailed Description

Definition at line 28 of file midi_function.h.

Member Enumeration Documentation

◆ Type

enum class MidiFunction::Type
strong

Definition at line 31 of file midi_function.h.

Member Function Documentation

◆ apply()

static void MidiFunction::apply ( ArrangerObjectSpan 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: