Giter VIP home page Giter VIP logo

malutanpetronel / web-audio-fft-visualization-with-react-hooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daremes/web-audio-fft-visualization-with-react-hooks

0.0 1.0 0.0 143.68 MB

Live audio spectrum visualization with React.js components

Home Page: https://matt-eric.github.io/web-audio-fft-visualization-with-react-hooks/

License: MIT License

HTML 25.88% JavaScript 67.47% SCSS 6.64%

web-audio-fft-visualization-with-react-hooks's Introduction

Build Status stability-experimental License: MIT

A method for visualizing live spectral data of an audio source in React.js.

Try the Live Demo.

View a more detailed description on Medium

This project utilizes the Web Audio API to create an AnalyserNode for generating real-time frequency analysis information of the audio source in the web browser.

When the Start button is pressed, an audio file is played and a requestAnimationFrame loop is invoked which will retrieve an array of current amplitude values respective to the specified Bin Count. The amplitude values are then passed to Material-UI Paper Components as height properties, and are also used to create RGB values for the backgroundColor of the Paper Components.

The aim of this project is to visualize each frequency band of an audio data source in real time, using components that can be independently styled according to the current amplitude and frequency values.

Available Scripts

To demo the project locally, run:

npm i

Installs the package dependencies

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

web-audio-fft-visualization-with-react-hooks's People

Contributors

mattfsourcecode avatar dependabot[bot] avatar

Watchers

James Cloos 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.