save code as base64 in url

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

View file

@ -52,7 +52,7 @@ Pattern.prototype.midi = function (output: string, channel = 1) {
// await enableWebMidi()
device.playNote(value, channel, {
time,
duration: event.duration * 1000,
duration: event.duration * 1000 - 5,
// velocity: velocity ?? 0.5,
velocity: 0.9,
});