Development status:
New development
Information status: New
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/InputOutput/FestivalDS
Contact:
Class Description
FestivalDS Class Description:
Families: InputOutput
Key words:
Platform: All Platforms
Language: Python
Contact:
Class interface
Attributes:
Commands:
Name | Description |
---|---|
BeepInput: DevVoid Force a Beep Sound; requires Festival library Output: DevVoid |
— |
PlayInput: DevString Play a given Text; requires Festival library Output: DevVoid |
— |
PopUpInput: DevVarStringArray PopUp(title,text,[seconds]); Shows a system pop-up; requires libnotify-tools package Output: DevString |
— |
Play_SequenceInput: DevString Force a Beep Sound with a given speech; requires Festival library Output: DevVoid |
— |
Pipes:
Properties:
Name | Description |
---|---|
IconDevString | Icon for notifications |
Default_Repeat_TimesDevShort | — |
DisplayDevString | Display to show popup mesages |
Beep_PathDevString | — |
Please log in to comment.
README
b'The property Beep_Path must be initialized to:\n/homelocal/sicilia/var/sounds/beep.wav\n\nComments added 330 min [Reply] [Comment] \nDownload (untitled) / with headers \n text/html 1.8k \n\nI correctly installed the DS in my suse 12.1 machine. The only thing is that the beep sound "beep.wav" is missing. I simply copied it manually to my machine.\nI have been playing with the device and found some problems.\n\n1) The user that runs the device server must be added to "audio" group. Otherwise, the process can\'t access "/dev/dsp", which is the device that is used for playing the sounds by festival. I added "sicilia" to that group and now it can play sounds with no problem.\n\n2) The device can\'t play sounds if the audio device is in use. This is a serious problem, since the DS will simply fail and play no sound if the audio device is in use. You can easily reproduce the problem by doing a "ctrl+f" in firefox looking for something that can\'t be find in the current page. The failure will play a sound (firefox plays sounds by default, see http://johnbokma.com/firefox/find-in-page-sound.html). If immediately after that you try to play a sound in the DS, (or directly running "echo "play a sound" | festival --tts"), you will see that the command will fail with "Linux: can\'t open /dev/dsp". Fortunately, there\'s a solution for this (see http://ubuntuforums.org/showthread.php?t=1270069). Hence, the DS should execute this command (note it includes padsp): "echo "play a sound" | padsp festival --tts"\n\nPending tasks:\n\n0) Before doing anything, check that all the above works in suse 11.1, because that was tested in 12.1\n\n1) Include "beep.wav" in the bliss package. We should have a look at the copyrights of the sound before doing that.\n\n2) Modify the DS to execute the command including padsp (i. e. "echo "play a sound" | padsp festival --tts")\n'
Created:
The device class has been added to catalogue.