I'd never come across beepbox - that's really cool!
Looking at the JSON it looks like you'll want to scan over it and change its form a bit first - basically go over all of patterns.notes.points and write them into times[patterns.notes.points.tick]=patterns.notes.pitches.
Then it'd just be a matter of using setInterval to scan over the times array one item at a time and do a beep if one was required.
Of course you could use Waveform too, but I'd start out simple :)
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.
I'd never come across beepbox - that's really cool!
Looking at the JSON it looks like you'll want to scan over it and change its form a bit first - basically go over all of
patterns.notes.points
and write them intotimes[patterns.notes.points.tick]=patterns.notes.pitches
.Then it'd just be a matter of using
setInterval
to scan over thetimes
array one item at a time and do a beep if one was required.Of course you could use Waveform too, but I'd start out simple :)