Skip to content

HansiMcKlaus/UltraStarAutoPitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UltraStarAutoPitch

Automatically pitches timed lyrics for UltraStar Deluxe using SPICE.

Dependencies

Install python dependencies: pip install -r requirements.txt

This script requires ffmpeg.

  • Linux:

    • Debian/Ubuntu: sudo apt-get install ffmpeg
    • Arch: sudo pacman -S ffmpeg
  • macOS: homebrew install ffmpeg

  • Windows:

    1. Download ffmpeg
    2. Extract it into a folder, for example C:\FFmpeg
    3. Add the ffmpeg bin folder to your PATH Environment Variable.

    Here is a guide that explains the process in detail.

Usage

Open a command line and change into the directory where the program is located. It is easiest to simply copy the karaoke and audio file into the same directory, however not at all necessary.

To run the program: python main.py <Path to karaoke file> <Path to audio file>

Example: python main.py '.\Konomi Suzuki - Bursty Greedy Spider.txt' '.\Konomi Suzuki - Bursty Greedy Spider.mp3'

This creates a copy of Konomi Suzuki - Bursty Greedy Spider.txt called Konomi Suzuki - Bursty Greedy Spider_pitched.txt.

It is recommended to isolate the vocals as much as possible for better results. Either isolate the vocals using programs like Audacity via an instrumental version or use an online service like vocalremover.org to only use the vocal track of a song.

If SPICE couldn't confidently detect a pitch for a given syllable, it defaults back to 0 (C4). Please go through the file manually to correct errors and missing pitches.

Flags

-c, --confidence How confident the model has to be. Default: 0.65

-gpu, --gpu Use GPU instead of CPU. Default: False

About

Automatically pitches timed lyrics for UltraStar Deluxe using SPICE.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages