# Nendo Plugin Classify Core
<br>
<p align="left">
<img src="https://okio.ai/docs/assets/nendo_core_logo.png" width="350" alt="nendo core">
</p>
<br>
---
![Documentation](https://img.shields.io/website/https/nendo.ai)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/okio_ai.svg?style=social&label=Follow%20%40okio_ai)](https://twitter.com/okio_ai) [![](https://dcbadge.vercel.app/api/server/XpkUsjwXTp?compact=true&style=flat)](https://discord.gg/XpkUsjwXTp)
Automatic music information retrieval (based on [essentia](https://essentia.upf.edu/)).
## Features
- Extract musical features from a `NendoTrack` or a `NendoCollection`
- Use descriptive features to filter, search and sort your library
- Extract rich features to annotate datasets for training custom models
## Installation
1. [Install nendo](https://github.com/okio-ai/nendo#installation)
2. `pip install nendo-plugin-classify-core`
## Usage
Take a look at a basic usage example below.
For more detailed information, please refer to the [documentation](https://okio.ai/docs/classify-core/advanced).
For more advanced examples, check out the examples folder.
or try it in colab:
<a target="_blank" href="https://colab.research.google.com/drive/1mmbjf0NfsF596p2zDWBDryuxvFYMGAzO?usp=sharing">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
```python
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
```
## Contributing
Visit our docs to learn all about how to contribute to Nendo: [Contributing](https://okio.ai/docs/contributing/)
## License
Nendo: MIT License
Essentia: Affero GPLv3 license
Raw data
{
"_id": null,
"home_page": "https://okio.ai",
"name": "nendo_plugin_classify_core",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<3.11",
"maintainer_email": "",
"keywords": "Nendo,Plugin,Audio,Generative,Music,Audio Production,Audio Analysis",
"author": "Felix Lorenz",
"author_email": "felix@okio.ai",
"download_url": "https://files.pythonhosted.org/packages/09/58/ee942dbfc7117a5d05eeac3d7abc98212ec6bdf4b81224408205cb018ed6/nendo_plugin_classify_core-0.2.0.tar.gz",
"platform": null,
"description": "# Nendo Plugin Classify Core\n\n<br>\n<p align=\"left\">\n <img src=\"https://okio.ai/docs/assets/nendo_core_logo.png\" width=\"350\" alt=\"nendo core\">\n</p>\n<br>\n\n---\n\n![Documentation](https://img.shields.io/website/https/nendo.ai)\n[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/okio_ai.svg?style=social&label=Follow%20%40okio_ai)](https://twitter.com/okio_ai) [![](https://dcbadge.vercel.app/api/server/XpkUsjwXTp?compact=true&style=flat)](https://discord.gg/XpkUsjwXTp)\n\nAutomatic music information retrieval (based on [essentia](https://essentia.upf.edu/)).\n\n## Features\n\n- Extract musical features from a `NendoTrack` or a `NendoCollection`\n- Use descriptive features to filter, search and sort your library\n- Extract rich features to annotate datasets for training custom models\n\n## Installation\n\n1. [Install nendo](https://github.com/okio-ai/nendo#installation)\n2. `pip install nendo-plugin-classify-core`\n\n## Usage\n\nTake a look at a basic usage example below.\nFor more detailed information, please refer to the [documentation](https://okio.ai/docs/classify-core/advanced).\n\nFor more advanced examples, check out the examples folder.\nor try it in colab:\n\n<a target=\"_blank\" href=\"https://colab.research.google.com/drive/1mmbjf0NfsF596p2zDWBDryuxvFYMGAzO?usp=sharing\">\n <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n</a>\n\n\n```python\nfrom nendo import Nendo, NendoConfig\n\nnd = Nendo(config=NendoConfig(plugins=[\"nendo_plugin_classify_core\"]))\n\ntrack = nd.library.add_track(file_path='/path/to/track.mp3')\n\ntrack = nd.plugins.classify_core(track=track)\n\ndata = track.get_plugin_data(plugin_name=\"nendo_plugin_classify_core\")\nprint(data)\n\ntracks_with_filtered_tempo = nd.library.filter_tracks(\n filters={\"tempo\": (170, 180)},\n plugin_names=[\"nendo_plugin_classify_core\"],\n)\n\nassert len(tracks_with_filtered_tempo) == 1\n```\n\n## Contributing\n\nVisit our docs to learn all about how to contribute to Nendo: [Contributing](https://okio.ai/docs/contributing/)\n\n## License\n\nNendo: MIT License\n\nEssentia: Affero GPLv3 license",
"bugtrack_url": null,
"license": "MIT",
"summary": "Nendo plugin for automatic music information retrieval.",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://okio.ai",
"Repository": "https://github.com/okio-ai/nendo_plugin_classify_core"
},
"split_keywords": [
"nendo",
"plugin",
"audio",
"generative",
"music",
"audio production",
"audio analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "809b9a371438a750ba96ae158ffd2b97988edb63bdbf155a17849399e616af36",
"md5": "e8c4ef177b8765be3790cafe56ae3e76",
"sha256": "99e506231838e8c1603b2205192b0bf5b6d23742870b18cf920a2b94b05a88b5"
},
"downloads": -1,
"filename": "nendo_plugin_classify_core-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e8c4ef177b8765be3790cafe56ae3e76",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<3.11",
"size": 10054,
"upload_time": "2023-12-28T09:29:12",
"upload_time_iso_8601": "2023-12-28T09:29:12.365259Z",
"url": "https://files.pythonhosted.org/packages/80/9b/9a371438a750ba96ae158ffd2b97988edb63bdbf155a17849399e616af36/nendo_plugin_classify_core-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0958ee942dbfc7117a5d05eeac3d7abc98212ec6bdf4b81224408205cb018ed6",
"md5": "7c3f336df37838002067191d68df2c86",
"sha256": "7931cc2f3ba2269d946abd191107d4a34ac503175bd6fd9ec80d4dd0b9d06a67"
},
"downloads": -1,
"filename": "nendo_plugin_classify_core-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "7c3f336df37838002067191d68df2c86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<3.11",
"size": 10706,
"upload_time": "2023-12-28T09:29:13",
"upload_time_iso_8601": "2023-12-28T09:29:13.715487Z",
"url": "https://files.pythonhosted.org/packages/09/58/ee942dbfc7117a5d05eeac3d7abc98212ec6bdf4b81224408205cb018ed6/nendo_plugin_classify_core-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-28 09:29:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "okio-ai",
"github_project": "nendo_plugin_classify_core",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nendo_plugin_classify_core"
}