Skip to content

Commit

Permalink
fix: frequency linear ramp
Browse files Browse the repository at this point in the history
  • Loading branch information
fcastrovilli committed Mar 13, 2024
1 parent eb79552 commit 8b53ca0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/frequency.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
export let osc: Tone.Oscillator | null = null;
const updateFrequency = () => {
if (!osc) return;
osc.frequency.value = frequencyValue;
osc.frequency.linearRampTo(frequencyValue, 0.1);
// osc.frequency.value = frequencyValue;
};
</script>

Expand Down

0 comments on commit 8b53ca0

Please sign in to comment.