Yes, I've had success with the following functions:
def normalize_music(s)
amplify(0.6, normalize(gain_max = 27.0, gain_min = -18.0,
k_down = 0.06, k_up = 0.04, target=-14.0, threshold=-90.0, window=1.5, s))
end
def loudnesswar(s)
# 3-band crossover
low = filter.iir.eq.low(frequency = 300.)
mh = filter.iir.eq.high(frequency = 180.)
mid = filter.iir.eq.low(frequency = 1800.)
high = filter.iir.eq.high(frequency = 1366.)
# Add back
compressed = add(normalize = false,
[ compress(attack = 100., release = 200., threshold = -30.,
ratio = 2.8, gain = 7.5, knee = 9.0,
low(s)),
compress(attack = 100., release = 200., threshold = -24.,
ratio = 2.0, gain = 9.0, knee = 9.0,
mid(mh(s))),
compress(attack = 100., release = 200., threshold = -30.,
ratio = 2.4, gain = 7.0, knee = 9.0,
high(s))
])
ladspa.fastlookaheadlimiter(limit=-1.0, release_time=0.08, compressed)
end
The second function was copied from sky filter from
/usr/lib/liquidsoap/1.1.1/utils.liq and adapted for my needs during
listening experiments.
It requires swh-plugins Debian/Ubuntu package installed for the Fast
Lookahead Limiter plugin.
I used these functions to stream live music concerts. The whole script is:
from_jack = input.jack(id="jack_to_live", buffer_size=16)
stream = mksafe(from_jack)
stream = loudnesswar(normalize_music(stream))
output.icecast(port=8000, description="...", host="...", password="...",
mount=".......ogg", %ogg(%vorbis.abr(channels=2, bitrate=160,
max_bitrate=180, min_bitrate=150)), stream)
Hope this helps!
On 22.12.2016 13:11, Simone Dal Maso wrote:
> Hello,
> My webradio is running well with liquidsoap, I'd like to know if you
> know how to modify the sound with filters in order to obtain a more
> robust sound, like when you are listening to the fm radio.
> I know the "sky" filter but it is not so good on my opinion.
> Do you know some alternatives?
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/intel
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users