Effacer les filtres
Effacer les filtres

about audio processing

1 vue (au cours des 30 derniers jours)
vijay rao
vijay rao le 6 Fév 2012
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Fév 2012
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'

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by