diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-11 23:03:00 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-11 23:03:00 +0800 |
commit | cd09a7e8a42c8f3617cfe3c57eed3b96bcfd2ec5 (patch) | |
tree | 89643ad309a962a905ddb1ce8802652cb390b902 /core/qmpmidimapperrtmidi.cpp | |
parent | 841eb920676d6c8ac6440c8929e7422e95a9c4c5 (diff) | |
download | QMidiPlayer-cd09a7e8a42c8f3617cfe3c57eed3b96bcfd2ec5.tar.xz |
Flower Night.
Diffstat (limited to 'core/qmpmidimapperrtmidi.cpp')
-rw-r--r-- | core/qmpmidimapperrtmidi.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/qmpmidimapperrtmidi.cpp b/core/qmpmidimapperrtmidi.cpp index 10f830e..7d6cdac 100644 --- a/core/qmpmidimapperrtmidi.cpp +++ b/core/qmpmidimapperrtmidi.cpp @@ -86,3 +86,9 @@ void qmpMidiMapperRtMidi::sysEx(int iid,int length,const char *data) std::vector<unsigned char>message(data,data+length); ports[iid]->sendMessage(&message); } +void qmpMidiMapperRtMidi::panic(int iid,int ch) +{ + //maybe all notes off is more close to panic? + ctrlChange(iid,ch,120,0); + //ctrlChange(iid,ch,123,0); +} |