         return content[Int(noteNumber)]
     }
     // setter
-    public func setFrequency(_ frequency:Element, at noteNumber: MIDINoteNumber) {
+    public func setFrequency(_ frequency: Element, at noteNumber: MIDINoteNumber) {
         content[Int(noteNumber)] = frequency
     }
     

    // Assume number field is set and valid:  Process and update tuning table.
    private func updateTuningTable() {
        AKLog("Updating tuning table from numberField: \(numberField)")
        for i in 0 ..< AKTuningTable.numberOfMidiNotes {
            let ff = Element(i - Int(noteNumberAtMiddleC)) / Element(numberField.count)
            var ttOctaveFactor = Element(trunc(ff))
            if ff < 0 {
                ttOctaveFactor -= 1

//  Copyright © 2017 AudioKit. All rights reserved.
//

@objc open class AKTuningTable: NSObject {

    public typealias Element = Double

    private static let NYQUIST: Element = AKSettings.sampleRate / 2
    
    public static let midiNoteCount = 128
    
    public var middleCNoteNumber: MIDINoteNumber = 60 {
        didSet {
            updateTuningTable()
        }
    }
    
    public var middleCFrequency: Element = 261.0 {
        didSet {
            updateTuningTable()
        }
