2012/6/29 Brandon Olivares <[email protected]>:
> Hello,
Hi!
> Here is the code for my transition:
>
> # Transition to live stream
> def to_healing_hour_live(jingle, a, b) =
> out = 8.
> add(normalize=false,
> [ # wait for a to finish then throw the jingle and start b
> sequence([ blank(duration=out-3.), jingle, fallback([])]),
> sequence([blank(duration=out+2.), fade.initial(duration=14.,b)]),
> # a just stops
> fade.final(duration=out,a) ])
> end
>
> healing_hour_live = amplify(1.2, mic_filter(input.harbor(port = 8005,
> password = '***', 'healing_hour_live')))
>
> healing_hour_intro = single("/path/to/healing_hour/intro.mp3")
>
> radio = fallback(track_sensitive = false, transitions =
> [to_healing_hour_live(healing_hour_intro), to_radio], [healing_hour_live,
> radio])
>
> After I hit broadcast on my side, I have to wait about 25 secons before I can
> start speaking to allow the fadeout and the jingle to play. If I speak
> sooner, it is cut offb ecause the input.harbor isn't played immediately.
Thanks for the code!
It seems that the harbor has indeed to wait for too long. When
waiting, the harbor's buffer is filled-in. Once it reaches it maximun
buffer (parameter "max"), it starts dropping old data to keep its
buffer under the max.
Thus, I would advise you to try to increase the "max" parameter to
something above what needs to be kept for the transition to function
properly.
Also, I would not change the "buffer" parameter, because this
parameters defines the minimun pre-filled buffer before the transition
is allowed to start..
Hope this helps,
Romain
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users