fix: web midi

This commit is contained in:
Felix Roos 2022-11-10 18:12:38 +01:00
parent 372bdf8be7
commit eca92cf5b5
6 changed files with 249 additions and 230 deletions

View file

@ -150,7 +150,7 @@ function App() {
// getTime: () => Tone.getTransport().seconds,
});
/* useWebMidi({
useWebMidi({
ready: useCallback(
({ outputs }) => {
pushLog(`WebMidi ready! Just add .midi(${outputs.map((o) => `'${o.name}'`).join(' | ')}) to the pattern. `);
@ -169,7 +169,7 @@ function App() {
},
[pushLog],
),
}); */
});
return (
<div className="min-h-screen flex flex-col">