You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tuner's frequency detection algorithm is not correctly calculating the played frequency. Audio input is being captured and processed (confirmed by visible frequency updates and gauge movement), but the detected frequency does not match the actual input frequency.
Frequency detection algorithm processes the signal
Calculated frequency matches the input frequency ✗ (currently broken)
Visual gauge and UI display the correct frequency and tuning state
Current Behavior
App shows "Listening..." status ✓
Frequencies are displayed on screen ✓
Gauge moves in response to audio ✓
Displayed frequency does NOT match the actual played frequency ✗
Steps to Reproduce
Open the app and grant microphone permissions
Generate a known test frequency electronically (verified reference)
Observe that the displayed frequency does not match the generated frequency
Test with multiple known frequencies - all show incorrect values
Testing Method
Electronically generated test frequencies with known, precise values were used to isolate the issue and confirm that the frequency detection algorithm itself is calculating incorrectly (not a microphone or audio capture issue).
Investigation Areas
Frequency detection algorithm (likely in AudioProcessor or pitch detection module)
Check FFT implementation and configuration
Verify sample rate handling
Check windowing function
Verify bin selection and interpolation logic
Autocorrelation or YIN algorithm if used for pitch detection
Description
The tuner's frequency detection algorithm is not correctly calculating the played frequency. Audio input is being captured and processed (confirmed by visible frequency updates and gauge movement), but the detected frequency does not match the actual input frequency.
Impact
Dependencies
Expected Behavior
When a known frequency is played:
Current Behavior
Steps to Reproduce
Testing Method
Electronically generated test frequencies with known, precise values were used to isolate the issue and confirm that the frequency detection algorithm itself is calculating incorrectly (not a microphone or audio capture issue).
Investigation Areas
Possible Root Causes
Environment