play voices in matlab

how can i play a simple voice in matlab like alarm voice

Answers (1)

Star Strider
Star Strider on 31 Aug 2012

0 votes

If the voice is recorded, you need to use wavread to read it into MATLAB, then soundsc to play it. I refer you to Audio and Video: Reading and Writing Files for the details.

Tags

Asked:

on 31 Aug 2012

Community Treasure Hunt

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

Start Hunting!