From: Eric Durant Subject: Re: HELP - playsnd.dll Date: 06 Feb 2000 00:00:00 GMT Message-ID: <389DD2C0.F7253DF9@engin.umich.edu> Content-Transfer-Encoding: 7bit References: <87k4g6$mu5$1@news-int.gatech.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@eecs.umich.edu X-Trace: news.eecs.umich.edu 949867175 77282 141.213.6.56 (6 Feb 2000 19:59:35 GMT) Organization: University of Michigan Electrical Engineering & Computer Science Dept. Mime-Version: 1.0 NNTP-Posting-Date: 6 Feb 2000 19:59:35 GMT Newsgroups: comp.soft-sys.matlab Jordan Rosenthal wrote: >There is a file you can get from the user-contributed section of the >Mathworks web site called wavplay >(ftp://ftp.mathworks.com/pub/contrib/v5/sounds/wavplay.zip) that >allows for synchronous playback (as well as other useful options). >That is, execution in Matlab stops until the wav file finishes >playing. Matlab 5.3.1 for Win32 includes a function called wavplay which provides synchronous playback, but lacks most of the additional functionality of the user-contributed wavplay. In any case, be careful about name collisions as both functions have the same name by default. The user-contributed wavplay also allows you play a sound asynchronously and check for completion so that you can do other computations while playing a series of WAVs. There is no playback queue, but this function lets you emulate one, unlike even the current standard MatLab functions. -- Eric Durant http://www.edurant.com/