Skip to content

specify BPM range when analysing. #52

Description

@kayrozen

What problem would this solve?

Most of my stuff is DNB and often, analysis is all out of place at half or even a third of the BPM. Being able to set a range fixes ot most of the time.

Proposed solution

Be able to set a range (maybe an advanced section in add files ? ) or even just a global setting.

Alternatives considered

cry.

Hardware context

No hardware.

Before submitting

  • I searched existing issues for a similar request.
  • I understand Vynull is a hobby project with a deliberately narrow scope (a Linux Pro DJ Link source).

Activity

  1. kayrozen commented on Oct 4, 2026

    @kayrozen
    ContributorAuthor

    BTW, thank a lot for your work. it's nice to see finally something that i could dream to ditch rekordbox in the future. i keep a windows laptop just for it and it's sooo bloated.

  2. added
    acceptedBug report, enhancement, or feature request has been accepted
    on Oct 5, 2026
  3. vynulldev commented on Oct 5, 2026

    @vynulldev
    Owner

    Thank you! Yeah it's definitely configured more toward dance or trance music at the moment, but shouldn't be too hard to allow changing that. The analyzer applies a perceptual tempo prior, a soft preference centered on ~130 BPM, specifically to stop tracks locking onto a half or third tempo peak (a 124 track also "rings" at ~83, and the prior pulls it back up). That works for four-four house/trance, but for DnB it does the wrong thing: 174 is well above 130, so when the beat tracker finds a strong peak at the half (~87) or third (~58), the prior favors the slower one.

    The initial plan is to add a global tempo-range setting, something like --bpm-range 160-185 (and the same in the config file). It'll do two things: re-centres that prior on your range so fast tempos stop getting dragged down, and octave-folds the final BPM into the range you set, doubling/halving (and catching the thirds) until it lands where it belongs. Set 160-185 and a track detected at 87 or 58 comes back as 174. The default stays exactly as it is today, so this only changes anything for people who opt in.

    I'll do the global setting first because it fixes your whole library in one shot and it's a small, contained change.

    No firm ETA yet, but keep an eye on the branches, I'll try to push something soon! Thanks again!

  4. vynulldev commented on Oct 7, 2026

    @vynulldev
    Owner

    Hey @kayrozen I pushed a draft PR to open up the global BPM detection range. If you get a chance could you give it a shot? Let me know if your DnB tracks are detecting correctly. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedBug report, enhancement, or feature request has been acceptedenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions