Hi there, I am a new user of piCorePlayer but a long time Squeezebox user. I have a number of Booms and a Touch which I use to stream audio and play notifications and announcements from my home automation system (openHAB). I have just recently swapped to using pico2wave + lame (since pico2wave only outputs WAV files) for my TTS announcements, after Google changed their TTS cloud based service.
I am finding it is working really well. I have a basic PHP script which calls out to pico2wave to generate the TTS WAV file and then use phplame to convert to MP3 before streaming back to the caller. I have this running on an Apache2 web service on one of my machines. Using this PHP script I can send announcements to my Squeezebox devices by just *playing* a URL in the form *http://web01/tts/tts.php?lng=en-GB&msg=Test%20message*. This works great on my Booms which I use for my announcements. I have just installed a RPi + piCorePlayer in the garage and want to include this for announcements, but whenever I attempt to play this URL there is nothing output, and the player *thinks* it is playing a never-ending stream. I.e. the player reports it is playing the URL but there is no sound, and it never ends. The URL returns an MP3 at 16kHz at a bit rate of 64kb/s. Is this compatible with the piCorePlayer? I read that it only supports 44.1kHz sample rates, so I tried re-sampling the output to 44.1, but this didn't seem to make any difference. I am able to tweak the MP3 conversion process by altering my PHP script, but I am just not sure what I need to do. Any help or suggestions will be warmly received ;)!! FYI - he is the WIKI page explaining how I have setup my TTS PHP script... https://github.com/openhab/openhab/wiki/Use-local-TTS-with-squeezebox Best regards, Ben ------------------------------------------------------------------------ SumnerBoy's Profile: http://forums.slimdevices.com/member.php?userid=8924 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
