2 ms·
A cleaner way may be to allow the play() method to accept a plain JS array of notes: var notes = ['D#5', 1/4, 'E5', 1/4]; or var notes = [['D#
by nacs 12y ago
A cleaner way may be to allow the play() method to accept a plain JS array of notes:
var notes = ['D#5', 1/4, 'E5', 1/4];
or
var notes = [['D#5', 1/4], ['E5', 1/4]];
beeplay().play(notes);
- watilde 12y agoI plan to do it! A 'toJSON()' method is only for that.