mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-17 03:30:30 +02:00
add the PitchWheel constant to the MIDIManager class
This commit is contained in:
parent
55d8b763c5
commit
73312ecc5f
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,8 @@ class MIDIManager : public QObject {
|
|||
Q_PROPERTY(unsigned int NoteOn READ NoteOn)
|
||||
Q_PROPERTY(unsigned int NoteOff READ NoteOff)
|
||||
Q_PROPERTY(unsigned int ModWheel READ ModWheel)
|
||||
Q_PROPERTY(unsigned int PitchWheel READ PitchWheel)
|
||||
|
||||
public:
|
||||
static MIDIManager& getInstance();
|
||||
static void midiCallback(double deltaTime, std::vector<unsigned char>* message, void* userData);
|
||||
|
@ -37,6 +39,7 @@ public slots:
|
|||
unsigned int NoteOn() const { return 144; }
|
||||
unsigned int NoteOff() const { return 128; }
|
||||
unsigned int ModWheel() const { return 176; }
|
||||
unsigned int PitchWheel() const { return 224; }
|
||||
signals:
|
||||
void midiEvent(const MIDIEvent& event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue