Nendo plugin for automatic music information retrieval.
Project description
Nendo Plugin Classify Core
Automatic music information retrieval (based on essentia).
Features
- Extract musical features from a
NendoTrackor aNendoCollection - Use descriptive features to filter, search and sort your library
- Extract rich features to annotate datasets for training custom models
Installation
-
pip install nendo-plugin-classify-coreNote: Installing this plugin together with another nendo plugin that uses
essentia, you are likely to run into the runtime errorError: module 'essentia.standard' has no attribute 'TensorflowPredictEffnetDiscogs'. See the corresponding entry in the troubleshooting guide below for instructions on how to fix this issue.
Usage
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_classify_core"]))
track = nd.library.add_track(file_path='/path/to/track.mp3')
track = nd.plugins.classify_core(track=track)
data = track.get_plugin_data(plugin_name="nendo_plugin_classify_core")
print(data)
tracks_with_filtered_tempo = nd.library.filter_tracks(
filters={"tempo": (170, 180)},
plugin_names=["nendo_plugin_classify_core"],
)
assert len(tracks_with_filtered_tempo) == 1
Troubleshooting
Essentia can't find the embedding model
When I try to run the plugin, I get the following error:
Failed to import plugin 'nendo_plugin_classify_core'. Error: module 'essentia.standard' has no attribute 'TensorflowPredictEffnetDiscogs'
This is due to the fact that you have essentia and essentia-tensorflow installed at the same time, possibly because you installed another nendo plugin that uses essentia, like e.g. nendo_plugin_quantize_core. The fix in this case is to reinstall essentia, this time only installing the essentia-tensorflow package:
pip uninstall -y essentia essentia-tensorflow
pip install essentia-tensorflow
Contributing
Visit our docs to learn all about how to contribute to Nendo: Contributing
License
Nendo: MIT License
Essentia: Affero GPLv3 license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nendo_plugin_classify_core-0.2.11.tar.gz.
File metadata
- Download URL: nendo_plugin_classify_core-0.2.11.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.16 Linux/6.6.20_1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c02e6b7eb3aecb0256ed16808428938ac39e3c0a52660175615cf759492afb4
|
|
| MD5 |
ebf8eb0181d6447d4e4da818e9133367
|
|
| BLAKE2b-256 |
5110b4cb7286280f415581dbcfc60c836c9731828b18bb5b0d4583baa1d25b18
|
File details
Details for the file nendo_plugin_classify_core-0.2.11-py3-none-any.whl.
File metadata
- Download URL: nendo_plugin_classify_core-0.2.11-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.16 Linux/6.6.20_1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4ff0d08065ba885bf7f1391eb02571df5cbacf6335bcc6c3349ff0425adeea
|
|
| MD5 |
26f087322c673d2169e8d84344bb7f49
|
|
| BLAKE2b-256 |
5697c6a3b9a76052ee3d64d53934389e05036bf138a38172bcb868a897812ad6
|