help-octave
[Top][All Lists]
Advanced

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

Re: Function record(sec, T) not working in Windows XP


From: Michael Goffioul
Subject: Re: Function record(sec, T) not working in Windows XP
Date: Thu, 24 Jan 2013 10:19:01 -0500

On Thu, Jan 24, 2013 at 6:02 AM, K Seshagiri <address@hidden> wrote:
Hello,
I just installed Octave and tried a few basic samples. It works fine.
But when I try the audio package I get errors.
Im using Windows XP as the OS

following are the error details -
octave:1> x=record(5, 5000)
Please hit ENTER and speak afterwards!

'dd' is not recognized as an internal or external command,
operable program or batch file.
error: fread: invalid stream number = -1
error: called from:
error:   C:\Octave\Octave3.6.2_gcc4.6.2\Octave3.6.2_gcc4.6.2_20120609\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\audio\re
cord.m at line 53, column 13


Any advice on the possible solution would be welcome. Thank you

The function "record" you're using is based on "dd" to capture audio samples, but this is a UNIX-only solution. This function cannot be used under Windows. It has been suggested in the past to use an alternate program, "sox", to do the audio capture.

Michael.


reply via email to

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