lucw
September 13, 2023, 1:35pm
1
Hi, i’m trying to help out a user of AwesomeTTS who’s experiencing the following error message when playing back certain mp3 files on iOS AnkiMobile:
searching for this error points to some vague permissions errors. Does anyone know what might be the issue ?
dae
September 14, 2023, 12:50am
2
Can you provide a 1 card apkg that reproduces the issue?
lucw
September 14, 2023, 1:47pm
3
I got to take a look at the file types:
this is a “bad” file:
languagetools-0ee87d8fa0bc531f9946bc82623df49f5448236170e262b1ca7e096f.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 24000 Hz
this is a “good” file
languagetools-25a45af844622f6fc7a98a939585c9e1b2b53cae3bdd4f0681570a23.mp3: Audio file with ID3 version 2.3.0, contains:\012- MPEG ADTS, layer III, v2, 48 kbps, 22.05 kHz, Monaural
so i’m going to attempt to repro this on my side first.
dae
September 15, 2023, 2:54am
4
iOS’s audio player requires that the file extension correctly identifies the content of the file. If AwesomeTTS is writing .wav files as .mp3, it will need to write them as .wav instead.
lucw
September 15, 2023, 3:09am
5
Looks pretty clear the google SDK / API is generating WAV data even when the parameters explicitly say mp3, at least for this particular voice. This is an issue on my side, i’ll be looking into it. Thank you @dae .
1 Like
lucw
September 15, 2023, 3:35am
6
Looks like this problem is unique to the Google Thai Neural2 voice, i’ve opened a support ticket with google: Google Issue Tracker
system
Closed
October 15, 2023, 3:35am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.