code: function notes (pitches, durations, params) {
    var p = toArray(pitches || null)
    var d = toArray(durations || 1)
    return p.map(function (pitch, i) {
      return score.note(+d[i % d.length], pitch, params)
    })
  }
docs: ======== UTILITY ======== This is an utility function to create array of notes quickly.