[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34078] fix for wavread.m, handle also incompl
From: |
Hannes Müller |
Subject: |
[Octave-bug-tracker] [bug #34078] fix for wavread.m, handle also incomplete samples for 24 bits per sample |
Date: |
Sat, 20 Aug 2011 09:22:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.16) Gecko/20110815 Iceweasel/3.5.16 (like Firefox/3.5.16) |
URL:
<http://savannah.gnu.org/bugs/?34078>
Summary: fix for wavread.m, handle also incomplete samples
for 24 bits per sample
Project: GNU Octave
Submitted by: hmueller
Submitted on: Sa 20 Aug 2011 09:22:23 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Hannes Müller
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
wavread.m assumes the data size of a *.wav file is a multiple of the bytes
used per sample. In fact there are *.wav files were this assumption does not
hold. The last sample may be incomplete (ref. attached file test.wav from a
sound level meter).
Therefore, with such *.wav files the reshape operation in current wavread.m
fails.
Matlab, audacity, sndfile library and a number of other audio applications
does not show any failure or warnings with theses files.
That is why I propose to fix wavread.m accordingly, see attached patch.
PS: I propose to check also all other divisions if non-integer results are
correctly handled.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sa 20 Aug 2011 09:22:23 GMT Name: wavread.m.patch Size: 652B By:
hmueller
<http://savannah.gnu.org/bugs/download.php?file_id=23839>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34078>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34078] fix for wavread.m, handle also incomplete samples for 24 bits per sample,
Hannes Müller <=