From 50a6487e771f24803d82a1a1c6c3938448b07ae2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 15 Sep 2015 17:01:12 -0400 Subject: move speed quietning code into Delivery, where it belongs. Note: I find the -12dB reduction too much of a reduction. --- libs/ardour/delivery.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libs/ardour/delivery.cc') diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index bd07360340..5a4fbd3e1d 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -318,6 +318,14 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf goto out; } + // Speed quietning + + if (fabs (_session.transport_speed()) > 1.5 && Config->get_quieten_at_speed ()) { + Amp::apply_simple_gain (bufs, nframes, speed_quietning, false); + } + + // Panning + if (_panshell && !_panshell->bypassed() && _panshell->panner()) { // Use the panner to distribute audio to output port buffers -- cgit v1.2.3