Ebeo / opentx

Automatically exported from code.google.com/p/opentx
0 stars 0 forks source link

WAV files with "filler" header do not play on Taranis #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which board (stock / gruvin9x / sky9x / Taranis) are you using? Taranis

What is your openTx FW version? opentx-x9d-v1.1.02

What is your openTx EEPROM version? 215

- What steps will reproduce the problem?

1. Generate a sound file on a Mac with the "say" command, for example

say --data-format LEI16@32000 -o tada_broken.wav "Welcome to Taranis"

(I'm using MacOS 10.9.1, and the "Allison" voice)

2. Sound won't play on the Taranis

3. Filter the same file through sox, and it works.

sox tada_broken.wav tada_working.wav

-What is the expected output? What do you see instead?

No sound played, just silence (or in the case of tada.wav, a startup beep)

-Please provide any additional information below.

Two wav files, "broken" and "working" attached. Both seem perfectly fine and 
play nicely everywhere else. I'm no expert in WAV headers, but it seems it 
contains a "filler" header chunk (and the file is about 4k bigger), and that 
might be what's causing the problem.

This also affects files converted with the Apple-supplied afconvert utility 
(which likely uses the exact same libraries as "say").

Original issue reported on code.google.com by john.st...@gmail.com on 29 Dec 2013 at 8:16

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bson...@gmail.com on 30 Dec 2013 at 8:13