Hi,
I'm using LMS 8.2 (docker image dev) and several squeezelite instances using piCorePlayer 7, which I start in the following way:
Server and clients run both on (different) Raspberry Pis.
When I play flac files or Internet streams, all is working fine. I then installed the LMS Announce plugin, which offers an REST endpoint for doing text-to-speak messages.
The tts audio files played with this plugin sound weird and for my ears it is like they are played super fast. I copied one of the generated .wav files to my desktop computer and played it using vlc. Here the output is like expected.
I then analyzed (using sox --i) one of my .flac files which plays great on LMS and the .wav file which plays too fast.
The flac file:
The .wav file:
So some differences here, eg sample rate 44100 vs 22050. Can these lead to the one with the halve sample rate playing with double speed?
Any ideas what I can do?
Thanks for your help.
I'm using LMS 8.2 (docker image dev) and several squeezelite instances using piCorePlayer 7, which I start in the following way:
Code:
/usr/local/bin/squeezelite -n "room x" -o monofrontl -a 80:::0: -m aa:00:01:00:00:01 -C 1 -zWhen I play flac files or Internet streams, all is working fine. I then installed the LMS Announce plugin, which offers an REST endpoint for doing text-to-speak messages.
The tts audio files played with this plugin sound weird and for my ears it is like they are played super fast. I copied one of the generated .wav files to my desktop computer and played it using vlc. Here the output is like expected.
I then analyzed (using sox --i) one of my .flac files which plays great on LMS and the .wav file which plays too fast.
The flac file:
Code:
Channels : 2
Sample Rate : 44100
Precision : 16-bit
Duration : 00:05:33.32 = 14699412 samples = 24999 CDDA sectors
File Size : 43.3M
Bit Rate : 1.04M
Sample Encoding: 16-bit FLACCode:
Channels : 1
Sample Rate : 22050
Precision : 16-bit
Duration : 00:00:02.37 = 52332 samples ~ 178 CDDA sectors
File Size : 105k
Bit Rate : 353k
Sample Encoding: 16-bit Signed Integer PCMAny ideas what I can do?
Thanks for your help.