Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running the first time #4

Closed
jpauljm opened this issue Nov 3, 2015 · 3 comments
Closed

Problem running the first time #4

jpauljm opened this issue Nov 3, 2015 · 3 comments
Labels

Comments

@jpauljm
Copy link

jpauljm commented Nov 3, 2015

Hello! I don't know what's wrong with my code but I'm receiving this output:

0dBFS level = 32768.0
Csound version 6.05 (float samples) Sep 18 2015
libsndfile-1.0.26pre6
    2015-11-03 10:22:25.253 TuningForkTest[260:15546] 1 MIDI sources
2015-11-03 10:22:25.258 TuningForkTest[260:15546] MIDI source 0: Session 1

This is my code:

import UIKit
import TuningFork

class ViewController: UIViewController, TunerDelegate {

    let tuner = Tuner()

    override func viewDidLoad() {
        super.viewDidLoad()
        tuner.delegate = self
        tuner.start()
    }

    func tunerDidUpdate(tuner: Tuner, output: TunerOutput) {
        print(output.pitch)
        print(output.octave)
    }
}
@comyar
Copy link
Owner

comyar commented Nov 5, 2015

I believe this is just normal output from AudioKit (the underlying framework that TuningFork uses); I'll look into it over the weekend to make sure. Are you getting correct output from the tuner?

@comyar comyar added the bug label Nov 5, 2015
@comyar
Copy link
Owner

comyar commented Nov 5, 2015

Actually, I looked into this and there is a bug resulting from one of the pod dependencies updating. I've pushed a fix into master that should work and will have an updated CocoaPod out soon...currently having Swift compiler issues because I'm using El Capitan/Xcode beta. I'll keep you updated.

@comyar
Copy link
Owner

comyar commented Nov 8, 2015

This should be fixed now. You'll still see similar output to the console, but that can be safely ignored.

@comyar comyar closed this as completed Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants