help-octave
[Top][All Lists]
Advanced

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

Re: audio check?


From: Thomas Weber
Subject: Re: audio check?
Date: Wed, 05 Sep 2007 08:50:26 +0200

Am Dienstag, den 04.09.2007, 13:59 -0400 schrieb Jim Langston:
> Thanks John,
> 
> octave:1> A = [1:10; 1:10]/10;
> octave:2> wavwrite("a.wav", A);
> octave:3> [B, samples_per_sec, bits_per_sample] = wavread("a.wav");
> ^C^CPress Control-C again to abort.
> ^Cpanic: Interrupt -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
> 
> bash-3.00$
> bash-3.00$ ls -l a.wav
> -rw-r--r--   1 langston langston      84 Sep  4 13:44 a.wav
> bash-3.00$ file a.wav
> a.wav:          audio data: 16-bit linear PCM,

This looks strange. Can you check with other wave files, if this output
is the expected one?

Here: 
$ file a.wav 
a.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, 10
channels 8000 Hz

        Thomas



reply via email to

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