Thanks for posting this up! I kind of wish I was more musical - I think there's a lot of fun stuff you can do with Espruino.
Just to add - if you're using a piezo speaker then you can connect it between two PWM outputs to get two different frequencies at the same time. Obviously what you've done is much better for more channels or an amplified output though!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for posting this up! I kind of wish I was more musical - I think there's a lot of fun stuff you can do with Espruino.
Just to add - if you're using a piezo speaker then you can connect it between two PWM outputs to get two different frequencies at the same time. Obviously what you've done is much better for more channels or an amplified output though!