VIDEO SUBMISSION LINK: https://youtu.be/8CZFrzpXfHU
Team Name: The trollies
Group Members: Francise Ferrer - ffa21@sfu.ca Anne Jiao - aja107@sfu.ca Alyssa Kou - aka272@sfu.ca Lauren Yip - lya85@sfu.ca
Project Description: website that takes user voice input, and extracts their vocal range, and gives them their ideal karaoke song based on pitch.
Git Repo: https://github.com/alyssa-k528/MostMountainousTroll
How to get the Project Started:
- clone the repo and then open it in vscode
- make sure all the necessary libraries are downloaded
- go into index.html and press
Open with live server - press on
Record Noteand sing - the frontend was unable to be connected to the backend due to time constraints
- so you must add the
Recording.wavinto the github repo manually, replacing the one already there - paste in
ffmpeg -i Recording.wav -acodec pcm_s16le -ar 44100 -ac 1 output.wavinto the terminal - go into the
app.pyand run the program either through the play button or through typingpython3 app.pyorpython app.pydepending on your python version - in another new terminal, run
python3 send_request.py. DO NOT TERMINATE THEAPP.PYTERMINAL
(FYI: the send_request.py is currently buggy, but previously it did work on a inputted .wav file, as can be seen by the data in thepitch_analysis_result.json:
{
"pitches": {
"average_pitch": 715.7707580192802,
"highest_pitch": 500.0,
"lowest_pitch": 200.91373062133789
}
}
so right now the .wav file you have imported in is not currently being analyzed, but once the send_request.py is fixed, it would be able to extract your pitch data and analyze it against the list of songs we have)
10. then in the terminal running app.py, you would be able to see the output song, artist, and song URL that best fits the pitch of your voice.
11. tadaaaa! great job!