Home Reference Source Test Repository

src/score-writer.js

/**
 * Class responsible for rendering musical data as a score.
 */
class ScoreWriter {
  /**
  * Plain constructor.
  */
  constructor() {

  }

    /**
    * Renders musical data as a score.
    * @param {string} targetElement - selector for the element which will hold score data.
    * @param {MelodyUnit} melodyUnit - MelodyUnit which has all of the melody data.
    */
  writeScore(targetElement, melodyUnit) {
    //
  }
}

exports.ScoreWriter = ScoreWriter;