From: <sag...@us...> - 2012-09-20 23:44:45
|
Revision: 1355 http://modplug.svn.sourceforge.net/modplug/?rev=1355&view=rev Author: saga-games Date: 2012-09-20 23:44:38 +0000 (Thu, 20 Sep 2012) Log Message: ----------- [Fix] VST: Tone portamento was still a bit off (tx coda) [Mod] OpenMPT: Version is now 1.20.02.11 Modified Paths: -------------- trunk/OpenMPT/mptrack/Vstplug.cpp trunk/OpenMPT/mptrack/version.h Modified: trunk/OpenMPT/mptrack/Vstplug.cpp =================================================================== --- trunk/OpenMPT/mptrack/Vstplug.cpp 2012-09-20 23:43:52 UTC (rev 1354) +++ trunk/OpenMPT/mptrack/Vstplug.cpp 2012-09-20 23:44:38 UTC (rev 1355) @@ -1617,7 +1617,7 @@ LimitMax(max, m_pEffect->numParams); - for (VstInt32 p = min; p < max; p++) + for(VstInt32 p = min; p < max; p++) param[p - min]=GetParameter(p); return true; @@ -2298,7 +2298,7 @@ return vstEvents.Enqueue(event, insertAtFront); } -//rewbs.VSTiNoteHoldonStopFix + void CVstPlugin::HardAllNotesOff() //-------------------------------- { @@ -2344,8 +2344,8 @@ } } -//end rewbs.VSTiNoteHoldonStopFix + void CVstPlugin::MidiCC(uint8 nMidiCh, MIDIEvents::MidiCC nController, uint8 nParam, CHANNELINDEX /*trackChannel*/) //----------------------------------------------------------------------------------------------------------------- { @@ -2365,8 +2365,7 @@ { if(pwd != 0) { - // 16383 / 127 = 129 - value = (value * ((MIDIEvents::pitchBendMax - MIDIEvents::pitchBendMin) / 127)) / pwd; + value = (value * ((MIDIEvents::pitchBendMax - MIDIEvents::pitchBendCentre + 1) / 64)) / pwd; } else { value = 0; Modified: trunk/OpenMPT/mptrack/version.h =================================================================== --- trunk/OpenMPT/mptrack/version.h 2012-09-20 23:43:52 UTC (rev 1354) +++ trunk/OpenMPT/mptrack/version.h 2012-09-20 23:44:38 UTC (rev 1355) @@ -19,7 +19,7 @@ #define VER_MAJORMAJOR 1 #define VER_MAJOR 20 #define VER_MINOR 02 -#define VER_MINORMINOR 10 +#define VER_MINORMINOR 11 //Creates version number from version parts that appears in version string. //For example MAKE_VERSION_NUMERIC(1,17,02,28) gives version number of This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |