mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
fix: don't reset on each eval
This commit is contained in:
parent
8494353ace
commit
0190604a7f
@ -177,7 +177,7 @@ export async function midin(input) {
|
||||
}
|
||||
const initial = await enableWebMidi(); // only returns on first init
|
||||
const device = getDevice(input, WebMidi.inputs);
|
||||
if (initial || WebMidi.enabled) {
|
||||
if (initial) {
|
||||
const otherInputs = WebMidi.inputs.filter((o) => o.name !== device.name);
|
||||
logger(
|
||||
`Midi enabled! Using "${device.name}". ${
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user