From eba45fdf11a98113b439db0510b55f14845db8fb Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 22 Apr 2019 00:16:50 +0800 Subject: New development cycle! Partially reintroduce High DPI handling. Pressing enter when a preset is focused now opens the preset selection dialog. Close all functionality windows before shutting down. Temporary fix for switching all channels of an external synth to mono mode unintentionally. And the most important one of them all: simple visualization! I'm ditching the 0.8.6 cycle because there was no clear goal for that release now (as the OPL3 emulation is now delayed indefinitely). In contrast, the 0.8.7 release has a pretty good-looking feature set mainly focused on improving support for external synthesizers: - Per-device initialization profile. - Instrument mapping files. - And a simple visualization ~~for showing off your external synthesizers~~. As always no ETA is set, nor will I promise the implementaion of all the features listed above. --- core/qmpmidiplay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/qmpmidiplay.cpp b/core/qmpmidiplay.cpp index 84561ae..29f636f 100644 --- a/core/qmpmidiplay.cpp +++ b/core/qmpmidiplay.cpp @@ -332,11 +332,11 @@ void CMidiPlayer::playerInit() chstatus[9][0]=127; for(int i=0;i<16;++i) { - chstatus[i][7]=100;chstatus[i][11]=127; + chstatus[i][7]=100;chstatus[i][8]=64;chstatus[i][11]=127; chstatus[i][10]=chstatus[i][71]=chstatus[i][72]= chstatus[i][73]=chstatus[i][74]=chstatus[i][75]= chstatus[i][76]=chstatus[i][77]=chstatus[i][78]=64; - for(int cc=0;cc<127;++cc) + for(int cc=0;cc<124;++cc)//Temporary fix before introduction of per-device initialization profile mididev[mappedoutput[i]].dev->basicMessage(0xB0|i,cc,chstatus[i][cc]); } } @@ -486,7 +486,7 @@ void CMidiPlayer::setChannelOutput(int ch,int outid) int origoutput=mappedoutput[ch]; SMidiDev& dnew=mididev[outid]; dnew.dev->onMapped(ch,++dnew.refcnt); - for(int i=0;i<128;++i) + for(int i=0;i<124;++i) if(i!=6&&i!=38&&i!=100&&i!=101)//avoid sending RPN/NRPN dnew.dev->basicMessage(0xB0|ch,i,chstatus[ch][i]); dnew.dev->basicMessage(0xC0|ch,chstatus[ch][128],0); -- cgit v1.2.3