-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can prune everything after your compressor (nrj) indeed if you wish:
music =
fallback([switch([({3h-12h},smooth),({12h-21h},pop),({21h-3h},techno])])
nrj(music)

IIRC smart_crossfade will apply a slight crossfading between tracks from
the same node in your switch (i.e. successive tracks from smooth, or
from pop, etc.) You may not need it indeed.

mksafe will make sure something will always be played in the end, if no
track can be accessed then it will stream some silence. If you can
remove mksafe from your script, without Liquidsoap complaining about it,
then it means your playlists can still be played when everything else
fails. You have to test it by yourself. I don't know if it will work.

You can combine your 'live' source as well, like that:
music =
fallback([switch([({3h-12h},smooth),({12h-21h},pop),({21h-3h},techno])])
music = nrj(music)
live = input.http('http://s2.blind-light.net:8000/live')
fallback(track_sensitive=false,[live,music])

A source is output from this last line.
The last fallback will try to play 'live' as soon as possible, if it
fails then it will fall back to your 'music' source. But as soon as
'live' is up again, the active source will automatically switch to it.

On 05/08/2011 00:57, Josh wrote:
> so i can just put  music = nrj?
> but what about:
> # Add the ability to relay live shows
> live=input.http('http://s2.blind-light.net:8000/live')
> full= fallback(track_sensitive=false,[live,music])
> 
> 
> 
> ----- Original Message ----- From: "okay_awright" <[email protected]>
> Cc: <[email protected]>
> Sent: Thursday, August 04, 2011 11:46 PM
> Subject: Re: [Savonet-users] my ls script was updated.
> 
> 
> It depends on where your code snippets are located, for example, if your
> code is within a procedure, once you've changed your last line from:
> music = mksafe(music)
> to:
> mksafe(music)
> or:
> music = mksafe(music)
> music
> 
> then the result will become a proper source (I think it's what you want.)
> 
> 
> -- best regards,
> 
> okay_awright
> <okay_awright AT ddcr DOT biz>
> [PGP key on request]
> 
> 
> On 05/08/2011 00:21, Josh wrote:
>>>>> would you need ,(music) on the end of this script?
>>
-
------------------------------------------------------------------------------
>>
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

- -- 
best regards,

okay_awright
<okay_awright AT ddcr DOT biz>
[PGP key on request]
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJOOykkAAoJEN2X/7ng71pT49MH/j42h8/52JgsFE6U6n2zsxWJ
SgnDzcMWBpd4b7Qv3xK57Vdn6t9BMiGIQUYvgjU6qJmquMBIRYJbBaH41euz/S+X
M1injUZphPgbPuDgGbZM/rL0BOi400Eqb+Ih+EZUDEOWBuGTxqhVP07lTnUhaPdb
sFSxM0JcKXuye6YMrV3aAhgKwBRbku6L0AjeJm5BmqIz5p0NQ5bAsDRSEoQnInM2
tC6j+z6VOAsSU/qLVdRY7xcNGTDdwrPeSjoAbWyw/9VGMNy3qYw4dlSWl37tLoFF
dznIldDJRzJX1j581sL7gHBzu/hmho/tCFuBzTcAlJ0XTnZ+nTW7OJjePRyKZVk=
=X/qN
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to