Hi Scott, and welcome again :-)

Le mardi 29 décembre 2009 17:45:05, Scott Robinson a écrit :
> I was however expecting the log to show a switch every hour for the news
>  and a switch from live to automation, but none of this was showing
>  unfortunatly!

(Sorry, long answer, but I guess details here can be interesting for other 
readers..)

The problem comes from the notion of "track" in the stream.

A stream contains track, which determines logical seperation in the stream. 
Some source operators naturally have tracks, like playlist() or single(). 

Some other may have tracks, such as input.http(), but not necessarily (option 
new_track_on_metadata).

Eventually, some sources do not have tracks at all. This is the case for 
sources created using input.alsa or, in your case, input.jack. These sources 
do not have a natural notion of track seperation, since they are essentially 
continuous audio data.

Additionally, some operators may remove track limits, for instance, when 
adding several sources:
  s = add([s1,s2,s3,...])
Then only the tracks marquers of the first stream are passed to s, so if s1 is 
a continous source like input.jack, then s has no tracks (and also no 
metadata).

Also, crossfading removes tracks limit, which seems natural since the tracks 
ending and beginning are merged. I do not know an option to change this at the 
moment, but I think this can be done. Perhaps David knows better than I do on 
this topic..

The track marquers are usefull in a lot of situations. In particular, when 
switching from one source to another, it should be expected that the switch 
respects track limits, and does not cut the track being played at the moment.

For that reason, the switch() operators cannot leave a source before this 
source has passed a new track marker. This is the reason why the switch did 
not happen in your case. Since the sources are jack input, they do not have 
track markers.

You can fix this in several way. The most common is to use the 
"track_sensitive" option of the switch and set it to true. In this case, the 
switch (or similarly with fallback etc..), will leave the source immediately 
without waiting for a track marker.

This is generally what you have to do to make sure a live show starts as soon 
as the DJ starts..

In order to make it smoothier, you can also use a transition, which could, for 
instance, fade out the old source, insert a jingle, and start the new source.

I will not comment more on transitions now, but please feel  to come back with 
more questions and comments !


Romain

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to