The latest beta version of Firefox 4 has an API for reading and writing audio data — right down to the sample level, right from JavaScript. JavaScript is, of course, totally the wrong language to write DSP-style code in, so that’s what I decided to do :-)
If you fancy downloading FF4 beta and trying out some of the demos, here they are. There are lots of (much better) demos by other people here.
And if you try out the musical temperament example and have any thoughts on which chords sounded nicest, leave a comment below!
Awesome Examples. Thanks for posting.
For the chord example I would have to say that chord 1 sounds the best in all three octaves. I am interested to know which one is slightly off key.