         }
         return arrangedTones
     }
-
-    static func tunePure(octaveRange: OctaveRange, tuningBase: [Tone: Float]) -> [Note] {
-        var notes = [Note]()
-        octaveRange.forEach { octave in
-            let notesInOctave = tune(octave: octave, tuningBase: tuningBase)
-            notes.append(contentsOf: notesInOctave)
-        }
-        return notes
-    }
 }

            transposedFrequencies = transposedFrequencies.map { $0 / 2.0 }
        }

        var tuning = [Tone: Float]()
        for (i, tone) in tones.enumerated() {
            tuning[tone] = transposedFrequencies[i]
        }


public struct HarmonyKit {
    public typealias OctaveRange = Range<Int>
    public typealias Tuning = [Tone: Float]

    public static func tune(configuration: Configuration) -> [Note] {
        switch configuration.temperament {
        case .equal:
