Hi,

I am running liquidsoap 1.3.6 and I have followed the instructions for applying 
replay_gain in the docs here 
https://www.liquidsoap.info/doc-1.3.3/replay_gain.html
I believe that I have added the code for replay_gain correctly in my short 
script below, but volume is uneven across tracks in my stream.

I am also noticing (from the log snippet below) that ‘amplify’ seems to be 
working, but nothing about ‘overriding’ or ‘replay_gain’.
Could anyone confirm 1) whether 'overriding amplify' should be visible in the 
logs and 2) whether replay_gain code is correctly applied in my script (under 
the ’normalisation’ heading).
Any help would be greatly appreciated.



2019/01/28 17:14:38 [mksafe:3] Switch to amplify_6431.
2019/01/28 17:14:38 [fallback_6429:3] Switch to delay_6427.
2019/01/28 17:14:38 [decoder:3] Method "MAD" accepted 
"/ssr/ssr1/interludes/Kate Interlude.mp3".
2019/01/28 17:14:40 [interludes:3] Finished with "/ssr/ssr1/interludes/Kate 
Interlude.mp3".
2019/01/28 17:14:40 [samples:3] Prepared "/ssr/ssr1/samples/Blade Runner 
Interlude.mp3" (RID 7).
2019/01/28 17:14:40 [fresh:3] Prepared "/ssr/ssr1/fresh/Subsonic Experience - 
Throne In The Background.mp3" (RID 4).
2019/01/28 17:14:40 [general:3] Prepared "/ssr/ssr1/general/Emeralds - Light's 
Cool.mp3" (RID 5).
2019/01/28 17:14:40 [fallback_6429:3] Switch to rotate_6425 with forgetful 
transition.
2019/01/28 17:14:40 [rotate_6425:3] Switch to fresh. 




#-----SSR1 PLAYLIST PARTS-----#
interludes = playlist(mode="randomize", reload_mode = "watch", 
"/ssr/ssr1/interludes")
fresh = playlist(mode="randomize", reload_mode = "rounds", reload=1, 
"/ssr/ssr1/fresh")
general = playlist(mode="randomize", reload_mode = "rounds", reload=1, 
"/ssr/ssr1/general")
samples = playlist(mode="randomize", reload_mode = "rounds", reload=1, 
"/ssr/ssr1/samples")

#-----SSR1 TRACKLOOP - Loop includes 12 tracks: 6 fresh, 5 general, 1 
sample-----#
SSR1_trackloop = rotate(weights = [1,1,1,1,1,1,1,1,1,1,1,1],
[fresh,general,fresh,general,fresh,general,fresh,general,fresh,general,fresh,samples])

#-----SSR1 INTERLUDES-----#
SSR1_interludes = delay(1200.,interludes)

#-----FULL SSR1 PLAYLIST-----#
SSR1_playlist = fallback(track_sensitive = true, 
[SSR1_interludes,SSR1_trackloop])

#-----NORMALISATION-----#
SSR1_playlist = amplify(1.,override="replay_gain",SSR1_playlist)
enable_replaygain_metadata ()

#-----FALLIBILITY-----#
radio = mksafe(SSR1_playlist)

#-----LAST.FM SCROBBLING----#
def lastfm.submit(~user,~password,~source="broadcast",~length=false,m) =
audioscrobbler.submit(user=user,password=password,
source=source,length=length,
host="post.audioscrobbler.com",port=80,
m)
end

radio = on_metadata(lastfm.submit(user=“_________",password=“_________-"), 
radio)



_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to