简体   繁体   English

嵌入式系统中的音频检测

[英]Audio detection in an embedded system

I'm getting started with embedded, and was thinking to start learning by implementing some sort of a clapper project where I detect audio and respond to it. 我正在开始使用嵌入式程序,并且正在考虑通过实施某种拍板项目来开始学习,在该项目中,我会检测到音频并对之做出响应。

I have some specific questions, but since I'm new to this field, please add any additional advice 我有一些特定的问题,但是由于我是该领域的新手,请添加任何其他建议

  • What audio libraries exist that could help with this type of project 现有哪些音频库可以帮助此类项目

  • What hardware do I need to actually detect the sound waves 我实际上需要什么硬件才能检测到声波

  • I was considering an Arduino? 我正在考虑使用Arduino吗? Is this a good choice for this type of project? 这是此类项目的好选择吗?

  • I still haven't decided on the language (c or c++) but it will be influenced by the libraries available and the chip I use 我仍然不确定语言(c或c ++),但是它会受到可用库和使用的芯片的影响

The arduino is a good entry point here. 在这里, arduino是一个很好的入口点。 I see that there is already an arduino project using sound to trigger a digital camera which should answer most of your questions concerning libraries and hardware requirements - they have a download with circuit diagrams and arduino source code. 我看到已经有一个使用声音触发数码相机的arduino项目,该项目应该回答您有关库和硬件要求的大多数问题-它们可以下载电路图和arduino源代码。

For hardware, you typically want a microphone (or an audio input jack), with some amplifier and analog filter circuitry, connected to an analog input pin on a microcontroller. 对于硬件,通常需要将麦克风(或音频输入插孔)以及一些放大器和模拟滤波器电路连接到微控制器的模拟输入引脚。

You will need some driver software in the microcontroller to read input samples from the analog input. 您将需要微控制器中的一些驱动程序软件来从模拟输入读取输入样本。

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

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