init audio on first click to remove warning
This commit is contained in:
parent
00550ddab5
commit
b688b8921a
2 changed files with 19 additions and 6 deletions
|
|
@ -18,7 +18,9 @@ import { controls, evalScope, logger } from '@strudel.cycles/core';
|
|||
import { createClient } from '@supabase/supabase-js';
|
||||
import { nanoid } from 'nanoid';
|
||||
import { useStrudel } from '@strudel.cycles/react';
|
||||
import { webaudioOutput } from '@strudel.cycles/webaudio';
|
||||
import { webaudioOutput, initAudioOnFirstClick } from '@strudel.cycles/webaudio';
|
||||
|
||||
initAudioOnFirstClick();
|
||||
|
||||
// Create a single supabase client for interacting with your database
|
||||
const supabase = createClient(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue