Universal Music Theory Library - v0.12.0
    Preparing search index...

    Function parseScala

    • Parses a Scala (.scl) file format string and returns a ScalaTuning object. Following the Scala format: lines starting with ! are comments; the first other line is the description, which may be empty; then the number of notes; then one pitch per line.

      Parameters

      • sclText: string
      • baseFrequency: number = 440

      Returns ScalaTuning

      if the note count is missing, or there are fewer pitches than it says.