android - 传回PROPERTY_SUPPORT_MIC_NEAR ULTRASOUND和PROPERTY_SUPPORT_SPEAKER_NEAR ULTRASOUND的Android设备具有哪些功能

标签 android audio microphone frequency-analysis speaker

我正在查看Android API文档,并且在AudioManager页面中发现了以下属性。

PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND (Added in API level 23)

String PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND

Used as a key for getProperty(String) to determine if the default microphone audio source supports near-ultrasound frequencies (range of 18 - 21 kHz).


PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND (Added in API level 23)

String PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND

Used as a key for getProperty(String) to determine if the default speaker audio path supports near-ultrasound frequencies (range of 18 - 21 kHz).

我想知道“支持近超声频率”的技术含义是什么

最佳答案

我在Android 7.0兼容性定义文档中找到了它

7.8.3。近超声

近超声音频为18.5 kHz至20 kHz频段。设备实现必须通过AudioManager.getProperty API正确报告对近超声音频功能的支持,如下所示:

If PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND is "true", then the following requirements must be met by the VOICE_RECOGNITION and UNPROCESSED audio sources:
    The microphone's mean power response in the 18.5 kHz to 20 kHz band MUST be no more than 15 dB below the response at 2 kHz.
    The microphone's unweighted signal to noise ratio over 18.5 kHz to 20 kHz for a 19 kHz tone at -26 dBFS MUST be no lower than 50 dB.
If PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND is "true", then the speaker's mean response in 18.5 kHz - 20 kHz MUST be no lower than 40 dB below the response at 2 kHz.

关于android - 传回PROPERTY_SUPPORT_MIC_NEAR ULTRASOUND和PROPERTY_SUPPORT_SPEAKER_NEAR ULTRASOUND的Android设备具有哪些功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40727177/

相关文章:

Android:如何防止拖动被解释为长按

java - 如何访问复杂的类链中的类字段

android - 跨设备和平台精确到毫秒的同步时间戳

standards - STM32F4立体声MEMS麦克风

android - GridView 在一行中绘制其元素

audio - 使用 FFMPEG 将修剪后的音频插入视频

Android:如何将两个OGG音乐文件合并(加入)一个?

delphi - 如何在Delphi 7中听麦克风和检测声音响度

android - Android:使用MediaRecorder录制音频

android - 将 buildType 从 android app/library 模块传递给仅 java 的 gradle 模块