Skip to content

Flag-Audio-Overlay is a program writting in python that basically overlay two audio files and merge them into one audio file.

Notifications You must be signed in to change notification settings

codeshoel/flag-audio-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOW TO INSTALL FLAG-AUDIO-OVERLAY

  • clone this repository: git clone https://github.com/codeshoel/audio-overlay.git

  • Create a virtual environment: python -m venv <venv_name>

  • Activate the virtual environment:

    • Windows: <venv_name>\Scripts\activate
    • Run this command to upgrade pip utilite: python -m pip install --upgrade pip

To Run the Script Smoothly you will need to install ffmpeg on your Operating System

  • Download FFmpeg for Windows from: FFmpeg download page

    Image 1

    • In the git master builds section, search for the latest version of the FFmpeg build and download the full build beacause it has the up-to-date libraries.

    Image 2

    • Extract the downloaded file using any file unziper utilite e.g WinRaR, 7-Zip.

    • Open the extracted folder and rename the child folder within the parent.

    Image 3

    • Move or copy the child folder to the root of the C drive or the folder of your choice. Image 4

    Add FFmpeg to PATH

    • Type system variables into the search bar and click the Edit the system environment variables option. Image 5

    • Under the User variables section, select Path and click the Edit button. Image 6

    • Click on New from the side menu. Image 7

    • Add C:\ffmpeg\bin to the empty field and confirm changes with OK Image 8

    • To verify FFmpeg Installation, use any among the commands below

      • Run: ffmpeg OR ffmpeg -version

      Image 9

To Run the script

  • Various folders and their purpose:

    • files: all audio track(mp3) to be converted should be placed within the files directory.
    • initial_files: Durring the covertion the original audio files that are converted successfully will be moved to the initial_files directory.
    • error_files: Durring the convertion all unconverted audio files will be moved to the error_files directory.
  • If everything went successfully copy the audio files you wish to merge(overlay) into the files directory and run main.py on the terminal where your virtual environment is activated:

    • py main.py

About

Flag-Audio-Overlay is a program writting in python that basically overlay two audio files and merge them into one audio file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages