help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to play audio and playaudio.m


From: pkienzle
Subject: Re: How to play audio and playaudio.m
Date: Fri, 17 Oct 2003 06:17:03 +0100

On 11 Oct 2003 at 11:49, robert Macy wrote:

> I need to create a *.wav, or such, file in order to listen
> to a simulation.  
> 
> One of three possibilities:
> 
> 1 Modify what I have to allow me to make *.wav files.  
>   Please tell me how.

You can get auload/ausave from octave-forge.  Depending
where you got your Win98 installation, you may already
have it.   This will allow you to read and write wav/au/aiff
files.

Next you can modify sound.m which is supposed to send audio
directly to the output device.  Currently it writes an .au file
directly to a pipe, but you could replace it with a  version which
writes a .wav file then calls the appropriate windows program to 
play that .wav file.  Send us the file when you are done so
we can add it to octave-forge.

Paul Kienzle
address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]