CPJKU / onset_detection

Python implementation of the most common spectral based onset detection algorithms.
68 stars 15 forks source link

SyntaxError: Missing parentheses in call to 'print' #2

Closed hairullana closed 2 years ago

hairullana commented 2 years ago

image

File "onset_program.py", line 759 print args ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

superbock commented 2 years ago

This code is very old and thus not supported any more. It won't be ported to Python 3. However, you can fix this quite easily yourself by adding parentheses as indicated by the error message.

Most methods are implemented in madmom anyways, please refer to the madmom.features.onsets module.