Madmom on Windows

154 views
Skip to first unread message

zsol...@gmail.com

unread,
Sep 8, 2017, 9:36:29 AM9/8/17
to madmom-users
Dear madmom users,

I would like to use the various beat tracking tools under Windows.

- I went through the Python setup process here ->

- "python setup.py install" seems to be running through nicely. 

- It copies over the binary scripts to the Miniconda2 folder in my user directory.

- Now how am supposed to start them?

- Using "python DBNDownBeatTracker -single path-to-wavefile -o path-to-analysis-file" gives me a bunch of errors.

C:\Users\zmarx\Miniconda2\Scripts>python DBNBeatTracker single "C:\Users\zmarx\Desktop\tracks\get-with-it.wav"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\zmarx\Miniconda2\lib\multiprocessing\forking.py", line 380, in main
Traceback (most recent call last):
    prepare(preparation_data)
  File "<string>", line 1, in <module>
  File "C:\Users\zmarx\Miniconda2\lib\multiprocessing\forking.py", line 503, in prepare
C:\Users\zmarx\Miniconda2\lib\site-packages\scipy\io\wavfile.py:273: WavFileWarning: Chunk (non-data) not understood, skipping it.
  WavFileWarning)
  File "C:\Users\zmarx\Miniconda2\lib\multiprocessing\forking.py", line 380, in main
Traceback (most recent call last):
      File "<string>", line 1, in <module>
file, path_name, etc = imp.find_module(main_name, dirs)
      File "C:\Users\zmarx\Miniconda2\lib\multiprocessing\forking.py", line 380, in main
ImportErrorTraceback (most recent call last):
:       File "<string>", line 1, in <module>
prepare(preparation_data)
Nprepare(preparation_data)
  File "C:\Users\zmarx\Miniconda2\lib\multiprocessing\forking.py", line 380, in main
Traceback (most recent call last):
o module named DBNBeatTracker  File "<string>", line 1,

etc...

Anyone knows what's going on there?

Many thanks in advance,
Zsolt Marx

 

Sebastian Böck

unread,
Sep 8, 2017, 2:22:28 PM9/8/17
to madmom-users
Unfortunately I can't test this, nor do I have a solution, since I don't have a Windows installation.

A quick search however indicates that Python/Windows might have problems with multiprocessing. Did you try to run it with a single thread, i.e. pass '-j 1' as an additional argument? Other than that I don't have any suggestions right now, sorry.

HTH
Reply all
Reply to author
Forward
0 new messages