如何从wave文件中获取样本(数据)

如何从wave文件中获取样本(数据)

问题描述:

嗨所有



如何从波形音频中获取样本数据以及它的deflate类型是什么,我可以将其转换为





谢谢





MASOUD

hi all

how can i get the sample data from wave audio and what is the deflate type of it and i can convert it


Thanks


MASOUD

首先,这是一个很好的参考: https:// ccrma.stanford.edu/courses/422/projects/WaveFormat/ [ ^ ]。



您可以使用 System.IO.BinaryReader 并解析它。



对于许多音频处理需求,请查看CodePlex上提供的开源NAudio库: http://naudio.codeplex。 com / [ ^ ]。



此外,你可以找到一些可用的代码,例如:

C#中的WAVE文件处理器 [ ^ ],

http://daisy-svn.cvsdude.com/urakawa-sdk/trunk/ csharp / audio / SoundTouch.NET / Utility / WavFile.cs [ ^ ]。

试着找到更多: http://bit.ly/1hj5QGT [ ^ ] 。



-SA
First of all, this is a good reference: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/[^].

You can read the data using System.IO.BinaryReader and parse it.

For many audio processing needs, check out open-source NAudio library available on CodePlex: http://naudio.codeplex.com/[^].

Besides, you can find some available piece of code, for example:
WAVE File Processor in C#[^],
http://daisy-svn.cvsdude.com/urakawa-sdk/trunk/csharp/audio/SoundTouch.NET/Utility/WavFile.cs[^].
Try to find more: http://bit.ly/1hj5QGT[^].

—SA


你必须学习leraning machin方法来分析wav的模式w数据



然后尝试过度拟合数据到你的方法以从波形文件中提取音符或某些声音



也需要知道一些signalproccessing方法。
you must learn leraning machin methode for analyze the pattern of wavw data

and then try to overfitting data to your methode to extract note or some voice from wave file

also some of signalproccessing method need to know .