--- title: Loop Maestro emoji: 🔁 colorFrom: gray colorTo: gray sdk: docker pinned: false license: mit short_description: Upload a song, detect beats and bars, then loop any part --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference ## Run locally ``` python app.py ``` open in browser: http://localhost:5000/ ## Todo's - Save loop to file - Custom Bar fix (half time, double time, time measure, force constant tempo/time measure) - Add custom labels to bars (intro, chorus1) - Implement cancel - highlight loop section in bar list + higlight current played bar - adjust available choice buttons on tempo and time signature - alternative loop sections selection based on labeled bars (then click bar in list will not change start loop section, but current played bar) - share the same audio context in AudioStretchPlayer as in BeatDetectorApp (SR fixed on 44100). And avoid needless endcode / decode for the audio buffer