From 83519faffbfc3d38d4258cbca1107c06109f0573 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 7 Apr 2015 05:21:57 +0200 Subject: low-pass filter gain-fader. fixes various fader zipper noise issues. It voids sample accuate fader automation (the fader-gain is low-pass filtered at 10Hz). Yet all musical purposes this makes a lot more sense than sample accuracy anyway. --- libs/ardour/delivery.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/ardour/delivery.cc') diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index f7d679d3ba..f16719888f 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -262,8 +262,7 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf if (tgain != _current_gain) { /* target gain has changed */ - Amp::apply_gain (bufs, nframes, _current_gain, tgain); - _current_gain = tgain; + _current_gain = Amp::apply_gain (bufs, _session.nominal_frame_rate(), nframes, _current_gain, tgain); } else if (tgain == 0.0) { -- cgit v1.2.3