简体   繁体   English

Windows Phone声音频谱

[英]Windows Phone sound spectrum

I'm trying to make a sound spectrum visualizer for Windows Phone. 我正在尝试为Windows Phone制作频谱可视化器。 The thing is that the device is limited to a sampling rate of 16000 so the maximum Hz I can get is 8000 Hz. 事实是该设备的采样率限制为16000,因此我可以获得的最大Hz是8000 Hz。

Is there a way I can get up to 16,000 Hz or even the full 22 Khz like all the Android & iPhone apps do? 有没有一种方法可以像所有Android和iPhone应用程序一样获得高达16,000 Hz或什至全22 Khz的信号? Seeing as its just a spectrum the quality of it is not that important. 仅仅将其视为频谱的质量并不重要。

Using the XNA APIs you're locked to 16kHz sample rate. 使用XNA API,您被锁定为16kHz采样率。 You should try the native audio APIs. 您应该尝试使用本地音频API。

See Audio_recording_and_playback_options_in_Windows_Phone from the Nokia development site for your options. 有关您的选择,请参见诺基亚开发网站的Audio_recording_and_playback_options_in_Windows_Phone

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM