GitHub - omeryusufyagcifast-music-remover: A C based, lightweight music and noise remover for YouTube and other internet media, using DeepFilterNet for audio enhancement.

GitHub - omeryusufyagcifast-music-remover: A C based, lightweight music and noise remover for YouTube and other internet media, using DeepFilterNet for audio enhancement.

Visit Site

Based on the provided specification, I will attempt to recreate the content in a format that is easier to read and understand.

Getting Started with Fast Music Remover

Fast Music Remover is a Python-based project that uses Flask as its web framework. It provides a simple interface for users to upload audio files and remove unwanted sounds from them.

Installing Dependencies

To get started, you need to install the required dependencies. These include:

  • docker (for running Docker containers)
  • docker-compose (for building and running Docker containers)
  • pip (for installing Python packages)

You can install these dependencies using the following commands:

# Install Docker and Docker Compose
sudo apt-get update && sudo apt-get install docker.io docker-compose

# Install pip
python3 -m ensurepip

Compiling the Media Processor (C++)

The media processor is a C++ binary that performs the actual audio processing. To compile it, you need to:

  1. Navigate to the MediaProcessor directory:

cd media_processor

2.  Create a build directory and navigate into it:
    ```bash
mkdir build
cd build
  1. Run CMake and compile the binary:

cmake .. make


### Running the Backend Server

To run the backend server, you need to:

1.  Navigate back to the project root directory:
    ```bash
cd ..
  1. Start the backend server using Docker:

docker-compose up --build


This will start a Flask server on port 8080.

### Testing the Backend Server

To test the backend server, you can visit `http://localhost:8080` in your web browser. You should see a simple interface that allows you to upload an audio file and remove unwanted sounds from it.

**Using Docker**

If you prefer to use Docker, you can pull the prebuilt image using the following command:

```bash
docker pull ghcr.io/omeryusufyagci/fast-music-remover:latest

You can then run the container using the following command:

docker run -p 8080:8080 ghcr.io/omeryusufyagci/fast-music-remover:latest

This will start a Flask server on port 8080.

Manual Installation

To install Fast Music Remover manually, you need to follow these steps:

  1. Install the required dependencies:

pip install -r requirements.txt

2.  Compile the media processor (C++):
    ```
cmake ..
make

Contributing

Fast Music Remover is open-source software released under the MIT license. If you'd like to contribute, please see the CONTRIBUTING file for more information.

License

Fast Music Remover is licensed under the MIT license. This license allows users to freely use, modify, and distribute the software as they see fit.