Skip to content

Flask app that shows only rhythmic songs for sport using KNN algorithm

License

Notifications You must be signed in to change notification settings

Ori-Roza/SportPlayListSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SportPlayListSite

Flask app that shows only rhythmic songs for a sport playlist using KNN algorithm model.

Aubio Library has been used for analyzing Audio files. The BPM extractor is not that accurate. (That's why I've added data correction option)

KNN has been used for predict whether a song is rhythmic or not.

I took the example from: https://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/

Thanks for this tutorial!

How to use:

* add songs to /static/songs directory

* Run insert_new_audio.py for adding new audios

* Follow the script instructions (Using existing dataset or add data manually and train model

* run main.py for accessing the server

About

Flask app that shows only rhythmic songs for sport using KNN algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published