News for hackers. Stuff that matters.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by huhtenberg on Friday December 28, 2012 @04:21PM (#4979618)

  Fuck!
  Sorry but this experiment works only on Google Chrome.
Fuck indeed.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by sergiotapia on Friday December 28, 2012 @06:37PM (#4980189)
I feel Chrome is going to become the next IE6. And that sucks.

Then again is it Chrome's fault that Firefox and Opera don't catch up? Would love any insight on this.

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by arrrg on Friday December 28, 2012 @10:28PM (#4980980)
As long as Google exists, I can’t see them abandoning Chrome.

The problem with Internet Explorer 6 was always that Microsoft stopped developing it after achieving dominance. Internet Explorer 6 was not a bad or outdated browser when it came out, it was quite modern for its time. It only became outdated once it was abandoned.

Google’s incentives aren’t set up such that they would benefit from abandoning their browser. Google wants people to do ever more stuff on the web. Abandoning Chrome would limit the stuff people can do online. Even in the unlikely event of Google achieving total dominance in the browser market, I don’t think their incentives are set up in a way that they would ever be interested in letting Chrome become outdated.

Oh sure, should they achieve total dominance Google might be tempted to do evil stuff with that dominance. Stopping developing Chrome, however, is not one of those things.

As such the situation is not even a little bit comparable. Google achieving total dominance in the browser market might still be bad, but not for the same reasons Internet Explorer 6’s dominance was bad.

Honestly, however, I think that this is mostly a fault of Mozilla, Apple and Microsoft sometimes not getting their shit together. You can’t really blame Google.

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by at-fates-hands on Friday December 28, 2012 @08:10PM (#4980519)
I'm pretty sure Chrome still hasn't fixed the cleartype feature so embedded fonts look decent like they do in Firefox.

Chrome really isn't that far ahead of FF or Opera. all three are still pretty close. The only real loser here is still IE. Their paltry developer tools and IE8's incompatibility with HTML5 has pretty much doomed it to the trash bin.

Just in case you needed some benchmark facts:

http://www.zdnet.com/blog/hardware/the-big-browser-benchmark...

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by graue on Friday December 28, 2012 @10:25PM (#4980971)
Chrome has Web Audio, which is pretty far from coming to Firefox, and seems low priority[1]. That's why we keep seeing cool audio stuff posted here that's Chrome-exclusive. Firefox supports its own Audio Data API[2] which predates the W3C standard, but it's deprecated, and will never be supported by other browsers.

Web Intents[3] is another cool feature in Chrome that's not even on the map for Firefox. Instead there's a "counter-proposal" called Web Activities[4] that no one outside of Mozilla is talking about (and it seems pretty dead).

I still use Firefox, but the lack of leadership in these two cases is discouraging.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=779297

[2] https://wiki.mozilla.org/Audio_Data_API

[3] http://webintents.org/

[4] https://wiki.mozilla.org/WebActivities

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by FuzzyDunlop on Friday December 28, 2012 @04:01PM (#4979516)
This is really cool. Only thing that confused me is the UI seems to have a mind of its own sometimes - songs suddenly change themselves, and the list scrolls, and I can't find my way back to where I was.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by notJim on Friday December 28, 2012 @04:58PM (#4979824)
God, this is so much cooler than my holiday project :). Nice work.

In terms of critique, if you're interested in that, the UI could use some work (the interactions are weird, and it's not very intuitive), but once you get past that, the visualization is awesome. The UI is also quite pretty, so I think if you fine-tuned the interaction issues, it would be fantastic.

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by umaar on Friday December 28, 2012 @04:47PM (#4979759)
Nice work! Any plans on updating the Github repo https://github.com/adrianleb/harmogram with this version?

Reason I ask, I wouldn't mind contributing a feature where the user can select their own microphone input as the audio source and have the paper.js visualisation react accordingly.

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by graue on Friday December 28, 2012 @04:44PM (#4979740)
No sound in Chromium on Linux (Ubuntu). Unfortunately, that often happens when I click on these experiments, due to lack of MP3 support. There is MP3.js to get around the patent issues, if Linux support is important to you: https://github.com/devongovett/mp3.js
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by jkbyc on Friday December 28, 2012 @05:00PM (#4979831)
it works for me: Chromium Version 22.0.1229.94 Ubuntu 12.10 (161065)
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by graue on Friday December 28, 2012 @05:44PM (#4979998)
Weird. That's the exact same version string in mine and I get nothing. Did you install some kind of MP3 plugin/codec to get it to work?
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by jkbyc on Friday December 28, 2012 @07:21PM (#4980337)
I didn't install anything specifically for this site but looking through my installed packages I now recall I had previously installed e.g.:

browser-plugin-vlc

chromuim-codecs-ffmpeg-extra

gecko-mediaplayer

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by graue on Friday December 28, 2012 @10:01PM (#4980895)
chromium-codecs-ffmpeg-extra did it. Thanks! Weird that no corresponding package seems to exist for Firefox.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by thrownaway2424 on Friday December 28, 2012 @06:34PM (#4980173)
Really nice work. Discovered some nice music, too :)

When it's on-screen is uses two whole CPUs though (one for the chrome tab, and one for Chrome's GPU-driving process) and the visualization is obviously half a beat ahead of the music. That's not your fault, but it certainly demonstrates the drawbacks of the platform.

Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by tonetheman on Friday December 28, 2012 @05:57PM (#4980034)
Cool cool. Needs a pause button bad... or is there one already?
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by RaSoJo on Friday December 28, 2012 @11:33PM (#4981131)
spacebar da pause
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by mikle on Friday December 28, 2012 @04:28PM (#4979663)
I hate stuff that auto play music full volume on opening the page. That said, looks like an interesting experiment. I'm glad that people are using the Web Audio API, hopefully the more people use it the more browsers will support it and it will be updated.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by spyder on Friday December 28, 2012 @04:30PM (#4979674)
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by EwanG on Friday December 28, 2012 @03:54PM (#4979478)
Not OPs fault, but from the name I was expecting a web-based harmonica. Anything good online for doing GarageBand type things? Preferably that can be used in other projects?
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by xwowsersx on Friday December 28, 2012 @03:56PM (#4979489)
More awesome web stuff today. Great job and awesome music!
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by zan2434 on Saturday December 29, 2012 @12:07AM (#4981211)
Interesting, I did something similar with http://puur.tk/better
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by aioprisan on Friday December 28, 2012 @03:44PM (#4979417)
why is it chrome only?
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by FuzzyDunlop on Friday December 28, 2012 @03:52PM (#4979466)
the web audio API isn't implemented in anything else. Firefox uses a proprietary thing that's been deprecated.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by zan2434 on Saturday December 29, 2012 @12:45AM (#4981271)
the web audio api seems to function well in Safari
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by rebelnz on Saturday December 29, 2012 @05:21AM (#4981694)
Very nice! It was a little 'glitchy' whilst loading but otherwise worked fine for me (Win 7/Chrome 23).
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by msutherl on Friday December 28, 2012 @09:22PM (#4980786)
Hah, nice UK bass selection! Didn't know about Damu – awesome stuff.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by n1ghtfury on Friday December 28, 2012 @03:40PM (#4979392)
nice! looks legit - great music choices too :D
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by marcelcor on Friday December 28, 2012 @05:17PM (#4979898)
It uses the http://shuffler.fm API. It's the blogs that pick the music.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by mwasser on Friday December 28, 2012 @03:08PM (#4979261)
Love it! What's the objective of the project?
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by adrianleb on Friday December 28, 2012 @03:29PM (#4979342)
Objective was mainly to experiment with the Web Audio API, specially its analyser. Once you plug that into a 2d/3d canvas theres really a lot of room for creativity. Glad you liked it!
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by mjcohenw on Friday December 28, 2012 @04:26PM (#4979648)
Ha! Nobody there I ever heard of.
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by RaSoJo on Friday December 28, 2012 @11:34PM (#4981134)
Avicci, no?
Re:Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT... by podrivo on Friday December 28, 2012 @09:40PM (#4980839)
beautiful!