Skip to content

Commit

Permalink
Merge pull request #188 from musikinformatik/topic-midinote
Browse files Browse the repository at this point in the history
MIDI to recognise midinote and note parameters
  • Loading branch information
telephon authored Apr 7, 2020
2 parents 58874b8 + d588893 commit 439960c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/DirtEventTypes.sc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ DirtEventTypes {
var freq, lag, sustain;
var args, midiout, hasGate, midicmd, latency, chan;
var sendNRPN, schedmidi, schedmidicmd, donecmd;
var hasNote = ~n != \none, midiCommandPending = ~midicmd.notNil;
var hasNote = (~n != \none or: {~note.notNil});
var midiCommandPending = ~midicmd.notNil;
var nrpnMSB, nrpnLSB, valMSB, valLSB;
var ctlNum, control, num, val, note;

Expand Down

0 comments on commit 439960c

Please sign in to comment.