Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bass is too emphasized in visualizers #16

Open
gitihobo opened this issue Jul 17, 2023 · 1 comment
Open

Bass is too emphasized in visualizers #16

gitihobo opened this issue Jul 17, 2023 · 1 comment

Comments

@gitihobo
Copy link

I want to see the higher frequencies more, anyway I can change this?

@TotallyNotJeff
Copy link

TotallyNotJeff commented Oct 1, 2023

I want to see the higher frequencies more, anyway I can change this?

You can add a multiplier to the ends of the following lines (there are two identical) in the viz.js file to increase the overall gain of the visualizer:

midY - (audioArray[x] / maxVal) * max_height * 5

Add the multiplier to both lines. I went with five since that was the most noticeable

Not entirely sure if this is what you wanted but hope it helps

My modified visualizer file if you want to skip this part
test 5.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants