Skip to content

Commit

Permalink
Merge pull request #124 from grimmdude/revert_121
Browse files Browse the repository at this point in the history
Revert changes from PR 121
  • Loading branch information
grimmdude authored Sep 27, 2023
2 parents 93bfbb4 + 8dcbb43 commit d51fe1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/midi-events/program-change-event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ProgramChangeEvent implements MidiEvent {
this.status = 0xC0;
this.name = 'ProgramChangeEvent';
// delta time defaults to 0.
this.data = Utils.numberToVariableLength(this.delta).concat(this.status | this.channel - 1, this.instrument);
this.data = Utils.numberToVariableLength(this.delta).concat(this.status | this.channel, this.instrument);
}
}

Expand Down
Loading

0 comments on commit d51fe1b

Please sign in to comment.