[Top][All Lists]

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

Re: wav error

From: John W. Eaton
Subject: Re: wav error
Date: Wed, 14 Dec 2005 15:50:56 -0500

On 14-Dec-2005, Bill Denney wrote:

| I guess wavread is part of octave forge.  You will need to install that as 
| well.

There are now wavread and wavwrite functions in the current CVS Octave
(2.9.x branch).  Both functions are m-files though, and I think they
will work with older versions of Octave.

| It's best to respond to the list instead of individuals so that you can 
| get the fastest help, and if someone in the future has the same problem, 
| they can find it just by searching for their problem.
| Bill
| On Wed, 14 Dec 2005, Cesar Augusto Rodriguez wrote:
| > hi
| > from CGWIN I can not to use wavread fucntion
| >
| > [s,fs]=wavread ('c:\ocho.wav')
| >
| > sintax error near unexpected token 'c:\ocho.wav'

Does Octave with Cygwin know anything about Windows file names?  I
suspect you should be using

  [s,fs]=wavread ('/cygdrive/c/ocho.wav')

instead.  Or, if Windows filenames do work, then with older versions
of Octave, you will have to use

  [s,fs]=wavread ('c:\\ocho.wav')

because "\" is an escape character in Octave characters strings
(though this has changed in the 2.9.x branch of Octave for
single-quoted strings, for compatibility with the other leading


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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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