On Mar 1, 2014, at 7:27 PM, Paul Hayton wrote: > Being able to insert a command on the RDAirplay that called an appropriate > time / temp audio file would be a really nice feature to have.
Probably mentioned this in the past - but I've been doing that for years using an external script. Temp and conditions, in particular, work well when updated every so often (every 15 minutes in my case) by a cron job. Just get your info, splice your pre-made recordings, and run rdimport on the finished product. In my case, I have a (not very pretty) perl script which retrieves National Weather Service data, then assembles the correct sound files. The files are all one announcer's voice, reading every number from zero to 120, plus the following words/phrases: "Right now in (town name)" "degrees" "degrees below zero" "under clear skies" "under fair skies" "under mostly cloudy skies" "under partly cloudy skies" "with a few clouds" "with overcast skies" "with heavy rain" "with light rain" "with freezing rain" "with hail" "and foggy" "and raining" "and snowing" "and windy" There's a live example at http://www.kanabec.net/kciz/LATEST.wav - you'll get the idea. Same could be done much easier with TTS, but I like the sound of a real person better. Protip: The person doing the audio work will hate you less if the request is accompanied by a bribe of some sort :-) As for time checks, I have pre-recorded carts for every quarter-hour (1:00, 1:15, 1:30, 1:45, etc) which can be included in the log at the appropriate times. Using legal IDs with integrated time checks has also worked well in the past. --------------- Keith Thelen Kanabec Systems _______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
