Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: running and stopping wave files
Date: Thu, 4 Dec 2008 10:20:17 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gh8at1$77t$1@fred.mathworks.com>
References: <gh813i$22c$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1228386017 7421 172.30.248.37 (4 Dec 2008 10:20:17 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 4 Dec 2008 10:20:17 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:504918


"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message <gh813i$22c$1@fred.mathworks.com>...
> 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

won't just 'clear playsnd' do the job of stopping the wav file playing?