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

Tuner returns fixed values #169

Open
ja-bravo opened this issue Feb 21, 2025 · 2 comments
Open

Tuner returns fixed values #169

ja-bravo opened this issue Feb 21, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@ja-bravo
Copy link

macOS Version(s) Used to Build

macOS 13 Ventura

Xcode Version(s)

Xcode 14

Description

Using MacOS 14.1 and Xcode 15.0.1, the Tuner example returns fixed values of Pitch: 100.0, Amp: 2.4266092e-05 when running on a real device (iPhone 14 pro max running iOS 18.1.1).

Everything works as expected on a simulator but fails to capture pitch on a real device.

Crash Logs, Screenshots or Other Attachments (if applicable)

No response

@ja-bravo ja-bravo added the bug Something isn't working label Feb 21, 2025
@NickCulbertson
Copy link
Member

NickCulbertson commented Feb 21, 2025

Hello! I just tried on iPhone 12 Pro, iOS 18.3.1 and it seems to be working there. I heard something about Speech Recognizer creating issues with the AVAudioSession on some version of iOS 18. Did you accept microphone permissions for the Cookbook?

If the BaseTap recipe under WIP is working but the Tuner isn't there might be some other issue going on specific to the Tuner.

Related to: AudioKit/SoundpipeAudioKit#36

@ja-bravo
Copy link
Author

ja-bravo commented Feb 21, 2025

Hey Nick, thank you for the prompt answer!

I'm not getting any indication of audio being processed on my device, same build works just fine on the simulator. I've aceptes the mic permission.

If there's anything I can do to help debug, give me a shout 😁

WhatsApp.Video.2025-02-21.at.17.19.00.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants