Dual frequency test#2378
Merged
Merged
Conversation
Calculate the frequency spectrum: - Apply Hanning window - Execute FFT - Normalize the FFT output (https://holometer.fnal.gov/GH\_FFT.pdf)
Partition the spectrum into four bands. Measure the percentage of inband frequency bin. A frequency bin is consider as inband if the magnitude at that frequency bin is not higher than top threshold and not lower than the bottom threshold.
Add band specs for unprocessed and voice recognition
The presets with silence source allow the DUT record the sound from external speaker without playing it. A auxiliary phone can play the sound on the external speaker and the DUT will record.
robertwu1
reviewed
May 11, 2026
robertwu1
reviewed
May 11, 2026
robertwu1
approved these changes
May 11, 2026
Collaborator
robertwu1
left a comment
There was a problem hiding this comment.
since this is a bigger change, please test the other tests to make sure there are no regressions. Thanks!
Also wait for Xiaotong's tests before submitting
robertwu1
reviewed
May 11, 2026
Currently, the activities have to map the values to [-1,1] range before drawing it. This change moves that computation to the View classes.
Define the preferred input/output device for all presets. The preferred input will be selected automatically if available. For the preferred output, the app only checks whether the device is available. The output device is always the one with the highest priority. If the preferred microphone or speaker is not found, raise a Toast.
Add the line view supporting the following features: - Add multiple lines - Draw each line as a line or bars - Modify a line - X-axis scale: log or linear - Grid lines with labels
- Move the axis label out of the graph. - Use the suffix 'k' to represent 1,000.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Porting Frequency Unprocessed and Voice Recognition Tests.
Uncovered tests: