From 566d6ce79b4b6ffda7d6eea704355fc311fb0b5e Mon Sep 17 00:00:00 2001 From: Miika Alonen Date: Tue, 22 Aug 2023 09:31:51 +0300 Subject: [PATCH] Remove useless code --- src/Note.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Note.ts b/src/Note.ts index 85d54f9..bfe380a 100644 --- a/src/Note.ts +++ b/src/Note.ts @@ -90,9 +90,7 @@ export class Note extends Event { this.midiConnection.getMidiOutputIndex(this.values.port) : this.midiConnection.getCurrentMidiPortIndex(); - if (bend) this.midiConnection.sendPitchBend(bend, channel); this.midiConnection.sendMidiNote(note, channel, velocity, duration, port, bend); - //if (bend) this.midiConnection.sendPitchBend(8192, channel); } } \ No newline at end of file