Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to converting .wav file to bits in MATLAB?

Status
Not open for further replies.

testing test

Member level 3
Joined
Mar 3, 2010
Messages
65
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Activity points
1,656
Hi,

I have a .wav file in my PC and I want to convert it to bits. I have tried the command:

Code:
[x,fs,nbits]=wavread('test.wav');

This command gives me floating point signed numbers for each sample however I need bits. What should I do in case I need actual bits and not these signed numbers?

Thank you.
 

Try to use int16 to uint to convert the floating numbers into integers.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top