www.homeseer.com    
 

Go Back   HomeSeer Message Board > Media Plug-ins > Media Discussion > SqueezeBox Plug-In (3P)

SqueezeBox Plug-In (3P) Discussion area for the SqueezeBox plug-in by PCP.

Reply
 
Thread Tools Display Modes
  #1  
Old October 14th, 2017, 04:52 PM
smith smith is offline
Seer
 
Join Date: Oct 2017
Location: US
Posts: 13
TTS playing silently to Squeezebox player

My Homeseer 3/Windows + Squeezebox Plugin installation is working well, with the exception of TTS.

While I have music playing, if I send TTS to my Squeezebox client, the music mutes and I hear silence for the duration of the TTS phrase. Then the music starts again.

I've confirmed that TTS is working correctly by testing speakers that are connected to the Homeseer server.

When I look at the debug, everything 'looks' normal. I've tried different commands and read through various forums posts and think everything is configured correctly, but I am stuck.

Anyone have any ideas? I've attached a screenshot of my HS + SB Plugin config, the script I am testing, and the debug log output is here:

https://pastebin.com/VdUc3487

Thanks.


Reply With Quote
  #2  
Old October 15th, 2017, 01:31 PM
pcp pcp is offline
Super Seer
 
Join Date: Jan 2006
Location: MA
Posts: 1,647
Have you tried TTS to the squeezebox client separate from playing music? What is volume setting in the HS3 device speech for the squeezebox client?

Another suggestion is check the audio file stored in the squeezebox plugin html page. Check that you can play that on your PC (i.e. audio in wav or mp3 file is ok) and via Squeezebox.
Reply With Quote
  #3  
Old October 15th, 2017, 05:54 PM
smith smith is offline
Seer
 
Join Date: Oct 2017
Location: US
Posts: 13
Thanks for the reply. All TTS to Squeezebox is silent, if I am playing music or not.

Volume setting for speech on Squeezebox is 73%.

My images did not included in my last post for some reason. I'm not even using a wav file at this point - to rule out any incompatibility I am calling hs.speak to send the message.

https://imgur.com/a/HfLYi
https://imgur.com/a/ofmi6
Reply With Quote
  #4  
Old October 15th, 2017, 07:20 PM
rprade's Avatar
rprade rprade is online now
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 5,827
Is there any chance you are running another plug-in with a speech proxy that might be intercepting it and not forwarding it?
__________________
Randy Prade
Aurora, CO
Prades.net

"Do or do not, there is no try"
-Yoda

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #5  
Old October 16th, 2017, 12:34 AM
smith smith is offline
Seer
 
Join Date: Oct 2017
Location: US
Posts: 13
No other speech proxies.

Update on this - I installed two more Squeezebox players (Android and Windows). The TTS plays normally on both of these. It looks like the problem is isolated to the one Squeezelite instance, running on Max2Play.

I did notice that on all 3 clients, after the TTS plays, the current track starts from the beginning.

Is it possible for me to save the hs.speak output (in .mp3) so I can try to play the file directly on Squeezelite? I would be surprised if there was a compatibility problem but that seems to be the next step.
Reply With Quote
  #6  
Old October 16th, 2017, 01:20 AM
smith smith is offline
Seer
 
Join Date: Oct 2017
Location: US
Posts: 13
I found the mp3 location (http://172.16.16.250/SqueezeBox/SpeakIn_7.mp3) and tried to play it directly via Squeezelite. I couldn't hear any audio! Within Max2Play I changed my soundcard device to see if that would make any difference (there are two similar entries for the USB DAC in my amp). I restarted and could then hear the mp3 file. I then re-tested TTS but unfortunately it's still silent.

I tried unchecking the "TTS as MP3" checkbox in the HS Squeezebox Speak Proxy settings, but that broke TTS to all devices. I reverted back to mp3.

Now I'm really confused


https://imgur.com/a/pcYH1
Reply With Quote
  #7  
Old October 16th, 2017, 06:02 AM
pcp pcp is offline
Super Seer
 
Join Date: Jan 2006
Location: MA
Posts: 1,647
Try playing the audio files (Wav and mp3) in the plugin directory in Windows using iTunes or media player to ensure the file is correct. If they are fine and if you have different voices try changing that as well. Also in the plugin config, you can provide optionsfor the mp3 converter and some options were suggested by others in other posts in forum (don’t have them handy). The reason for all this most likely is that the mp3 audio format (frequency, etc driven by the selected voice and/or the wav to mp3 converter options) is not compatible with the mp3 format supported by your mp3/squeezebox client.
Reply With Quote
  #8  
Old October 17th, 2017, 12:04 PM
smith smith is offline
Seer
 
Join Date: Oct 2017
Location: US
Posts: 13
I can play the mp3 file via Squeezelite just fine. I have tried two voices, both have the same problem. Since I can play the mp3 fine I don't think it's a LAME encoding issue. How can I further debug this?
Reply With Quote
  #9  
Old October 19th, 2017, 11:08 PM
smith smith is offline
Seer
 
Join Date: Oct 2017
Location: US
Posts: 13
Hi pcp,
Any ideas on how I can further troubleshoot this problem?

Thanks.
Reply With Quote
  #10  
Old October 21st, 2017, 09:56 AM
pcp pcp is offline
Super Seer
 
Join Date: Jan 2006
Location: MA
Posts: 1,647
Try the following: from LMS try to play the mp3 file by streaming the file instead. In the LMS webpage try Radio > TuneIn URL and enter the URL to the mp3 file as http://hs3_ip_addressort/SqueezeBox/SpeakIn_0.mp3, of course entering the correct hs3_ip_address, port (80, 8088, etc), and the mp file you want to stream. The plugin uses a similar technique by streaming the mp file via the HS3 http server to LMS and play it. All this will help narrowing down the area to focus on.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell if a player is playing from a script sifuhall PI-SonosController (3P) 3 July 21st, 2015 01:16 PM
BL Media Player Internet Audio NOT Playing Pete BLMediaPlayer (3P) 4 March 29th, 2010 03:47 PM
Easy way to get Caller ID to Squeezebox Player rhodesep SqueezeBox Plug-In (3P) 9 December 14th, 2009 10:31 PM
HS Touch Samples that Work with SqueezeBox Player/Rxr smilligan SqueezeBox Plug-In (3P) 3 February 9th, 2009 08:46 AM
Media player pluggin now playing jtwolf76 Script & Plug-In Development 8 May 16th, 2008 08:24 AM


All times are GMT -4. The time now is 02:17 PM.


Copyright HomeSeer Technologies, LLC