     let offsetPercentage = pitch.closestOffset.percentage
     let absOffsetPercentage = abs(offsetPercentage)
 
-    NSLog("pitch : \(pitch.note.string) - percentage : \(offsetPercentage)")
+    print("pitch : \(pitch.note.string) - percentage : \(offsetPercentage)")
 
     guard absOffsetPercentage > 1.0 else {
       return

    return button
    }()

  lazy var pitchEngine: PitchEngine = { [unowned self] in
    var config = Config()
    config.transformStrategy = .yin
    config.estimationStrategy = .yin
    let pitchEngine = PitchEngine(config: config, delegate: self)
    pitchEngine.levelThreshold = -30.0


    offsetLabel.isHidden = !pitchEngine.active
  }

  // MARK: - Layout

  func setupLayout() {
    let totalSize = UIScreen.main.bounds
