MuseScore/mscore/importmidi_operation.h

86 lines
1.5 KiB
C
Raw Normal View History

#ifndef IMPORTMIDI_OPERATION_H
#define IMPORTMIDI_OPERATION_H
namespace Ms {
// all enums below should have default indexes like 0, 1, 2...
// text names for enum items are in OperationsModel class
2013-05-30 16:04:02 +02:00
struct MidiOperation
{
2013-05-30 16:04:02 +02:00
enum class Type {
DO_IMPORT = 0,
QUANT_VALUE,
QUANT_REDUCE,
QUANT_HUMAN,
DO_LHRH_SEPARATION,
LHRH_METHOD,
LHRH_SPLIT_OCTAVE,
LHRH_SPLIT_NOTE,
2013-07-09 02:09:46 +02:00
USE_DOTS,
TUPLET_SEARCH,
TUPLET_2,
TUPLET_3,
TUPLET_4,
TUPLET_5,
2013-07-09 15:10:43 +02:00
TUPLET_7,
TUPLET_9
} type;
QVariant value;
2013-05-30 16:04:02 +02:00
enum class QuantValue {
SHORTEST_IN_BAR = 0,
FROM_PREFERENCES,
N_4,
N_8,
N_16,
N_32,
N_64
};
2013-05-30 16:04:02 +02:00
enum class LHRHMethod {
HAND_WIDTH = 0,
2013-05-30 16:04:02 +02:00
FIXED_PITCH
};
2013-05-30 16:04:02 +02:00
enum class Octave {
C_1 = 0,
C0,
C1,
C2,
C3,
C4,
C5,
C6,
C7,
C8,
C9
};
2013-05-30 16:04:02 +02:00
enum class Note {
C = 0,
Cis,
D,
Dis,
E,
F,
Fis,
G,
Gis,
A,
Ais,
H
};
};
} // namespace Ms
#endif // IMPORTMIDI_OPERATION_H