InoreNeronI / Amelie

HTML5 audio visualiser experiment using D3 with a curious theme

Home Page:https://inoreneroni.github.io/Amelie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amélie

Amélie is a curiously mesmerising kaleidoscope visualization written in React.js using D3 with HTML5's AnalyserNode API.

Amélie Screenshot


Getting Started

You're more than welcome to run the example yourself locally – simply clone the repository and run npm start from your terminal – npm start uses Parcel for running the example on 0.0.0.0:1234.

Module

Amélie utilises the AnalyserNode API to create the visualization – the example itself is built using React and D3.

In audio.js there are a handful of core methods; there is the configureAudioContext method that passes the HTML5 <audio> stream through the AnalyserNode API; there is also the analyseAudioStream method that performs the analysis on the current audio stream and defines the frequencyData which is used to create the visualizations; from there we have the renderCircles and renderSplodges that take the aforementioned frequencyData variable to construct the circles using the D3 library.

About

HTML5 audio visualiser experiment using D3 with a curious theme

https://inoreneroni.github.io/Amelie

License:MIT License


Languages

Language:JavaScript 34.2%Language:HTML 29.9%Language:SCSS 24.4%Language:Sass 11.5%