From 40f685990582fe5339d280deb28bd45fb785e826 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 14 Oct 2025 14:30:51 -0600 Subject: [PATCH] triggerbox: use the appropriate audio tempo estimating function --- libs/ardour/triggerbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index cbea9cd66b..a5195b6214 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1776,7 +1776,7 @@ void AudioTrigger::estimate_tempo () { double beatcount; - ARDOUR::estimate_audio_tempo (_region, data[0], data.length, _box.session().sample_rate(), _estimated_tempo, _meter, beatcount); + ARDOUR::estimate_audio_tempo_region (_region, data[0], data.length, _box.session().sample_rate(), _estimated_tempo, _meter, beatcount); /* initialize our follow_length to match the beatcnt ... user can later change this value to have the clip end sooner or later than its data length */ set_follow_length(Temporal::BBT_Offset( 0, rint(beatcount), 0));