Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski 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
Sep 9, 2006
4
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
 
Replies continue below

Recommended for you

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