Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release MIDI Performer2 v0.6.5 #385

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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