30

Is there such a player? I'm looking into making one purely out of JavaScript. Something like http://www.nihilogic.dk/labs/pocket_full_of_html5/ but randomly all mashed together?

What are your thoughts?

John Hartsock
  • 85,422
  • 23
  • 131
  • 146
NickKampe
  • 960
  • 3
  • 14
  • 25
  • 2
    Thoughts? It's premature. It will be a long, long time before something resembling the experimental Audio Data API is available as standard in browsers. – bobince Jul 28 '10 at 12:02
  • 1
    The Audio Data API is functional in the latest FireFox Beta, but I agree, it will be a few years before this is standard (Even longer for cross-browser support) – JKirchartz Sep 08 '10 at 17:44
  • 2
    Then you create a cool audio player plugin for diaspora and all the cool kids will have to abandon IE. We'll have world peace within a month. – einarmagnus Sep 10 '10 at 10:37
  • The link is down - although the question is very old, you can see a cached version here: http://web.archive.org/web/20131003034805/http://www.nihilogic.dk/labs/pocket_full_of_html5/ – Joseph Aug 05 '16 at 06:26

5 Answers5

37

2 years later and a solution is found :)

https://github.com/jsantell/dancer.js

I also stumbled upon a website which uses the audio API and three.js to create pretty nice looking visualizations: http://do.adive.in/music/

Ezeke
  • 952
  • 7
  • 19
22

Over 3 years later and we have this: http://codepen.io/soulwire/pen/Dscga.

Martin Harrigan
  • 1,044
  • 11
  • 28
4

I believe the experimental Firefox Audio API is currently the only way you can do this in HTML+Javascript, although this is far from being official HTML5. Have a read of the documentation here:

https://wiki.mozilla.org/Audio_Data_API

It includes an example of a simple spectrum analyser. I also really recommend exploring the demo links on the same page:

https://wiki.mozilla.org/Audio_Data_API#Working_Audio_Data_Demos

It's an exciting time to be a Javascript developer and I hope the other browser vendors embrace this API. We can finally get sound in all those Javascript emulators for a start!

Dave R.
  • 7,206
  • 3
  • 30
  • 52
1

Is this the kind of visualizer you're after? http://www.storiesinflight.com/jsfft/visualizer/index.html

tagawa
  • 4,561
  • 2
  • 27
  • 34
1

This might be the answer: http://audioscene.org/scene-files/humph/slideshow/ in particular slide 6. It uses Mozilla's proposed Audio Data API which is not a W3C standard (yet) so only supported in Firefox 4.

tagawa
  • 4,561
  • 2
  • 27
  • 34