如何组装 WAV 文件?
在 PC 上成功接收并提取来自以太网 UDP 数据包的音频样本后,我需要用 C# 将它们组装成 WAV 文件。
有示例代码吗?有什么建议吗?
After having successfully received and extracted audio samples from Ethernet UDP packets at the PC, I need to assemble them to a WAV file, in C#.
Any example code? Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用此页面来了解 WAV 格式:
https://ccrma.stanford.edu/ course/422/projects/WaveFormat/
它缺少我在读取现实世界 WAV 文件中发现的一些问题,但对于编写它们来说应该是足够好的信息,而且很容易理解。
I used this page to understand WAV format:
https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
It's missing some wrinkles I found in reading real-world WAV files, but it should be good enough info for writing them, and pretty easy to understand.
以下文章没有提供您需要的确切源代码,但阅读它以及其中列出的四篇博客文章应该会引导您走向正确的方向。
http://blogs.msdn.com/coding4fun/archive/ 2010/05/03/10006604.aspx
The following article doesn't provide the exact source code that you need, but reading it and the four blog posts that are listed in it should steer you in the correct direction.
http://blogs.msdn.com/coding4fun/archive/2010/05/03/10006604.aspx