vsDizzy / audio-freq-sample

Simple audio visualizer

Home Page:https://vsdizzy.github.io/audio-freq-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample audio frequency visualizer

levels

Demo

Should work in Chrome, Firefox, Edge.

Will not work in Internet Explorer because it does not support AudioContext.

The Idea

To compose bars programmatically:

  • draw the gradient bar: bar
  • draw the mask: mask
  • scale up the bar and mask it using svg and pattern

The result:

row

Then just copy corresponding pixels to the target canvas.

About

Simple audio visualizer

https://vsdizzy.github.io/audio-freq-sample


Languages

Language:TypeScript 61.0%Language:HTML 39.0%