Hacker News new | ask | show | jobs
by nacs 4397 days 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);
1 comments

I plan to do it! A 'toJSON()' method is only for that.