Thanks! I'll try the MIDI-CSV thing out - it'd be an easy way to test.
There's no 'hardware' way of getting a saw wave/etc out of PWM - but that's why we have the Waveform stuff - it should be pretty easy to insert those types of wave into an ArrayBuffer for Waveform.
You should be able to stop a waveform whenever you want - the only issue is if you get a 'glitch' if you haven't stopped the waveform at a zero crossing.
I haven't come across a synth chip, but there must be one. I wouldn't be surprised if they took MIDI directly though :)
If there's anything simple I can do to make Espruino better suited for this I'm up for adding it - I think this kind of functionality would be really handy, if only because I'm getting really tired of the same 3 songs on our baby's music box thing now :)
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! I'll try the MIDI-CSV thing out - it'd be an easy way to test.
There's no 'hardware' way of getting a saw wave/etc out of PWM - but that's why we have the Waveform stuff - it should be pretty easy to insert those types of wave into an ArrayBuffer for Waveform.
You should be able to stop a waveform whenever you want - the only issue is if you get a 'glitch' if you haven't stopped the waveform at a zero crossing.
I haven't come across a synth chip, but there must be one. I wouldn't be surprised if they took MIDI directly though :)
If there's anything simple I can do to make Espruino better suited for this I'm up for adding it - I think this kind of functionality would be really handy, if only because I'm getting really tired of the same 3 songs on our baby's music box thing now :)