On Wed, Oct 3, 2018 at 10:19 AM Gilou <contact+...@gilouweb.com> wrote:
> Le 03/10/2018 à 09:42, John Warburton a écrit : > > I > > 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. > > 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 ;) Gilles, thanks for replying. I am trying to get my head around track processing versus source processing. The language used in Liquidsoap is new to me, but I shall learn, and see what can be done. Essentially, it seems that the cross parameter "duration" needs to be different for each track, and set to the time remaining before the end of a track where the last fall of loudness occurs. Calculating and storing the parameter in the metadata of a track is trivial, upon import of audio to the store. But I do not yet know how to achieve passing this parameter on a per-track basis while preserving a constant audio stream. There must be a way. JW
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users