[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file |
Date: |
Sat, 14 Sep 2019 20:37:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #56889 (project octave):
Status: Need Info => Confirmed
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #6:
Could you upload the Matlab-generated file? That would help with testing.
Simple code to reproduce:
audiowrite ('tst_uint8.wav', uint8 (255:-1:224), 8000, 'BitsPerSample', 8)
y = audioread ('tst_uint8.wav', 'native')
The resulting vector is
y =
252
251
250
249
248
247
246
245
244
243
242
241
240
239
238
237
236
235
234
233
232
231
230
229
228
227
226
225
224
223
222
221
No samples are lost, but they are all shifted down by 3.
Marking as confirmed and changing the Operating System to "Any" since I can
reproduce this on Linux.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56889>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, anonyme, 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/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 <=
- [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
- [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, imad imadero, 2019/09/15
- [Octave-bug-tracker] [bug #56889] Incorrect encoding results from uint8 vector to wav file, Rik, 2019/09/16