Skip to content

Commit

Permalink
Release MIDI Performer2 v0.6.5 (#385)
Browse files Browse the repository at this point in the history
- Filter sustain pedal with note filter
  • Loading branch information
ThrashJazzAssassin committed Jun 14, 2024
1 parent 9faf1d4 commit ad473d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MIDI/TJA_MIDI Performer2.jsfx
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ad473d2

Please sign in to comment.