ji-lattice
    Preparing search index...

    Function spanLattice

    • Compute vertices and edges for a 2D graph representing the lattice of a musical scale in just intonation.

      Parameters

      • monzos: number[][]

        Prime exponents of the musical intervals in the scale.

      • options: LatticeOptions

        Options for connecting vertices in the graph.

      Returns { edges: Edge[]; vertices: Vertex[] }

      Vertices and edges of the graph.