rproch / music-practice-tools

Automatically exported from code.google.com/p/music-practice-tools
1 stars 1 forks source link

(Near) silence disturbs tuner #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to a fairly quiet room (minimal background noise may be needed)
2. Open app and go to Tuner
3. Sing/play a note, then stop
4. Observe display

What is the expected output? What do you see instead?
I would expect the display to retain its state (show the last note, if there is 
one to show) when the input volume level exceeds a certain threshold. Instead, 
the display will oscillate somewhere around the last note played.

What version of the product are you using? On what operating system?
2.0 (from F-Droid) on Cyanogenmod 10.1.3

Please provide any additional information below.
I suspect background noise or static from the microphone to be the culprit. 
This could probably be solved by ignoring anything below a certain threshold 
volume. The threshold probably varies from device to device, even between two 
devices of the same type, so this should be a configurable setting. Idea: 
provide a calibration button which causes the app to measure the current volume 
level and use that (plus a little elbow room) as the threshold.

Original issue reported on code.google.com by mich...@vonglasow.com on 11 Nov 2013 at 10:31