Skip to content

Commit

Permalink
Latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Hutchen authored and Austin Hutchen committed Dec 28, 2024
1 parent 26b45c2 commit 6308b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
npm cache clean --force
npm cache clear --force
npm cache verify
npm upgrade
npm update
npm install --save @types/node
npm install
npm run predeploy
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/AudioVisualizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ ctx.shadowColor = "#FFFFFF"; // Bright white glow
}

// Draw frequency labels
ctx.font = "1vmin Arial";
ctx.font = "1vmax Arial";
const frequencies = [ 500,4000, 8000,16000];
const spacing = 12; // Minimum spacing between labels
const spacing = 10; // Minimum spacing between labels

frequencies.forEach((freq, index) => {
const pos = ((freq / 20000) * canvas.width);
Expand Down

0 comments on commit 6308b98

Please sign in to comment.