CPJKU / madmom

Python audio and music signal processing library
https://madmom.readthedocs.io
Other
1.36k stars 206 forks source link

Start BeatTracker without Command line arguments #538

Open Jarris81 opened 5 months ago

Jarris81 commented 5 months ago

I have been trying to run the BeatTracker in my own class, so that I can can call a callback function whenever it detects a beat. However I cannot get it running without the command line argument "online"

Is there a way to get it running without command line arguments?

I have tried setting online to default in the parser, but nothing works.

I appreciate any help

superbock commented 5 months ago

This is not possible, as all CLI programs require a 'mode', i.e. online, single or batch. It is not entirely clear to me, what you want to accomplish, but to get help on the CLI arguments, please call any program with --help, with specific help for each mode after the mode selector e.g. BeatTracker online --help or BeatTracker --help.