Hi,

I try to get 2 sounds on top of each-other;

1 musicbed, (6 min.) starts from the begin of every 2 hour's,
2 The News (is a sound file with a length which is every time different 
but say 2 min.), starts after say 3 secs of the musicbed on top of the 
musicbed.
3 Trafic info. (is all so a sound file with a length which is every time 
different but say 2.5 min.) this must start after the news without the 
musicbed.

I want to call this source "nieuws"(played from our VPS) this must play 
every 2 hours and is in between live shows from now 2 studio's in 
holland but we hope in the future more then those 2.
If the studio's aren't in the air then a play list must play from our 
VPS whit every 2 hours the "nieuws".

Here is my script so far,

nieuws_bed = once(single("/home/chiel/fir_audio/info/nieuws/FIR nieuws 
id zonder.mp3"))
nieuws_nieuws = once(single("/home/chiel/fir_audio/info/nieuws/nieuws.mp3"))
nieuws_verkeer = 
once(single("/home/chiel/fir_audio/info/nieuws/verkeer.mp3"))

     nieuws = fallback(
         [
         nieuws_bed,
         nieuws_nieuws,
         nieuws_verkeer
         ]
         )

     nieuws = amplify(2.,override="replay_gain",nieuws)

#studio streams
         almere  = "http://46.166.178.144:8000/studioalmere";
         brielle = "http://46.166.178.144:8000/studiobriele";

     relayalmere = mksafe(input.http(almere))
     relaybrielle = mksafe(input.http(brielle))

     studios_ext = fallback(
         track_sensitive=false,
         [
         strip_blank(max_blank=1., relayalmere),
         strip_blank(max_blank=1., relaybrielle),
         nieuws,
         ]
         )

#    add([nieuws,switch([({0m0s},nieuws)])])

#error sound
     error = single("/home/chiel/fir_audio/jingles/error/error.mp3")

#switch tussen studio's en error
     main_stream = fallback(
         track_sensitive=false,
         [
         studios_ext,
         error
         ]
         )

# icecast server main stream mount /mp3
     output.icecast(
         %mp3(bitrate=192,samplerate=44100,stereo=true),
         description = "Meer dan hits",
         name = "Free Internet Radio",
         genre = "van A tot Z van 0 tot 9",
         url = "www.freeinternetradio.nl",
         host = "46.166.178.144",
         mount = "mp3",
         port = 8000,
         password = "Saartje2",
         main_stream
         )


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to