triggerbox: use the appropriate audio tempo estimating function

This commit is contained in:
Paul Davis
2025-10-14 14:30:51 -06:00
parent 1a5f369bc7
commit 40f6859905

View File

@@ -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));