From: David B. <dav...@gm...> - 2009-09-20 15:30:13
|
Hi, The smart_cross() operator takes a transition function of type (float, float, [(string*string)], [(string*string)], source, source)->source). This means that it is of the form fun (v1,v2,m1,m2,s1,s2) -> ... where v1/v2 are the volumes before/after the track change, m1/m2 the metadata before/after the track change, and s1/s2 the source before/after the change. So, you can read the metadata attached to the next track using for example m2["cross"]=="no". Hope that helps, -- David |