Le 28/04/2013 12:03, Rivendell Steve a écrit :
> Hello,
>
> I've just upgraded to 1.1.0 and as part of a silence detector I use
> "strip_blank(length=15.,input)", however the latest version doesn't seem
> to support length parameter?
>
> What's the now preferred method of detecting blank audio above a certain
> time threshold?
It changed to max_blank and min_noise, you can get help on those using
liquidsoap -h ;)
$ liquidsoap -h strip_blank
Make the source unavailable when it is streaming blank.
Type: (?id:string,?max_blank:float,?min_noise:float,
?threshold:float,?track_sensitive:bool,
source(audio='#a,video='#b,midi='#c))->
source(audio='#a,video='#b,midi='#c)
Category: Source / Track Processing
Parameters:
* id : string (default: "")
Force the value of the source ID.
* max_blank : float (default: 20.)
Maximum duration of silence allowed, in seconds.
* min_noise : float (default: 0.)
Minimum duration of noise required to end silence, in seconds.
* threshold : float (default: -40.)
Power in decibels under which the stream is considered silent.
* track_sensitive : bool (default: true)
Reset blank counter at each track.
* (unlabeled) : source(audio='#a,video='#b,midi='#c) (default: None)
Cheers,
Gilou
>
> Thanks,
>
> Steve.
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
>
>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users