diff --git a/src/exporters/korg.ts b/src/exporters/korg.ts index c3d3a781..d182db90 100644 --- a/src/exporters/korg.ts +++ b/src/exporters/korg.ts @@ -175,11 +175,7 @@ export class KorgExporter extends BaseExporter { // prepare files for zipping const format = getKorgModelInfo(this.modelName) - const tuningInfo = this.getTuningInfoXml( - this.modelName, - 'ScaleWorkshop', - scale.title - ) + const tuningInfo = this.getTuningInfoXml(this.modelName, 'ScaleWorkshop', scale.title) const fileInfo = this.getFileInfoXml(this.modelName) const [fileNameHeader, fileType] = this.useOctaveFormat ? ['TunO_000.TunO_', format.octave] diff --git a/src/scale.ts b/src/scale.ts index b330befe..6aab29ec 100644 --- a/src/scale.ts +++ b/src/scale.ts @@ -13,7 +13,12 @@ export class Scale { * @param baseFrequency Base frequency of 1/1. * @param baseMidiNote MIDI note corresponfing to base frequency */ - constructor(intervalRatios: number[], baseFrequency: number, baseMidiNote: number, title: string) { + constructor( + intervalRatios: number[], + baseFrequency: number, + baseMidiNote: number, + title: string + ) { this.intervalRatios = intervalRatios this.baseFrequency = baseFrequency this.baseMidiNote = baseMidiNote diff --git a/src/stores/scale.ts b/src/stores/scale.ts index 0cd46ed7..da1fa6b6 100644 --- a/src/stores/scale.ts +++ b/src/stores/scale.ts @@ -388,7 +388,12 @@ export const useScaleStore = defineStore('scale', () => { } if (ratios.length) { const name = str.bind(ev) - scale.value = new Scale(ratios, visitorBaseFrequency, baseMidiNote.value, ev.rootContext!.title) + scale.value = new Scale( + ratios, + visitorBaseFrequency, + baseMidiNote.value, + ev.rootContext!.title + ) if (autoColors.value === 'silver') { colors.value = intervals.map( (interval, i) =>