[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8
From: |
anonyme |
Subject: |
[Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file |
Date: |
Sat, 14 Sep 2019 07:42:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?56889>
Summary: Incorrect encoding results from uint8 vector to wav
file
Project: GNU Octave
Submitted by: None
Submitted on: sam. 14 sept. 2019 11:42:37 UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: imad
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
%%
% test audio write function for uint8 vector
Fs=8000;
f="test.wav";
y=[];
for k=1:32
y(k)=256-k;
endfor
audiowrite(f,uint8(y),Fs,'BitsPerSample',8);
audioread(f,'native')
-verbatom-
the original vector y is transformed to uint8 data type then encoded in wav
file.
the encoded results do not match
Note:
The same code works as expected in MATLAB.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56889>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file,
anonyme <=
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, Rik, 2019/09/14
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, imad imadero, 2019/09/14
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, Mike Miller, 2019/09/14
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, imad imadero, 2019/09/14
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, imad imadero, 2019/09/14
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, Rik, 2019/09/14
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, imad imadero, 2019/09/15
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, imad imadero, 2019/09/15
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, Rik, 2019/09/15
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, Rik, 2019/09/15