[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: Re: multiple problems with audio toolbox]
From: |
Dmitri A. Sergatskov |
Subject: |
[Fwd: Re: multiple problems with audio toolbox] |
Date: |
Sat, 01 Mar 2003 18:25:27 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
Paul Kienzle wrote:
>
> It seems that popen is broken:
>
> octave:1> fid=popen('cat > out','w');
> octave:2> fwrite(fid,1,'double');
> octave:3> pclose(fid);
> octave:4> system('ls -l out');
> -rw-rw-r-- 1 pkienzle pkienzle 0 Mar 1 19:46 out
I have the same results here w/ 2.1.45 and gcc 3.2.0 (RH 8.0)
>
>> First of all, 'file_in_loadpath' now wants at least two arguments:
>> LOADPATH and FILE.
>> (Similar problem with demo in soundsc.m file). Modified the line
>> accordingly:
>
>
> Are you certain? It works in 2.1.44 and the code
> for 2.1.45 looks like it should handle it too.
>
octave:42> [x,fs]=auload(file_in_path("yahoo2.au"));
(display help page and then:)
error: `path' undefined near line 53 column 16
error: evaluating argument list element number 1
error: evaluating assignment expression near line 53, column 7
error: called from `auload' in file
`/usr/local/share/octave/2.1.45/site/m/octave-forge/audio/auload.m'
also 'help file_in_path':
- Built-in Function: file_in_path (PATH, FILE)
- Built-in Function: file_in_path (PATH, FILE, "all")
...
octave:43> [x,fs]=auload(file_in_path(".", "yahoo2.au"));
Works fine.
Also plotting w/ gnuplot works fine -- I thought it relies on popen as well...
> Paul Kienzle
> address@hidden
>
Regards,
Dmitri.
-------------------------------------------------------------
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
-------------------------------------------------------------
- [Fwd: Re: multiple problems with audio toolbox],
Dmitri A. Sergatskov <=