{"id":27001862,"url":"https://github.com/theneodev/mdxnet","last_synced_at":"2025-04-04T04:27:54.912Z","repository":{"id":282823451,"uuid":"949766552","full_name":"TheNeodev/mdxnet","owner":"TheNeodev","description":"UVR using MDX Net","archived":false,"fork":false,"pushed_at":"2025-03-17T05:47:15.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T06:29:51.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheNeodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-17T05:25:34.000Z","updated_at":"2025-03-17T05:47:18.000Z","dependencies_parsed_at":"2025-03-17T06:40:47.889Z","dependency_job_id":null,"html_url":"https://github.com/TheNeodev/mdxnet","commit_stats":null,"previous_names":["theneodev/mdxnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNeodev%2Fmdxnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNeodev%2Fmdxnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNeodev%2Fmdxnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNeodev%2Fmdxnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheNeodev","download_url":"https://codeload.github.com/TheNeodev/mdxnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247121481,"owners_count":20887100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-04T04:27:54.405Z","updated_at":"2025-04-04T04:27:54.897Z","avatar_url":"https://github.com/TheNeodev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MDXNet  \n**Ultimate Vocal Remover powered by MDX Net**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Python Version](https://img.shields.io/badge/python-3.7%2B-blue.svg)](https://python.org)\n[![GitHub](https://img.shields.io/badge/GitHub-TheNeodev%2Fmdxnet-blue.svg)](https://github.com/TheNeodev/mdxnet)\n[![GitHub](https://img.shields.io/badge/GitHub-Original%20Owner%3A%20MDX%20NET-blue?logo=github\u0026style=flat-square\n)](https://github.com/kuielab/mdx-net)\n\n\n\n\nMDXNet is a high-quality vocal separation tool that uses the MDX Net architecture. It leverages GPU acceleration (when available) and multi-threaded processing to deliver fast and efficient separation of vocals from audio files.\n\n---\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Downloading Models](#downloading-models)\n- [Usage](#usage)\n  - [Python API](#python-api)\n- [Contributing](#contributing)\n- [License](#license)\n- [Acknowledgments](#acknowledgments)\n\n---\n\n## Features\n\n- **High-Quality Vocal Separation:** Utilizes MDX Net for precise separation.\n- **GPU Acceleration:** Automatically uses GPU if available.\n- **Multi-Threaded Processing:** Optimized for faster processing on multi-core systems.\n\n---\n\n## Installation\n\nInstall MDXNet directly from GitHub using pip:\n\n```sh\npip install git+https://github.com/TheNeodev/mdxnet.git\n```\n\nMake sure you have Python 3.7 or later installed.\n\n---\n\n## Downloading Models\n\nMDXNet requires pre-trained models to operate. Download the required models from the releases page:\n\n- **Model Repository:**  \n  [Download Models](https://github.com/TRvlvr/model_repo/releases/download/all_public_uvr_models/)\n\nAfter downloading, place the model file (e.g., `uvr_models.onnx`) in a directory of your choice, and update the model path accordingly in your configuration.\n\n---\n\n## Usage\n\nMDXNet can be used within your Python scripts.\n\n\n### Python API\n\nBelow is an example of how to use the Python API for vocal separation:\n\n```python\nfrom mdxnet import MDXProcessor\n\n# Define your model parameters\nmodel_params = {\n    # Customize model parameters here\n    # e.g., \"param1\": value, \"param2\": value,\n}\n\nif __name__ == \"__main__\":\n    # Initialize the processor with the model path and parameters.\n    processor = MDXProcessor(\n        model_path=\"./uvr_models.onnx\",  # Update this path to your downloaded model\n        model_params=model_params,\n        processor=0  # Set processor index (use 0 for CPU, or specify GPU device index)\n    )\n\n    # Process the audio file to separate vocals and instrumental tracks.\n    main_path, invert_path = processor.process(\n        input_path=\"./Test.mp3\",   # Path to the input audio file\n        output_dir=\"./output\",     # Output directory for the separated tracks\n        denoise=True,              # Enable denoising (set to False if not needed)\n        suffix=\"Vocals\",           # Suffix for the vocal track file\n        invert_suffix=\"Instrumental\"  # Suffix for the instrumental track file\n    )\n\n    print(f\"Separated vocals saved to: {main_path}\")\n    print(f\"Instrumental track saved to: {invert_path}\")\n```\n\n**Notes:**\n- Ensure the model file is correctly placed and the path is updated.\n- Customize the `model_params` dictionary based on your specific requirements.\n\n---\n\n## Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bugfix.\n3. Make your changes and commit them with clear messages.\n4. Submit a pull request detailing your changes.\n\nFor major changes, please open an issue first to discuss what you would like to change.\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## Acknowledgments\n\n- Thanks to the developers behind MDX Net/UVR for their groundbreaking work.\n- Special thanks to all contributors and the community for continuous support.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheneodev%2Fmdxnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheneodev%2Fmdxnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheneodev%2Fmdxnet/lists"}