Skip to content

google colab project to identify the original soundtracks used in the anime Gintama (planning to extend to other animes also)

License

Notifications You must be signed in to change notification settings

pj-mathematician/gintama-ost-recognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gintama-ost-recognizer

google colab project to identify the original soundtracks used in the anime Gintama (planning to extend to other animes also)

how it works

Theres a package called kurby that downloads an episode in .mp4 format which is then converted into .wav using ffmpeg

The vocals from the .wav are removed using 2 deep learning vocal-removers : https://github.com/tsurumeso/vocal-remover and https://github.com/Anjok07/ultimatevocalremovergui and i get an mp3 file with all vocals removed with only the bg music and some noise

The vocal removed mp3 is split into chunks based on silence in between to get all the different tracks used in an ep and saved in a folder using pydub

the analysing and matching of the audio is done by fingerprinting based on audfprint i made a ~500mb database of fingerprints of all the osts, and now i iterate through the chunk folder and match every file

All i have to do now is export the results of each chunk characterized by its time stamp

info

It takes the code atleast 1 hour to analyse a single episode so it will take me some days to generate a complete table of all 367+2 episodes.

Feel free to contact me by opening an issue here or on discord @PJ#1234

About

google colab project to identify the original soundtracks used in the anime Gintama (planning to extend to other animes also)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published