Code covered by the BSD License  

Highlights from
Finishing Beep

2.66667

2.7 | 3 ratings Rate this file 9 Downloads (last 30 days) File Size: 2.74 KB File ID: #4253

Finishing Beep

by Alister Fong

 

14 Dec 2003 (Updated 16 Dec 2003)

A sound producing program to signify the end of a program.

| Watch this File

File Information
Description

This is intended for use on programs that take a long time to run. Used at the end, the user need not stare at the screen and can have an audio alarm to signify the progress or end of the program so the user can do something else besides staring at the screen.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
31 Dec 2003 Maurice Hendrix  
29 Dec 2005 John D'Errico

Indecipherable documentation. Plus it fails to produce more than a simple beep for me, irregardless of the arguments I provided. If you fail to provide arguments that it implies are optional, it returns an error. The following does work very nicely however:

load Handel
sound(y,Fs)

For all the flaws I'm even tempted to rate the code lower than I did, given that its so easy to just load and play a sound. I gave it a 2 rating only because its something that I have done in some of my codes to flag their termination.
This code needs MAJOR improvement though.

24 Aug 2007 Hai Jiang

Although I disagree with John D'Errico that this code is badly documented, I have to say that it's overly complicated. To play a sound at the end of your program, simply use the following Matlab statements:

load chirp
sound(y,Fs)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
sound Alister Fong 22 Oct 2008 07:10:59
beep Alister Fong 22 Oct 2008 07:10:59
finish Alister Fong 22 Oct 2008 07:10:59
program Alister Fong 22 Oct 2008 07:10:59
end Alister Fong 22 Oct 2008 07:10:59
beep Josef Mueller 25 Feb 2009 08:43:54
beep Michael Knap 27 Nov 2009 21:32:51
end Nome 24 Jan 2012 11:30:32

Contact us at files@mathworks.com