Skip to content

AmanRaj1608/Minimal-Audio-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Audio Visualizer

GitHub issues GitHub stars GitHub forks Twitter GitHub license


This audio visualizer makes a real-time frequency and time-domain analysis information. Have you ever watched NCS videos? Do you like watching Waves dancing on your screen while listening to music? Well, now you can do it.

Enjoy your own music with Minimal Audio Visualizer. Simply play music and open https://amanraj1608.github.io/Minimal-Audio-Visualizer/

Code have explanations and easy to understand. Feel free to add a feature and make a PR.

Caution: Don't increase the fftSize greater than 2^12 unless you have Mac Cheese Grater 😆


TODO 📝

  • Add Button to add control number of bars.
  • Add more Designs

How it works?

I invested some time reading MDN docs and found this AudioContext API having lots of methods that musicians will love to try.

Using AnalyserNode we take the generated data, process it, and create audio visualizations.

MDN

The AnalyserNode.fftSize property is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.

There are also much more things AudioContext which can be used used like :

  • GainNode - Changing the volume of a sound
  • createBiquadFilter - Applying a simple filter effect to a sound and many more.

I found these MDN links useful


Made with ❤️ by Aman Raj


About

🎵 Represent your sound in a gradient colored Visualization

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors