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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
