Path: news.mathworks.com!not-for-mail
From: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: running and stopping wave files
Date: Thu, 4 Dec 2008 07:33:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <gh813i$22c$1@fred.mathworks.com>
Reply-To: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1228375986 2124 172.30.248.37 (4 Dec 2008 07:33:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 4 Dec 2008 07:33:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1101624
Xref: news.mathworks.com comp.soft-sys.matlab:504892


Hi,

I am doing sound simulation. Here i need to run a wave file corresponding to user input. THere is no problem in doing so. 

But the problem is when a sound file is running and at the same time if i get an input from user, the sound which is running currently has to be stopped and new file has to be run as per the input.

How do i do this ?
Any help in this regards would be appreciated .

Thanks !
Ashwini