Skip to content

Commit

Permalink
fix: f*cking hell
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaybee18 committed Mar 17, 2024
1 parent 0313500 commit 6225610
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib/components/noteView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
const s = new Tone.PolySynth().toDestination();
pianoSynth.setSynth(s);
console.log("audio setup successful")!
console.log("audio setup successful");
};
const setupAudio = (e: MouseEvent) => {
Expand Down Expand Up @@ -206,10 +206,9 @@
<div id="dev-tools">
<Button text="setup audio" onClick={setupAudio}/>
<Button text="connect midi" onClick={connectMidi}/>
<!-- <Button text="upload midi" onClick={uploadMidi}/> -->
<Button text="testt"/>
<Button text="upload midi" onClick={uploadMidi}/>
<input bind:this={midiFileInput} type="file" style="display: none;" accept="audio/midi"/>
<!-- <Button onClick={togglePlay} bind:text={playButtonText} /> -->
<Button onClick={togglePlay} bind:text={playButtonText} />
<div bind:this={playbackTime}></div>
<ValueSlider text="BPM" defaultValue={120} onChange={onChangeValue}/>
<ValueSlider text="speed" defaultValue={1} delta={0.01} onChange={changeSpeedFactor}/>
Expand Down

0 comments on commit 6225610

Please sign in to comment.