about audio processing

1 次查看(过去 30 天)
Sir from last month i am working on a project will you please tell me how can i read i mean how to take each and every bit from any wav format audio file and read it? i know that wavread function reads wav file but how can i convert wav file in binary digits like in [1 0 1 0] and how to read that file? is there any function for this procedure like "wav2bin"? its very urgent sir please help me,because i have to first convert wav format file in a binary digits or in binary equivalents and then i have to read them...will you please help me sir?
thank you sir.

采纳的回答

Walter Roberson
Walter Roberson 2012-2-6
You probably want to wavread() with the 'native' option. That will most likely get you the data as an integer data type, that you can then convert to binary using dec2bin() and subtracting the character '0' from the dec2bin results. Or use de2bi() instead of the dec2bin()-'0'

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by