Skip to content

Commit

Permalink
fix: i am stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaybee18 committed Mar 17, 2024
1 parent 36594a5 commit 0313500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/noteView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import { canvasScaleFactor } from "$lib/ts/constants/constants";
import ValueSlider from "$lib/components/ValueSlider.svelte";
import Button from "$lib/components/Button.svelte";
import * as Tone from 'tone';
let playButtonText: string = "play";
let playbackTime: HTMLElement;
Expand Down Expand Up @@ -98,7 +99,6 @@
audioContext = new AudioContext();
audioContext.suspend();
const Tone = await import('tone');
Tone.start();
const s = new Tone.PolySynth().toDestination();
pianoSynth.setSynth(s);
Expand Down

0 comments on commit 0313500

Please sign in to comment.