开发者

How can I decode a RAW/WAV file into a list of numbers?

How can I decode a RAW/WAV file into a list of numbers ?

I need to do since I need to create a spectrogram/waveform from the audio file.

开发者_如何学运维

I thought I could use the list of numbers and create an image using a charting application (e.g. gnuplot)


A raw files usually don't need any decoding, since it is already a list of numbers (hence 'raw').

Wav file is also a list of numbers, but with a header with extra information (number of channels, sampling rate, etc.). You don't mention what environment/programming language you use (which might help other people to help you), but if it is c/c++ you can use http://www.mega-nerd.com/libsndfile/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜