frequency-bars
nanocomponent rendering realtime audio frequencies as a bar chart
Last updated 2 years ago by goto-bus-stop .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install frequency-bars 
SYNC missed versions from official npm registry.

frequency-bars

nanocomponent rendering realtime audio frequencies as a bar chart

Install - Usage - License: Apache-2.0

npm travis standard

Install

npm install frequency-bars

Usage

var FrequencyBars = require('frequency-bars')
var html = require('nanohtml')

var bars = new FrequencyBars()
var audio = new Audio('./path/to/audio.mp3')

document.body.appendChild(html`
  <div>
    ${bars.render({
      width: 400,
      height: 240,
      background: '#222',
      audio
    })}
  </div>
`)

audio.play()

License

Apache-2.0

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |