Skip to content

Commit

Permalink
fix: Midi - addListener should have channel number and not controlcha…
Browse files Browse the repository at this point in the history
…nge number
  • Loading branch information
olzzon committed Aug 16, 2019
1 parent 96576f4 commit aec6ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/MidiMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class MidiMixerConnection {
}

setupMixerConnection() {
this.midiInput.addListener(this.mixerProtocol.channelTypes[0].fromMixer.CHANNEL_FADER_LEVEL[0].type, this.mixerProtocol.channelTypes[0].fromMixer.CHANNEL_FADER_LEVEL[0].mixerMessage,
this.midiInput.addListener(this.mixerProtocol.channelTypes[0].fromMixer.CHANNEL_FADER_LEVEL[0].type, 1,
(error: any) => {
console.log("Received 'controlchange' message (" + error.data + ").");
window.storeRedux.dispatch({
Expand Down

0 comments on commit aec6ea8

Please sign in to comment.