Skip to content

Commit

Permalink
Merge pull request #110 from GeekFunkLabs/midimonitor-bug
Browse files Browse the repository at this point in the history
fix midi monitor bug
  • Loading branch information
albedozero authored Jan 22, 2024
2 parents ddeb74e + d41e7c2 commit ef0e343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fluidpatcher_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def sig_handler(sig):
s.pno = sig.patch
fp.apply_patch(s.pno)
print(f"Selected patch {s.pno + 1}/{len(fp.patches)}: {fp.patches[s.pno]}")
elif s.monitor and not hasattr(sig, 'val'):
elif s.monitor and not hasattr(sig, 'val') and sig.type in MSG_TYPES:
t = MSG_TYPES.index(sig.type)
if t < 3:
octave = int(sig.par1 / 12) - 1
Expand Down

0 comments on commit ef0e343

Please sign in to comment.