Skip to content

Commit

Permalink
Merge branch 'main' into feature/v8
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Jan 19, 2024
2 parents 67114f0 + 0b67d01 commit cbc3e38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/utils/sineTone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function sineTone(hertz = 200, seconds = 1): Sound
// fill the buffer
for (let i = 0; i < fArray.length; i++)
{
const time = i / buffer.sampleRate;
const angle = hertz * time * Math.PI;
const time = i / buffer.sampleRate;

Check warning on line 42 in src/utils/sineTone.ts

View workflow job for this annotation

GitHub Actions / build

Multiple spaces found before '='

Check warning on line 42 in src/utils/sineTone.ts

View workflow job for this annotation

GitHub Actions / build

Multiple spaces found before '='
const angle = hertz * time * 2 * Math.PI;

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

0 comments on commit cbc3e38

Please sign in to comment.