Code covered by the BSD License  

Highlights from
beepbeep

2.0

2.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 2.08 KB File ID: #14884

beepbeep

by Daniel Lopes

 

05 May 2007 (Updated 08 May 2007)

Creates sound composed by OS beeps.

| Watch this File

File Information
Description

A useful function for audio warnings submitted during long program executions and/or to advise the end of a program execution.

The sounds produced are far from being melodic (they are composed only by the OS beeps!). In fact, they are quite annoying :p.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
07 May 2007 John D'Errico

Fails to run, even on the provided examples.

beepbeep(7)
??? Too many outputs requested. Most likely cause is missing [] around
left hand side that has a comma separated list expansion.

Error in ==> beepbeep at 57
switch varargin{:}

Please login to add a comment or rating.
Updates
08 May 2007

This piece of code was misplaced:

  % Default beeping signals.
  switch varargin{:}
      case {'diner time', 'diner'}
        dtempo = [0.2 0.2 0.2 0.1]';
      ...
  end

Now it works just fine!

Tag Activity for this File
Tag Applied By Date/Time
beep Cristina McIntire 05 Feb 2009 14:46:49
audio Cristina McIntire 05 Feb 2009 14:46:49
warning Cristina McIntire 05 Feb 2009 14:46:49
alarm Cristina McIntire 05 Feb 2009 14:46:49
sound Cristina McIntire 05 Feb 2009 14:46:57

Contact us at files@mathworks.com