diff --git a/package-lock.json b/package-lock.json index b8a573fe..6aead423 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "scale-workshop", - "version": "3.0.0-beta.12", + "version": "3.0.0-beta.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "scale-workshop", - "version": "3.0.0-beta.12", + "version": "3.0.0-beta.13", "dependencies": { "isomorphic-qwerty": "^0.0.2", "ji-lattice": "^0.0.3", @@ -14,7 +14,7 @@ "moment-of-symmetry": "^0.4.2", "pinia": "^2.1.7", "qs": "^6.12.0", - "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.14", + "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.17", "sw-synth": "^0.1.0", "temperaments": "^0.5.3", "vue": "^3.3.4", @@ -5400,8 +5400,8 @@ } }, "node_modules/sonic-weave": { - "version": "0.0.14", - "resolved": "git+ssh://git@github.com/xenharmonic-devs/sonic-weave.git#813e673b1f1901313ea3b4a91097dfda62a5dda5", + "version": "0.0.17", + "resolved": "git+ssh://git@github.com/xenharmonic-devs/sonic-weave.git#0033a815351b713c76da1da7ca46550065d9b230", "license": "MIT", "dependencies": { "moment-of-symmetry": "^0.4.2", diff --git a/package.json b/package.json index 8d0c8a34..85e45ef3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scale-workshop", - "version": "3.0.0-beta.12", + "version": "3.0.0-beta.13", "scripts": { "dev": "vite", "build": "run-p type-check \"build-only {@}\" --", @@ -21,7 +21,7 @@ "moment-of-symmetry": "^0.4.2", "pinia": "^2.1.7", "qs": "^6.12.0", - "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.14", + "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.17", "sw-synth": "^0.1.0", "temperaments": "^0.5.3", "vue": "^3.3.4", diff --git a/src/analysis.ts b/src/analysis.ts index cc2478d4..40a69fe8 100644 --- a/src/analysis.ts +++ b/src/analysis.ts @@ -1,4 +1,4 @@ -import { Interval, TimeMonzo } from 'sonic-weave' +import { Interval, TimeMonzo, TimeReal } from 'sonic-weave' import { circleDistance, mmod, valueToCents } from 'xen-dev-utils' const EPSILON = 1e-6 @@ -446,7 +446,7 @@ export function varietySignature(matrix: Interval[][]) { return result } for (let i = 0; i < matrix[0].length; ++i) { - const variants: TimeMonzo[] = [matrix[0][i].value] + const variants: (TimeMonzo | TimeReal)[] = [matrix[0][i].value] search: for (let j = 1; j < matrix.length; ++j) { const monzo = matrix[j][i].value for (const variant of variants) { diff --git a/src/components/JustIntonationLattice.vue b/src/components/JustIntonationLattice.vue index ea24e7d9..8b4767bc 100644 --- a/src/components/JustIntonationLattice.vue +++ b/src/components/JustIntonationLattice.vue @@ -1,7 +1,7 @@