Home | History | Annotate | only in /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality
Up to higher level directory
NameDateSize
AudioAssets.java15-Nov-20111.7K
AudioQualityVerifierActivity.java15-Nov-201110.3K
BackgroundAudio.java15-Nov-20113.3K
CalibrateVolumeActivity.java15-Nov-20118.7K
Experiment.java15-Nov-20113.9K
experiments/15-Nov-2011
ExperimentService.java15-Nov-20114.6K
LoadGenerator.java15-Nov-20111.2K
Native.java15-Nov-20112.5K
README.txt15-Nov-20113.5K
Terminator.java15-Nov-2011937
Utils.java15-Nov-201111.9K
VerifierExperiments.java15-Nov-20112.3K
ViewResultsActivity.java15-Nov-20113.3K

README.txt

      1 Android Audio Quality Verifier App
      2 ==================================
      3 
      4 This app runs a set of audio quality tests on an Android device,
      5 to verify the end-end sound recording path.
      6 
      7 If any of these tests fail, the device is probably unsuitable
      8 for demanding audio tasks such as speech recognition.
      9 If all the tests pass, the device audio is of a good standard.
     10 Note that not all possible audio defects can be detected by this
     11 test suite, so passing does not guarantee ideal audio quality.
     12 
     13 Hardware setup
     14 --------------
     15 
     16 The required physical set-up consists of a powered speaker,
     17 connected to the Android's headphone output by a standard
     18 audio cable.
     19 
     20 For loudspeakers which come in pairs, you only need to use
     21 one speaker (typically the powered or master speaker); you
     22 can leave the second speaker disconnected.
     23 If the speakers are stereo within a single unit (sometimes
     24 with speakers facing in opposite directions), place the phone
     25 in front of either of them.
     26 Speakers with multiple drivers per channel (e.g. a tweeter
     27 and a woofer) are not suitable.
     28 
     29 The phone should be placed in front of the centre of the
     30 speaker cone. The distance from the speaker will be adjusted
     31 during calibration; typically you could expect it to be around
     32 3cm or so.
     33 Use a supporting platform such as a stack of books to raise
     34 the phone to the correct height to line up with the speaker.
     35 
     36 Bluetooth connection is possible but cable connection is
     37 usually preferable.
     38 
     39 Recommended loudspeakers
     40 ------------------------
     41 
     42 Using suitable loudspeakers ensures that test failures highlight
     43 problems with the Android device under test, and not limitations
     44 of the loudspeakers. The following loudspeakers work well for this
     45 purpose:
     46 
     47 1. Yamaha NX-B02
     48 
     49 Use on AC power, not batteries.
     50 This speaker works well with Bluetooth as well as a wired connection.
     51 Note that it's not uncommon for the devices to exhibit different
     52 bugs under Bluetooth.
     53 
     54 2. Cakewalk MA-7A (Edirol / Roland)
     55 
     56 The "Bass Enhancer" feature MUST be switched off.
     57 Note that it turns itself on again every time the speakers are
     58 powered on, so it is easy to forget to switch it off!
     59 
     60 Software setup
     61 --------------
     62 
     63 1. Build the application's apk.
     64 2. Install the apk using adb.
     65 3. Run the app.
     66 4. Click "Calibrate". Position the phone as described in
     67    Hardware setup above, with the microphone facing the speaker,
     68    and adjust the volume of the speaker until the status message
     69    indicates it is correct.
     70 5. Click on any test in the list to run it, or "Run All" to run
     71    each test in sequence.
     72 6. Click "Results" to view the outcomes. A correctly functioning
     73    device should pass all tests.
     74 7. Click "Send by email" from the results page to send the
     75    results to an e-mail address of your choice. The recordings
     76    made are also attached as raw 16 bit, 16 kHz audio files to
     77    help you diagnose any failed tests.
     78 
     79 Q&A
     80 ---
     81 
     82 Q. What if the sound level check fails?
     83 A. Go back to the calibration step before running any other test.
     84    Make sure the device has not been moved.
     85    We also recommend that once the setup is calibrated there are no
     86    moving objects or people near the device under test, since these
     87    will change the acoustic properties of the environment from the
     88    calibrated state.
     89 
     90 Q. Some of the tests sound very loud. Is this normal?
     91 A. The clipping test will generally be very loud indeed;
     92    the others should be at a moderate volume.
     93 
     94 Q. What sort of room should the tests be performed in?
     95 A. Any, as long as the background noise levels are kept low, to
     96    avoid interference with the test recordings.
     97