audacity / audacity/audacity

When importing a non-looped rhythmical audio file, Audacity tries to detect its tempo

Open
#5,855 0 comments 0 reactions 1 assignee Claimed by @saintmatthieu View on GitHub
AU3-bug Music
Dominant language
C++
Stars
18.4k
Forks
2.7k
Avg merge
3d 1h
Merged PRs (30d)
78

Description

### Bug description

_No response_

### Steps to reproduce

1. take [this loop of 78 bpm](https://www.dropbox.com/scl/fi/jarjq2jo22365jejvzbqp/bb_drum_break_loop_brooklyn1_78.wav?rlkey=nt9g6tug4kkczr2iywfxm4bzu&dl=0) as a source
2. trim it by about 1/16 from the right (so that it looks smth[ like this](https://www.dropbox.com/scl/fi/pkp5l5i012x1viyw1f4f4/cut-off-loop.wav?rlkey=v59ce3mada9peqziy4jthxyhw&dl=0)
3. import that file into Audacity
4. observe

### Expected behavior

Tempo isn't detected, Music Import dialog doesn't show up.

### Actual behavior

The Music Import dialog pops up, and the tempo is detected as 104 bpm

image

### Audacity Version

other

### Operating system

Other

### Additional context

Discovered while testing https://github.com/audacity/audacity/pull/5791

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.