| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| if (maxFreq > nyquist) { | ||
| maxFreq = nyquist; | ||
| } | ||
| double freq = kChirpStartFrequency + (maxFreq - kChirpStartFrequency) * mFrameCounter / (getSampleRate() * kChirpDurationSeconds); |
There was a problem hiding this comment.
Q: This looks like will go out of the range of nyquist freq when framecounter is greater than two times of kChirpDurantionSeconds * sampleRate.
Sorry, something went wrong.
There was a problem hiding this comment.
Leaving as is because the increment code should not let this happen as it's caught by the while loop. If this happens, then we have a bug with our test code
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR enhances the Data Path test in OboeTester by adding two new analysis signals: a swept-sine (chirp) and a multi-tone signal. This provides a more comprehensive and robust way to test the audio data path, especially for input presets where OEMs might apply audio processing.
Problem
The existing sine wave test is not always sufficient. For some processed input presets (e.g., Camcorder), OEMs can apply effects like noise reduction that might filter out a simple, steady sine wave. This can lead to test failures that don't accurately reflect the device's ability to record real-world audio like music.
Solution
This PR introduces two new test signals that are more representative of complex audio and less likely to be misinterpreted as noise by audio processing algorithms:
Key Changes