Author Topic: [Dianemo] Problems with speech announcements, delay command ....  (Read 417 times)

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 884
  • Living with LMCE
    • View Profile
Hi,

I'm trying to setup speech announcements under Dianemo 11.10 and have problems. I remember from 10.10 and LMCE 7.10 that similar problems were present, perhaps they exist also on recent releases of LMCE.

I have following questions and would be glad to hear your experiences/opinions :


1. It seems that tts wav files are properly generated, but it seems like they are shortened when played as audio... Also if another speech announcement is triggered it overlaps with the first one - it seems like no queue is used here ? I'm not sure, but maybe generation of wav file and play media command are too close in time (?) :

Quote
08      03/29/12 21:42:10.596           Received Message from 0 (unknown / ) to 18 (Text To Speech / Living Room), type 1 id 253 Command:Send Audio To Device, retry none, parameters: <0x5373ab70>
08      03/29/12 21:42:10.596             Parameter 9(Text): This is a test and wonderfull time. <0x5373ab70>
08      03/29/12 21:42:10.596             Parameter 103(List PK Device): 22 <0x5373ab70>
08      03/29/12 21:42:10.596             Parameter 254(Bypass Event):  <0x5373ab70>
08      03/29/12 21:42:10.596             Parameter 276(Dont Setup AV):  <0x5373ab70>

08      03/29/12 21:42:10.627           Received Message from 18 (Text To Speech / Living Room) to 10 (Media Plug-in / Living Room), type 1 id 43 Command:MH Play Media, retry none, parameters: <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 2(PK_Device): 22 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 13(Filename): /home/public/data/tts/0.wav <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 29(PK_MediaType): 0 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 44(PK_DeviceTemplate): 0 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 45(PK_EntertainArea):  <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 116(Resume): 1 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 117(Repeat): 0 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 253(Queue): 0 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 254(Bypass Event): 0 <0x45506b70>
08      03/29/12 21:42:10.627             Parameter 276(Dont Setup AV): 0 <0x45506b70>



2. I've setup two speech announcements and delay command for DCERouter for 1min in between, but speech commands are send one after another :
Quote
08      03/29/12 21:16:14.415           Received Message from 62 (Windows XP PC/tablet (Horiz) / Living Room) to 18 (Text To Speech / Living Room), type 1 id 253 Command:Send Audio To Device, retry none, parameters: <0x4b40cb70>
08      03/29/12 21:16:14.415             Parameter 9(Text): This is a test of speech synthesis. I hope you can hear and understand me clearly. <0x4b40cb70>
08      03/29/12 21:16:14.415             Parameter 103(List PK Device): 22,356 <0x4b40cb70>
08      03/29/12 21:16:14.415             Parameter 254(Bypass Event):  <0x4b40cb70>
08      03/29/12 21:16:14.415             Parameter 276(Dont Setup AV):  <0x4b40cb70>
08      03/29/12 21:16:14.417           Received Message from 62 (Windows XP PC/tablet (Horiz) / Living Room) to 2 (DCERouter / Living Room), type 1 id 257 Command:Delay, retry none, parameters: <0x4b40cb70>
08      03/29/12 21:16:14.417             Parameter 102(Time): 300000 <0x4b40cb70>
08      03/29/12 21:16:14.419           Received Message from 62 (Windows XP PC/tablet (Horiz) / Living Room) to 18 (Text To Speech / Living Room), type 1 id 253 Command:Send Audio To Device, retry none, parameters: <0x4b40cb70>
08      03/29/12 21:16:14.419             Parameter 9(Text): I'm speaking again after 5 mins. I hope you can hear me. <0x4b40cb70>
08      03/29/12 21:16:14.419             Parameter 103(List PK Device): 22,356 <0x4b40cb70>
08      03/29/12 21:16:14.419             Parameter 254(Bypass Event):  <0x4b40cb70>
08      03/29/12 21:16:14.419             Parameter 276(Dont Setup AV):  <0x4b40cb70>




3. "Send Audio to Device" command for Text&Speech device has parameters I don't clearly understand :
Quote
# 254 Bypass Event (bool)
# 276 Dont Setup AV (bool)
Anyone knows some more details about this ?



4. When I try to make speech announcement during media play, then things get pretty messy. Audio stops playing, speech announcement is not heard at all, then media continues but media screen gets empty (no files in playlist), media floorplan has some empty colour rectangles and media button shows like nothing is played. Anyone with similar experience ?
It also seems that media is not paused, but after short interval, next song from playlist is played - with not enough time to play announcement:
Quote
08      03/29/12 21:42:10.956           Received Message from 23 (Xine Plug-in / Living Room) to 22 (Xine Player / Living Room), type 1 id 37 Command:Play Media, retry none, parameters: <0x4a901b70>
08      03/29/12 21:42:10.956             Parameter 29(PK_MediaType): 4 <0x4a901b70>
08      03/29/12 21:42:10.956             Parameter 41(StreamID): 1002 <0x4a901b70>
08      03/29/12 21:42:10.956             Parameter 42(MediaPosition):  <0x4a901b70>
08      03/29/12 21:42:10.956             Parameter 59(MediaURL): /home/public/data/tts/0.wav <0x4a901b70>

.... and then really soon next song ....

08      03/29/12 21:42:10.996           Received Message from 23 (Xine Plug-in / Living Room) to 22 (Xine Player / Living Room), type 1 id 37 Command:Play Media, retry none, parameters: <0x4a901b70>
08      03/29/12 21:42:10.996             Parameter 29(PK_MediaType): 4 <0x4a901b70>
08      03/29/12 21:42:10.996             Parameter 41(StreamID): 1001 <0x4a901b70>
08      03/29/12 21:42:10.997             Parameter 42(MediaPosition):  <0x4a901b70>
08      03/29/12 21:42:10.997             Parameter 59(MediaURL): /home/public/data/audio/Media [30]/FAMILY/Lesnik Marjana/Best of/Lesnik Marjana - Best of - Zasnubi me.mp3 <0x4a901b70>

40 ms is clearly not enough to play speech announcement.




Thanks in advance,

regards,

Bulek.
« Last Edit: March 29, 2012, 10:00:10 pm by bulek »
Thanks in advance,

regards,

Bulek.