Skip to content

Commit

Permalink
Merge pull request #449 from xenharmonic-devs/import-tun-base-freq
Browse files Browse the repository at this point in the history
Import base frequency from Anamark v2 tunings
  • Loading branch information
frostburn authored Nov 26, 2023
2 parents 3fe1534 + dae17fa commit 4ebad4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ScaleBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ const exportTextClipboard = ref("Copy this scale's unique URL to clipboard");
async function doImport(importerKey: ImporterKey, event: Event) {
const result = await importFile(importerKey, event);
emit("update:scaleLines", result.scale.toStrings());
if (importerKey != "scalascl") {
emit("update:baseFrequency", result.scale.baseFrequency);
}
if (result.name !== undefined) {
emit("update:scaleName", result.name);
}
Expand Down

0 comments on commit 4ebad4b

Please sign in to comment.