Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple sound question

Status
Not open for further replies.

briglass

Computer
Joined
Sep 9, 2006
Messages
4
Location
US
I would like to play a sound in MATLAB, but I don't know how to convert a sound into the required text file (with values between -1 and 1). How do I do this?

Thanks
Brian
 
check out wav files in the help. You also need to be a little more informative about what you are trying to do.

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
I figured it out. I just imported a wav file into matlab and then copied the resulting values into a text file. This file can be played as a sound via the matlab function "sound"

Thanks,
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top