Re: [Savonet-users] normalize/skip_blank

2009-05-14 Thread Romain Beauxis
Le Friday 15 May 2009 02:05:51 Brandon Casci, vous avez écrit :
> Hello

Hi !

> If you choose to use normalize and skip_blank, do you need to apply
> them for each playlist, or can you apply them to the whole chain of
> playlists?

In general, skip_blank can be used on the top level of your playlists. 
The same applies for normalize. 

However, you should not apply skip_blank on the last source before an output 
if this source includes live sources, such as input.http or input.harbor. For 
these sources, skipping would not work. Normalize should work, however, but 
you should care about sound issues when normalizing. More details there:
   http://savonet.sourceforge.net/doc-0.9.0/replay_gain.html

> For example..looking at the case study from the website
(...)
> radio = add(normalize = true, [radio, switch([({0m0s},clock)])])

Beware that the meaning of the normalize parameter here is not the same as the 
meaning of the normalize operator. In add, normalize means that, when adding 
for instance a and b, the resulting sound samples are normalized, in the form:
  a + b / 2
Without normalization, the resulting samples are simply:
 a + b

Romain


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] normalize/skip_blank

2009-05-14 Thread Brandon Casci
Hello

If you choose to use normalize and skip_blank, do you need to apply
them for each playlist, or can you apply them to the whole chain of
playlists?

For example..looking at the case study from the website

=

default = single("~/radio/default.ogg")

day = playlist("~/radio/day.pls")
night   = playlist("~/radio/night.pls")
jingles = playlist("~/radio/jingles.pls")

clock   = single("~/radio/clock.ogg")
start   = single("~/radio/live_start.ogg")
stop= single("~/radio/live_stop.ogg")

# Play user requests if there are any,
# otherwise one of our playlists,
# and the default file if anything goes wrong.
radio = fallback([ request.queue(id="request"),
switch([({ 6h-22h }, day),
({ 22h-6h }, night)]),
default])
# Add the normal jingles
radio = random(weights=[1,5],[ jingles, radio ])
# And the clock jingle
radio = add([radio, switch([({0m0s},clock)])])

==

Would changing the last line to the following only normalize the last
playlist, or the whole stack?

radio = add(normalize = true, [radio, switch([({0m0s},clock)])])

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users