Skip to content

Commit

Permalink
Set minimum frequency to 10hz
Browse files Browse the repository at this point in the history
  • Loading branch information
mszula committed Jun 18, 2024
1 parent adbbee4 commit a8672da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const synth = new Synth().toDestination();
let freqStepSize = 0;

const maxFrequency = 1500;
const minFrequency = 100;
const minFrequency = 10;

export const soundStart = (size: number) => {
freqStepSize = maxFrequency / size;
Expand Down

0 comments on commit a8672da

Please sign in to comment.