diff --git a/MIDI/TJA_MIDI Performer2.jsfx b/MIDI/TJA_MIDI Performer2.jsfx index 4959dde..b05702b 100644 --- a/MIDI/TJA_MIDI Performer2.jsfx +++ b/MIDI/TJA_MIDI Performer2.jsfx @@ -1,7 +1,7 @@ desc: MIDI Performer2 author: Kevin Morrison (ThrashJazzAssassin) -version: 0.6.4 -changelog: - allow duplicate PC messages +version: 0.6.5 +changelog: - Filter sustain pedal with note filter link: Forum thread https://forum.cockos.com/showthread.php?t=216034 screenshot: https://stash.reaper.fm/35134/performer.PNG about: @@ -365,7 +365,7 @@ while (midirecv(offset,msg1,msg2,msg3)) ( ):isSusPedal() ? ( - msg3 && isRow(i) && isBussAndChannel(i) && outBus[i]-1>=0 ? ( //Sustain pedal depressed? + msg3 && isRow(i) && isBussAndChannel(i) && outBus[i]-1>=0 && filter[i]&4 ? ( //Sustain pedal depressed? susPedal[i] = 1; //Store sustain depression susPedalBus[i] = outBus[i]-1; //Store Bus susPedalChan[i] = outChan[i]-1; //Store Channel