Giter Club home page Giter Club logo

minimal-audio-visualizer's Introduction

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


minimal-audio-visualizer's People

Contributors

amanraj1608 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.