[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37540] wavwrite doesn't produce a valid wav f
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #37540] wavwrite doesn't produce a valid wav file |
Date: |
Wed, 10 Oct 2012 18:11:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11 |
URL:
<http://savannah.gnu.org/bugs/?37540>
Summary: wavwrite doesn't produce a valid wav file
Project: GNU Octave
Submitted by: None
Submitted on: Wed 10 Oct 2012 06:11:23 PM UTC
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Guiu Rocafort
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.3
Operating System: GNU/Linux
_______________________________________________________
Details:
OS: GNU/Linux Kubuntu 12.04
Versions affected: 3.2.4 and 3.6.3 ( probably others also )
It seems like wavwrite don't produce a valid sound. I've tryed out generating
a simple sine wave and generating the wav. The resulting wav cannot be reader
by vlc neither mplayer. soundConverter complains about "Gstreamer: could not
determine type of stream". And opening it with audacity causes it to crash.
Because of all this, I'm arriving to the conclusion that the wav-generated
file has not the right format.
I tryed out in versions 3.2.4 and 3.6.3 ( self complied ) and I've found the
problem in both versions.
The full code that i've used to generate the wav file:
dur = 1.0;
fs = 8000;
tt = 0 : (1/fs) : dur;
xx = sin( 2*pi*2000*tt );
wavwrite( xx, fs,‘temp.wav’);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37540>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37540] wavwrite doesn't produce a valid wav file,
anonymous <=