Paul Webster wrote: 
> 
> In the Announce function how about a pre-roll/post-roll configurable
> sound (to make a "bing bong" to get attention of audience)?
> Could be a default pair of sounds and disabled ... then enable and
> choose other sounds via GET parameter.
Interesting idea, but too much effort unless there is a huge demand for
it (very unlikely imho)
Workaround:
- for static announcements, use a playlist
- for speech, install sox and create a shell script:

Code:
--------------------
    
  #!/bin/bash                                                                   
                                                                                
                                                                                
    
  SOUND=/path/to/beep.flac 
  while getopts "o:t:" opt; do
  case $opt in
  o)
  DESTFILE="$OPTARG"
  ;;
  t)
  TEXT="$OPTARG"
  ;;
  esac
  done
  mimic -o "${DESTFILE}.tmp" -voice slt -t "$TEXT"
  sox "${DESTFILE}.tmp" -t sox - channels 2 rate 44100 | sox "$SOUND" -t sox - 
"$DESTFILE" 
  rm  "${DESTFILE}.tmp"
  
--------------------

and use it as a TTS engine:

Code:
--------------------
    
        "mimic-beep": {
                "cmd": "/path/to/script.sh",
                "output": "-o ",
                "options": "",
                "text": "-t"
        }
  
--------------------



SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to