Processing wav files in MATLAB: wavread(), downsampling and PCM as signed vs unsigned
5 次查看(过去 30 天)
显示 更早的评论
I have used wavread and wavwrite functions to work with wav files. I have some questions about it.
1) Why does reading a wav file generate floating point values for the samples, when actual samples are stored as 8 or 16 bit integers as PCM?
2) why does the wav file header contain a mix of little and big endian format data? certainly the data must in a single format either only little endian or only big endian.
3) Why does MATLAB ignore almost everything in the header from the wav file and only stores sampling rate and actual samples into memory variables?
4) How does one carry out upsampling or downsampling of a wav file?
5) What is the difference between storing audio as signed or unsigned samples in a wav file i.e can the same sound be expressed using both formats?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!