Mercurial > octave-nkf
diff scripts/audio/playaudio.m @ 3332:7c03933635c6
[project @ 1999-11-02 06:57:12 by jwe]
author | jwe |
---|---|
date | Tue, 02 Nov 1999 06:57:16 +0000 |
parents | d609b993be3b |
children | 5e0a0b1cba43 |
line wrap: on
line diff
--- a/scripts/audio/playaudio.m Tue Nov 02 06:25:23 1999 +0000 +++ b/scripts/audio/playaudio.m Tue Nov 02 06:57:16 1999 +0000 @@ -17,19 +17,14 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -## usage: playaudio (name [, ext]) -## playaudio (X) -## -## `playaudio ("name" [, "ext"])' plays the audio file "name.ext". The -## default value for the "ext" argument, which has to be written -## without the initial ".", is "lin". -## Currently, the following audio formats are suppored: -## *) linear encoding with extension "lin" or "raw", played using -## /dev/dsp -## *) mu-law encoding with extension "mu", "au" or "snd", played -## using /dev/audio -## -## `playaudio (X)' plays the audio data contained in the vector X. +## -*- texinfo -*- +## @deftypefn {Function File} {} playaudio (@var{name}, @var{ext}) +## @deftypefnx {Function File} {} playaudio (@var{x}) +## Plays the audio file @file{@var{name}.@var{ext}} or the audio data +## stored in the vector @var{x}. +## @end deftypefn + +## See also: lin2mu, mu2lin, loadaudio, saveaudio, setaudio, record ## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> ## Created: 11 April 1994