musicgeneration
================
`musicgeneration` is a Python package designed for generating music using deep learning models. It provides tools to create, manipulate, and export musical compositions with ease, catering to musicians, researchers, and developers alike.
Features
--------
- 🎼 **Music Generation:** Generate music from scratch or based on given styles.
- 🎛️ **Model Integration:** Compatible with various pre-trained music models.
- 🎹 **MIDI Support:** Import and export music in MIDI format.
- 🧠 **AI-Powered:** Leverages cutting-edge models like Transformer and LSTM.
- ⚙️ **User-Friendly API:** Simple API for quick and flexible music generation.
Installation
------------
Install the package via pip:
.. code-block:: bash
pip install musicgeneration
Quick Start
-----------
Here's an example of how you can generate music with just a few lines of code:
.. code-block:: python
from musicgeneration import MusicGenerator
# Initialize generator
generator = MusicGenerator(model='transformer')
# Generate a 30-second classical music piece
music = generator.generate(duration=30, style='classical')
# Save the composition as a MIDI file
music.save('generated_music.mid')
Applications
------------
- Music composition and prototyping
- AI-generated background music
- Educational tools for music theory
- Research in computational creativity
License
-------
Licensed under the MIT License.
Raw data
{
"_id": null,
"home_page": "https://github.com/BohdanKulynych/audiogenerationapp",
"name": "musicgeneration",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "deep learning, AI, neural networks, tensorflow, audio, LTSMintroduction",
"author": "Bohdan Kulynych",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/87/d3/5ba4211ff0458dedc6395ce99f90cacbc4a3769a321c120ae4853a93c4b4/musicgeneration-0.12.tar.gz",
"platform": null,
"description": "musicgeneration\n================\n\n`musicgeneration` is a Python package designed for generating music using deep learning models. It provides tools to create, manipulate, and export musical compositions with ease, catering to musicians, researchers, and developers alike.\n\nFeatures\n--------\n- \ud83c\udfbc **Music Generation:** Generate music from scratch or based on given styles.\n- \ud83c\udf9b\ufe0f **Model Integration:** Compatible with various pre-trained music models.\n- \ud83c\udfb9 **MIDI Support:** Import and export music in MIDI format.\n- \ud83e\udde0 **AI-Powered:** Leverages cutting-edge models like Transformer and LSTM.\n- \u2699\ufe0f **User-Friendly API:** Simple API for quick and flexible music generation.\n\nInstallation\n------------\nInstall the package via pip:\n\n.. code-block:: bash\n\n pip install musicgeneration\n\nQuick Start\n-----------\nHere's an example of how you can generate music with just a few lines of code:\n\n.. code-block:: python\n\n from musicgeneration import MusicGenerator\n\n # Initialize generator\n generator = MusicGenerator(model='transformer')\n\n # Generate a 30-second classical music piece\n music = generator.generate(duration=30, style='classical')\n\n # Save the composition as a MIDI file\n music.save('generated_music.mid')\n\nApplications\n------------\n- Music composition and prototyping\n- AI-generated background music\n- Educational tools for music theory\n- Research in computational creativity\n\nLicense\n-------\nLicensed under the MIT License.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package for generating music with deep learning CNN LTSM model.",
"version": "0.12",
"project_urls": {
"Homepage": "https://github.com/BohdanKulynych/audiogenerationapp"
},
"split_keywords": [
"deep learning",
" ai",
" neural networks",
" tensorflow",
" audio",
" ltsmintroduction"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "2f3f6179e947c68f721ddbf04abcb1e6f08aea2829c2a99f131c45ae280013e7",
"md5": "1835d7c68cd20e59c58fb3841b9eec82",
"sha256": "43a04276b94de2c7508145b0ec7ec6cb050263d2e3927f682e7a185e59a2f9f0"
},
"downloads": -1,
"filename": "musicgeneration-0.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1835d7c68cd20e59c58fb3841b9eec82",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 85484,
"upload_time": "2025-02-14T00:03:07",
"upload_time_iso_8601": "2025-02-14T00:03:07.233345Z",
"url": "https://files.pythonhosted.org/packages/2f/3f/6179e947c68f721ddbf04abcb1e6f08aea2829c2a99f131c45ae280013e7/musicgeneration-0.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "87d35ba4211ff0458dedc6395ce99f90cacbc4a3769a321c120ae4853a93c4b4",
"md5": "8971d8ac8d778a690f5fc15c949f2f2f",
"sha256": "29e01d3c008da3fa00b622a47022f199f84ef0a3701fade43b16c5bba63779f4"
},
"downloads": -1,
"filename": "musicgeneration-0.12.tar.gz",
"has_sig": false,
"md5_digest": "8971d8ac8d778a690f5fc15c949f2f2f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 82500,
"upload_time": "2025-02-14T00:03:09",
"upload_time_iso_8601": "2025-02-14T00:03:09.305982Z",
"url": "https://files.pythonhosted.org/packages/87/d3/5ba4211ff0458dedc6395ce99f90cacbc4a3769a321c120ae4853a93c4b4/musicgeneration-0.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-14 00:03:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BohdanKulynych",
"github_project": "audiogenerationapp",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "absl-py",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "astunparse",
"specs": [
[
"==",
"1.6.3"
]
]
},
{
"name": "backcall",
"specs": [
[
"==",
"0.2.0"
]
]
},
{
"name": "cached-property",
"specs": [
[
"==",
"1.5.2"
]
]
},
{
"name": "cachetools",
"specs": [
[
"==",
"4.2.4"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2021.10.8"
]
]
},
{
"name": "chardet",
"specs": [
[
"==",
"4.0.0"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"2.0.9"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.0.3"
]
]
},
{
"name": "cloudpickle",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "colorama",
"specs": [
[
"==",
"0.4.4"
]
]
},
{
"name": "cycler",
"specs": [
[
"==",
"0.11.0"
]
]
},
{
"name": "decorator",
"specs": [
[
"==",
"5.1.0"
]
]
},
{
"name": "Flask",
"specs": [
[
"==",
"2.0.2"
]
]
},
{
"name": "flatbuffers",
"specs": [
[
"==",
"2.0"
]
]
},
{
"name": "fonttools",
"specs": [
[
"==",
"4.28.4"
]
]
},
{
"name": "gast",
"specs": [
[
"==",
"0.4.0"
]
]
},
{
"name": "google-auth",
"specs": [
[
"==",
"2.3.3"
]
]
},
{
"name": "google-auth-oauthlib",
"specs": [
[
"==",
"0.4.6"
]
]
},
{
"name": "google-pasta",
"specs": [
[
"==",
"0.2.0"
]
]
},
{
"name": "grpcio",
"specs": [
[
"==",
"1.43.0"
]
]
},
{
"name": "gym",
"specs": [
[
"==",
"0.21.0"
]
]
},
{
"name": "h5py",
"specs": [
[
"==",
"3.6.0"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.3"
]
]
},
{
"name": "importlib-metadata",
"specs": [
[
"==",
"4.9.0"
]
]
},
{
"name": "ipython",
"specs": [
[
"==",
"7.30.1"
]
]
},
{
"name": "itsdangerous",
"specs": [
[
"==",
"2.0.1"
]
]
},
{
"name": "jedi",
"specs": [
[
"==",
"0.18.1"
]
]
},
{
"name": "Jinja2",
"specs": [
[
"==",
"3.0.3"
]
]
},
{
"name": "joblib",
"specs": [
[
"==",
"1.1.0"
]
]
},
{
"name": "jsonpickle",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "keras",
"specs": [
[
"==",
"2.9.0"
]
]
},
{
"name": "Keras-Preprocessing",
"specs": [
[
"==",
"1.1.2"
]
]
},
{
"name": "kiwisolver",
"specs": [
[
"==",
"1.3.2"
]
]
},
{
"name": "libclang",
"specs": [
[
"==",
"12.0.0"
]
]
},
{
"name": "Markdown",
"specs": [
[
"==",
"3.3.6"
]
]
},
{
"name": "MarkupSafe",
"specs": [
[
"==",
"2.0.1"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"==",
"3.5.1"
]
]
},
{
"name": "matplotlib-inline",
"specs": [
[
"==",
"0.1.3"
]
]
},
{
"name": "more-itertools",
"specs": [
[
"==",
"8.12.0"
]
]
},
{
"name": "musicgeneration",
"specs": [
[
"==",
"0.10.3"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.21.4"
]
]
},
{
"name": "oauthlib",
"specs": [
[
"==",
"3.1.1"
]
]
},
{
"name": "opt-einsum",
"specs": [
[
"==",
"3.3.0"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"21.3"
]
]
},
{
"name": "parso",
"specs": [
[
"==",
"0.8.3"
]
]
},
{
"name": "pexpect",
"specs": [
[
"==",
"4.8.0"
]
]
},
{
"name": "pickleshare",
"specs": [
[
"==",
"0.7.5"
]
]
},
{
"name": "Pillow",
"specs": [
[
"==",
"8.4.0"
]
]
},
{
"name": "prompt-toolkit",
"specs": [
[
"==",
"3.0.24"
]
]
},
{
"name": "protobuf",
"specs": [
[
"==",
"3.19.1"
]
]
},
{
"name": "ptyprocess",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "pyasn1",
"specs": [
[
"==",
"0.4.8"
]
]
},
{
"name": "pyasn1-modules",
"specs": [
[
"==",
"0.2.8"
]
]
},
{
"name": "Pygments",
"specs": [
[
"==",
"2.10.0"
]
]
},
{
"name": "pyparsing",
"specs": [
[
"==",
"3.0.6"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "regex",
"specs": [
[
"==",
"2021.11.10"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.26.0"
]
]
},
{
"name": "requests-oauthlib",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "rsa",
"specs": [
[
"==",
"4.8"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "tensorboard",
"specs": [
[
"==",
"2.8.0"
]
]
},
{
"name": "tensorboard-data-server",
"specs": [
[
"==",
"0.6.1"
]
]
},
{
"name": "tensorboard-plugin-wit",
"specs": [
[
"==",
"1.8.0"
]
]
},
{
"name": "tensorflow",
"specs": [
[
"==",
"2.8.0"
]
]
},
{
"name": "tensorflow-estimator",
"specs": [
[
"==",
"2.7.0"
]
]
},
{
"name": "tensorflow-io-gcs-filesystem",
"specs": [
[
"==",
"0.23.1"
]
]
},
{
"name": "termcolor",
"specs": [
[
"==",
"1.1.0"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.62.3"
]
]
},
{
"name": "traitlets",
"specs": [
[
"==",
"5.1.1"
]
]
},
{
"name": "typing-extensions",
"specs": [
[
"==",
"4.0.1"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"1.26.7"
]
]
},
{
"name": "wcwidth",
"specs": [
[
"==",
"0.2.5"
]
]
},
{
"name": "webcolors",
"specs": [
[
"==",
"1.11.1"
]
]
},
{
"name": "Werkzeug",
"specs": [
[
"==",
"2.0.2"
]
]
},
{
"name": "wrapt",
"specs": [
[
"==",
"1.13.3"
]
]
},
{
"name": "zipp",
"specs": [
[
"==",
"3.6.0"
]
]
},
{
"name": "dnspython",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "pymongo",
"specs": [
[
"==",
"4.0.1"
]
]
}
],
"lcname": "musicgeneration"
}