diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-07 05:21:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-07 05:21:57 +0200 |
commit | 83519faffbfc3d38d4258cbca1107c06109f0573 (patch) | |
tree | 89c2c585240621d5ea8a7a1462ee7f33b430a367 /libs/ardour/monitor_processor.cc | |
parent | 528f945ba3f30a767be84b10be419177e553f767 (diff) |
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.
Diffstat (limited to 'libs/ardour/monitor_processor.cc')
-rw-r--r-- | libs/ardour/monitor_processor.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc index a88de86ec1..f19ce908ec 100644 --- a/libs/ardour/monitor_processor.cc +++ b/libs/ardour/monitor_processor.cc @@ -301,8 +301,7 @@ MonitorProcessor::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t / if (target_gain != _channels[chn]->current_gain || target_gain != 1.0f) { - Amp::apply_gain (*b, nframes, _channels[chn]->current_gain, target_gain); - _channels[chn]->current_gain = target_gain; + _channels[chn]->current_gain = Amp::apply_gain (*b, _session.nominal_frame_rate(), nframes, _channels[chn]->current_gain, target_gain); } ++chn; |