MuseScore  3.4
Music composition and notation
importmidi_operation.h
Go to the documentation of this file.
1 #ifndef IMPORTMIDI_OPERATION_H
2 #define IMPORTMIDI_OPERATION_H
3 
4 #include "importmidi_fraction.h"
5 
6 #include <set>
7 
8 
9 namespace Ms {
10 
11 // all enums below should have default indexes like 0, 1, 2...
12 // text names for enum items are in TracksModel class
13 
14 namespace MidiOperations {
15 
16 enum class QuantValue {
17  Q_4 = 0,
18  Q_8,
19  Q_16,
20  Q_32,
21  Q_64,
22  Q_128
23  };
24 
25 enum class VoiceCount {
26  V_1 = 0,
27  V_2,
28  V_3,
29  V_4
30  };
31 
32 enum class Swing {
33  NONE = 0,
34  SWING,
35  SHUFFLE
36  };
37 
38 enum class TimeSigNumerator {
39  _2 = 0,
40  _3,
41  _4,
42  _5,
43  _6,
44  _7,
45  _9,
46  _12,
47  _15,
48  _21
49  };
50 
51 enum class TimeSigDenominator {
52  _2 = 0,
53  _4,
54  _8,
55  _16,
56  _32
57  };
58 
59 } // namespace MidiOperations
60 } // namespace Ms
61 
62 
63 #endif // IMPORTMIDI_OPERATION_H
Swing
Definition: importmidi_operation.h:32
QuantValue
Definition: importmidi_operation.h:16
Definition: aeolus.cpp:26
TimeSigNumerator
Definition: importmidi_operation.h:38
VoiceCount
Definition: importmidi_operation.h:25
TimeSigDenominator
Definition: importmidi_operation.h:51