5 ms·
Beeplay.js: Write a song in JavaScript
- userlabs 12y agoLook very nice
- filipedeschamps 12y agoThat's very funny. You should do a Mario theme song also :)
- jeffehobbs 12y agoNifty! I'd love to be able to specify tone (sine wave, square wave, triangle wave).
- aaronfc 12y agoAn online editor to "play" with it would be appreciated! :)
- yror10 12y agohttp://jsfiddle.net/S66zA/ http://jsfiddle.net/S66zA/
- thegeomaster 12y agoI'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.
- quesebifurcan 12y agoFlocking might interest you: http://flockingjs.org/ http://flockingjs.org/
- gosub 12y agoCoffeeCollider 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/ http://mohayonao.github.io/CoffeeCollider/
- gecko39 12y agotimbre.js (also from this person) is pretty cool too. http://mohayonao.github.io/timbre.js/ http://mohayonao.github.io/timbre.js/ This weekend I used it to make a white noise generator for studying, etc.. http://www.noisemachine.co http://www.noisemachine.co
- ricardobeat 12y agoA friend recently created something similar, and he ended up transcribing the full-length Super Mario theme song! http://eshiota.github.io/retro-audio-js/ http://eshiota.github.io/retro-audio-js/ Presentation here: http://www.slideshare.net/eshiota/web-audio-band-playing-with-a-band-in-your-browser http://www.slideshare.net/eshiota/web-audio-band-playing-wit...
- dceddia 12y agoVery 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.
- nbody 12y agoYeap, both setTimeout and setInterval are being sacrificed for performance. Alternatively you could use WebWorkers to offload the timers for precision.
- neovive 12y agoI remember making these kinds of songs in BASIC. Very fun!
- filipedeschamps 12y agoI remember in PASCAL with the sound() function: sound(100); delay(3000); nosound;
- djmollusk 12y agonow all we need is a javascript powered mod player.
- stagas 12y agoYou mean like this[0] one? [0]: http://tracker.stagas.com/ http://tracker.stagas.com/
- Sonata 12y agovery nice, although the text shadow on the code makes it a bit hard to read
- sredmond 12y agoI would love to see a MIDI interpreter for something like this. MIDI is already a series of note events (among other weird things like pitchbend and sustain, so it couldn't be too hard.
- jastanton 12y agoIf play returned a reference to the play function you could chain them like .play('D#5', 1/4)('E5', 1/4) Just a thought on cleaning up the syntax a bit.