Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Feb 15, 2024
1 parent cbc3e38 commit c8baee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/sineTone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function sineTone(hertz = 200, seconds = 1): Sound
// fill the buffer
for (let i = 0; i < fArray.length; i++)
{
const time = i / buffer.sampleRate;
const time = i / buffer.sampleRate;
const angle = hertz * time * 2 * Math.PI;

fArray[i] = Math.sin(angle) * amplitude;
Expand Down

0 comments on commit c8baee3

Please sign in to comment.