On September 26, 2011 Viznut released the Experimental music from very short C programs video on Youtube. Soon people started playing with various formulas and building tools to test them. The time has come for this project and 140byt.es to have a tiny baby.
Behold the 140bytes Music SoftSynth in JavaScript!
See more information and a live demo of the 140bytes Music SoftSynth
Thanks
One thing I considered was getting rid of the
3e5
and pass an argumentT
instead. Same size but more flexible, at the cost of having to pass the "duration/number of blocks" all the time.@tsaniel: That's basically offloading the empty string to the function call. Mmmmh, not sure that gives us much for the 'slow' version of Music SoftSynth, but it does bring the 'fast' version down to 139 bytes: