Skip to content

Commit

Permalink
Generate historical temperaments, target-tempered generator-stacks an…
Browse files Browse the repository at this point in the history
…d well temperaments

Move the other Rank-2 temperament modal further down the list.

ref #461, #477
  • Loading branch information
frostburn committed Nov 17, 2023
1 parent 4dedb5f commit a7f4826
Show file tree
Hide file tree
Showing 3 changed files with 926 additions and 2 deletions.
23 changes: 21 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,20 @@ function copyToClipboard() {
@cancel="showRankTwoModal = false"
/>

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

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

0 comments on commit a7f4826

Please sign in to comment.