Automatic audio loop extraction.
- Automatically find loopable sections in a
NendoTrack
- Automate your sample digging process
Due to madmom
versions < 0.17 errors with python 3.10, we require the latest version of the package from git, where this is fixed. See also this related issue.
Run:
pip install git+https://github.com/CPJKU/madmom.git@0551aa8
- Install Nendo
pip install nendo-plugin-loopify
Take a look at a basic usage example below. For more detailed information, please refer to the documentation.
For more advanced examples, check out the examples folder. or try it in colab:
from nendo import Nendo, NendoConfig
nd = Nendo(config=NendoConfig(plugins=["nendo_plugin_loopify"]))
track = nd.library.add_track(file_path='/path/to/track.mp3')
generated_loops = nd.plugins.loopify(
track=track,
n_loops=4,
beats_per_loop=8
)
generated_loops[0].loop()
Visit our docs to learn all about how to contribute to Nendo: Contributing
Nendo: MIT License
Madmom: BSD License
Pretrained models: The weights are released under the CC-BY-NC 4.0 license