Skip to content

Commit

Permalink
Generate historical temperaments and target-tempered generator-stacks
Browse files Browse the repository at this point in the history
Move the other Rank-2 temperament modal further down the list.

ref #461
  • Loading branch information
frostburn committed Nov 9, 2023
1 parent 731260c commit 0046452
Show file tree
Hide file tree
Showing 2 changed files with 513 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/components/ScaleBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import LatticeModal from "@/components/modals/generation/SpanLattice.vue";
import EulerGenusModal from "@/components/modals/generation/EulerGenus.vue";
import DwarfModal from "@/components/modals/generation/DwarfScale.vue";
import RankTwoModal from "@/components/modals/generation/RankTwo.vue";
import HistoricalModal from "@/components/modals/generation/HistoricalScale.vue";
import RotateModal from "@/components/modals/modification/RotateScale.vue";
import SubsetModal from "@/components/modals/modification/TakeSubset.vue";
import StretchModal from "@/components/modals/modification/StretchScale.vue";
Expand Down Expand Up @@ -163,6 +164,7 @@ const showEulerGenusModal = ref(false);
const showDwarfModal = ref(false);
const showRankTwoModal = ref(false);
const showCrossPolytopeModal = ref(false);
const showHistoricalModal = ref(false);
const showRotateModal = ref(false);
const showSubsetModal = ref(false);
Expand Down Expand Up @@ -221,8 +223,8 @@ function copyToClipboard() {
<a href="#" @click="showEqualTemperamentModal = true"
><li>Equal temperament</li></a
>
<a href="#" @click="showRankTwoModal = true"
><li>Rank-2 temperament</li></a
<a href="#" @click="showHistoricalModal = true"
><li>Historical temperament</li></a
>
<a href="#" @click="showHarmonicSeriesModal = true"
><li>Harmonic series segment</li></a
Expand All @@ -242,6 +244,9 @@ function copyToClipboard() {
<a href="#" @click="showEulerGenusModal = true"
><li>Euler-Fokker genus</li></a
>
<a href="#" @click="showRankTwoModal = true"
><li>Rank-2 temperament</li></a
>
<a href="#" @click="showDwarfModal = true"><li>Dwarf scale</li></a>
<a href="#" @click="showCrossPolytopeModal = true"
><li>Cross-polytope</li></a
Expand Down Expand Up @@ -545,6 +550,17 @@ function copyToClipboard() {
@cancel="showRankTwoModal = false"
/>

<HistoricalModal
:show="showHistoricalModal"
:centsFractionDigits="centsFractionDigits"
@update:scaleName="emit('update:scaleName', $event)"
@update:scale="
showHistoricalModal = false;
emit('update:scale', $event);
"
@cancel="showHistoricalModal = false"
/>

<ShareUrlModal
ref="shareUrlModal"
:show="showShareUrlModal"
Expand Down
Loading

0 comments on commit 0046452

Please sign in to comment.