BeetsPluginBpmAnalyser icon indicating copy to clipboard operation
BeetsPluginBpmAnalyser copied to clipboard

BpmAnalyser not outputting BPM Values

Open OannesGPT opened this issue 1 year ago • 2 comments
trafficstars

Problem

Running your command in verbose (-vv) mode:

beet bpmanalyser --dry-run title:Tripura - Wizard Project

Led to this problem:

bpmanalyser: BpmAnalyser exec threads: 6
bpmanalyser: Done.

Setup

  • OS: W10
  • Python version: 3.13
  • Beets version: Latest
  • Turning off other plugins made problem go away (yes/no): no

My configuration (output of beet config) is:

directory: C:/Users/Hannes/Desktop/Test
library: C:/Users/Hannes/AppData/Roaming/beets/library.db
import:
  copy: yes
  write: yes
  move: no

plugins:
  - bpmanalyser

bpmanalyser:
  auto: no
  dry-run: no
  write: yes
  threads: "AUTO"
  force: no
  quiet: no

logging:
  level: DEBUG

My plugin version (output of beet bpmanalyser -v) is:

bpmanalyser: Bpm Analyser(beets-bpmanalyser) plugin for Beets: v1.5.9

OannesGPT avatar May 29 '24 14:05 OannesGPT

I added an import into the library manually now: "beet import "C:\Users\Hannes\Desktop\Test\Tripura - Wizard Project.mp3""

After which I had to go through a process of identifiying tags? I made my way through and tried running dry analysis again: "beet bpmanalyser --dry-run" After which I seem to have got it to process the first time, but with error:


bpmanalyser: BpmAnalyser exec threads: 6
bpmanalyser: Error(3221225477): Unknown error! Unparsable response.
bpmanalyser: Done.

Any help would be very appreciated. I tried multiple audio analysis tools with varying results but not reliable enough to count on for an entire library. It looks like this module does more accurate readings and I'm willing to try it out properly. Thank you all

OannesGPT avatar May 29 '24 15:05 OannesGPT

@OannesGPT - I will take a look. We need to get the raw response from the analysis so we can understand why it is not possible to parse. In the meanwhile you could do the following:

  • test with a few other audio files to see if the error is consistent
  • verify that audio is correctly installed

adamjakab avatar Jun 05 '24 08:06 adamjakab

Hi Adam,

Thanks for the plugin. I have been using it for years on an older version. I have a new system now though and am trying to get it working. I get the same errors as in this thread.

aubio 0.4.9 beets 2.3.1 beets-bpmanalyser 1.5.9

aubio does work properly. I have tried on several files.

eg: aubio tempo 01\ -\ Time\ To\ Relax.flac

135.80 bpm

tljohnsn avatar Jun 05 '25 10:06 tljohnsn

Happy to provide the raw response from the analysis but I'm not sure how to get it.

tljohnsn avatar Jun 05 '25 10:06 tljohnsn

I think it has to do with a newer python version. This worked for me:

pip3 install --break-system-packages standard-aifc standard-sunau

tljohnsn avatar Jun 05 '25 15:06 tljohnsn