简体   繁体   English

如何从ADC芯片获取.wav文件?

[英]How to get .wav file from ADC chip?

I have ADC chip 24 bit 5MHz working with Arduino. 我有与Arduino合作的24位5MHz ADC芯片。 I use it to digitize sound from electret microphone and it gives me binary code which I wanna convert into an uncompressed .wav file. 我用它来数字化驻极体麦克风的声音,它给了我想要转换成未压缩的.wav文件的二进制代码。 How can I do this? 我怎样才能做到这一点? Should I install some drivers to connect them to USB (COM) port? 我应该安装一些驱动程序以将它们连接到USB(COM)端口吗? Thanks (Sorry, if my english leaves a lot to be desired, cuz I'm not English) 谢谢(对不起,如果我的英语还有很多不足,我不是英语)

Use the serial output from the arduino to output back to the computer each value received. 使用arduino的串行输出将每个接收到的值输出回计算机。 Then use Python's serial library as referenced here . 然后使用此处引用的Python串行库。 Then use the wave library for which details can be found here . 然后使用wave库,有关它的详细信息可以在这里找到。 If any more help is required, add your code so far to your post then we can help with bugs etc. Also, most arduinos I've come across have a 12 bit (??) ADC onboard that's perfectly good. 如果需要更多帮助,请将您的代码添加到您的文章中,然后我们就可以解决错误等问题。此外,我遇到的大多数arduino板载12位(??)ADC都非常好。

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

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