Live data from Hacker News

Beeplay.js: Write a song in JavaScript

watilde.github.io

11–20 of 22 posts

Re: Beeplay.js: Write a song in JavaScript

#15

A friend recently created something similar, and he ended up transcribing the full-length Super Mario theme song! http://eshiota.github.io/retro-audio-js/ Presentation here: http://www.slideshare.net/eshiota/web-audio-band-playing-wit...

Very awesome! Interestingly, in both Chrome and Firefox, the song stops playing ("mostly") if you switch to a different tab. I say "mostly" because Chrome seems to play a single note every 10-20 seconds even with the tab backgrounded.

Re: Beeplay.js: Write a song in JavaScript

#16

I'd love to specify wave types or even more advanced stuff such as FM synthesis. With a little work, modules such as this one may enable a whole new category of innovative/strange browser apps.

CoffeeCollider is a coffeescript clone of SuperCollider, it has a lot of options for subtractive/additive/fm/granular synthesis and algorithmic sequencing/composition.

http://mohayonao.github.io/CoffeeCollider/

Re: Beeplay.js: Write a song in JavaScript

#19
post #16

I'd love to specify wave types or even more advanced stuff such as FM synthesis. With a little work, modules such as this one may enable a whole new category of innovative/strange browser apps.

CoffeeCollider is a coffeescript clone of SuperCollider, it has a lot of options for subtractive/additive/fm/granular synthesis and algorithmic sequencing/composition. http://mohayonao.github.io/CoffeeCollider/

timbre.js (also from this person) is pretty cool too. http://mohayonao.github.io/timbre.js/

This weekend I used it to make a white noise generator for studying, etc.. http://www.noisemachine.co

Re: Beeplay.js: Write a song in JavaScript

#20
post #15

A friend recently created something similar, and he ended up transcribing the full-length Super Mario theme song! http://eshiota.github.io/retro-audio-js/ Presentation here: http://www.slideshare.net/eshiota/web-audio-band-playing-wit...

Very awesome! Interestingly, in both Chrome and Firefox, the song stops playing ("mostly") if you switch to a different tab. I say "mostly" because Chrome seems to play a single note every 10-20 seconds even with the tab backgrounded.

Yeap, both setTimeout and setInterval are being sacrificed for performance. Alternatively you could use WebWorkers to offload the timers for precision.
Post reply on HN