mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
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.
This commit is contained in:
parent
528f945ba3
commit
83519faffb
5 changed files with 72 additions and 84 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue