This commit is contained in:
Felix Roos 2022-02-10 14:53:25 +01:00
parent cff3da3fd0
commit 8986399736
3 changed files with 24 additions and 12 deletions

2
docs/dist/midi.js vendored
View file

@ -41,7 +41,7 @@ Pattern.prototype.midi = function(output, channel = 1) {
time = time * 1e3 + timingOffset;
device.playNote(value, channel, {
time,
duration: event.duration * 1e3,
duration: event.duration * 1e3 - 5,
velocity: 0.9
});
}