fix: web midi
This commit is contained in:
parent
372bdf8be7
commit
eca92cf5b5
6 changed files with 249 additions and 230 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue