         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
     }
     

    
    // Musically useful for instrument register
    // ..., -2, -1, 0, 1, 2, ...
    public var octaveAtMiddleC: Int = 0  {
        didSet {
            updateTuningTable()
        }
    }
    
    private var content = [Element](repeating:1.0, count:numberOfMidiNotes)
    private var numberField = [Element]()
    
    // default is 12ET

//  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()
        }
