[RDD] transmitter / silence / fallback

Wayne Merricks waynemerricks at thevoiceasia.com
Wed Jan 28 16:47:15 EST 2015


You'll probably have to install the liquidsoap plugins to enable mp3 
support (if you're unlucky you'll have to compile it with mp3 support).

Do an apt-cache search for liquidsoap or liquidsoap-plugin and you 
should see a whole bunch of them including jack and pulse.

On 2015-01-28 19:44, drew Roberts wrote:
> On Wed, Jan 28, 2015 at 12:21 PM, Marc Steele <steelegbr at gmail.com
> [6]> wrote:
>
>> Ive done similar with LiquidSoap in the past.
>> See http://www.dlineradio.co.uk/articles/stls-and-raspberry-pis/
>> [1] for details. 
>
> Fallback is working, main stream does not play:
>
>  2015/01/27 20:03:14 [decoder:3] Unable to decode stream of type
> "mp3"!
>
>> Written originally for the Pi but should work on most Debian based
>> systems. Adding some on silence actions might do the trick for
>> you. 
>>
>> Sent from my iPhone
>>
>> On 28 Jan 2015, at 16:05, drew Roberts <zotzbro at gmail.com [5]>
>> wrote:
>>
>>> I think I have seen discussions around these topics in the past. I
>>> am hoping someone is up to date on these skills so that I dont
>>> have to spend further hours or days trying to get this to work
>>> smoothly.
>>>
>>> What I want to do:
>>>
>>> config a small box (I hope to use a Raspberry Pi but will scale up
>>> until I find one with the needed power to serve in this capacity)
>>> such that when it is plugged into a network and amp/speakers
>>> somewhere it will connect to an icecast stream automatically and
>>> play it out of the speakers.
>>>
>>> It will detect silence in the stream (including the stream going
>>> down) and switch to playing (a playlist of) locally stored files.
>>>
>>> It will detect when the stream audio comes back and cut out the
>>> local audio and go back to stream audio.
>>>
>>> All headless and automatic.
>>>
>>> I am trying to get this system going now on a laptop with a bit
>>> more power than the Pi.
>>>
>>> I am trying to use:
>>>
>>> jack
>>> silentjack (to detect the silence)
>>>
>>> jack_connect (to change the jack routing on setup and on command
>>> from silentjack)
>>>
>>> audio players:
>>>
>>> mplayer (or its frontends)
>>> vlc
>>> others?
>>>
>>> Does this sound like a reasonable set of components for this job?
>>> Has anyone done something similar? Are there any good docs in this
>>> space?
>>>
>>> Problems I think I need to solve:
>>>
>>> A way to "statically name" the main stream player so that I can
>>> refer to it in scripts.
>>> I may not have to statically name the backup player but it would
>>> probably be nice.
>>>
>>> So far, I am not seeing how to do that with mplayer or vlc, the
>>> names seem to be tied to the pid.
>>>
>>> Is there a better way to go about this?
>>>
>>> If it hasnt already been done, I will write this all up when I am
>>> done.
>>>
>>> all the best,
>>>
>>> drew
>>>
>>> --
>>>
>>> http://nakedghosts.blogspot.com/ [2]
>>
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> Rivendell-dev at lists.rivendellaudio.org [3]
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>> [4]



More information about the Rivendell-dev mailing list