Skip to content

Commit

Permalink
fix sus randomly disabled instrument picker
Browse files Browse the repository at this point in the history
  • Loading branch information
44100hertz committed Jul 22, 2024
1 parent 2956adc commit 018e5ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/App.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import type { Instrument } from "$lib/audio/instrument";
import { type Instrument, sineWave } from "$lib/audio/instrument";
import VERSION from "$lib/version";
import AudioController from "$lib/audio/Controller";
import InstrumentPanel from "$lib/InstrumentPanel.svelte";
Expand All @@ -10,7 +10,7 @@
import { writable } from "svelte/store";
import Titlebar from "./Titlebar.svelte";
export let initialInstrument: Instrument;
export let initialInstrument: Instrument = sineWave(1);
let instrument = writable(initialInstrument);
let ctrl = new AudioController();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Titlebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
>
<img alt="Fazeoid" src="/fazeoid.svg" height="100%" />
</a>
<!-- <PresetSelector bind:params /> -->
<PresetSelector bind:params />
<button title="Randomize" on:click={randomize}>
<ShuffleIcon />
</button>
Expand Down

0 comments on commit 018e5ac

Please sign in to comment.