Le 03/10/2018 à 09:42, John Warburton a écrit : > I'm successfully experimenting with Liquidsoap, and am grateful to its > writers. > > Before writing my own function, I wonder if anyone has worked on this > question before? > > I'd like the system to perform automatic crossfades (actually, > superimposed playing without fades) which begin when the loudness of the > first piece of audio falls to a pre-set level, e.g. 12dB below the > average level of the last minute of the track. > > I notice the 'cross' operator allows reading a piece of metadata which > could be set to mark a trigger point for the next track. I can quickly > analyse my whole music library using FFmpeg's EBU R.128 algorithm to > provide these trigger points (look backwards from the track end for the > final point where volume passes downwards through a given value). But I > don't know how to use the 'cross' function in a crossfading function > that would apply to whole playlists. > > This is similar to the "Continuator" in foobar2000. It works equally > well spotting end cue points for voice tracks and music which has a dead > end, as well as for music that fades out. > > Experimentation with the 'smart' functions doesn't seem to show them > detecting the fade-out of a track, but relying on a fixed duration fade > over the end of a track. Have I missed something here? > > You may already know how to do this, and I've missed it in the > documentation, which would be a matter of regret for me! > > Kind regards, > John Warburton
Hi John, I used a similar thing, marking cue ins and out using annotate, and using cue_cut in liq. I wasn't too happy with it as it makes it harder to have smooth crossfading then. So your idea of wrapping cross is a good one, and I haven't done it already, but am interested ;) Cheers Gilles _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users