Skip to content

alyssa-k528/MostMountainousTroll

Repository files navigation

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:

  1. clone the repo and then open it in vscode
  2. make sure all the necessary libraries are downloaded
  3. go into index.html and press Open with live server
  4. press on Record Note and sing
  5. the frontend was unable to be connected to the backend due to time constraints
  6. so you must add the Recording.wav into the github repo manually, replacing the one already there
  7. paste in ffmpeg -i Recording.wav -acodec pcm_s16le -ar 44100 -ac 1 output.wavinto the terminal
  8. go into the app.py and run the program either through the play button or through typing python3 app.py or python app.py depending on your python version
  9. in another new terminal, run python3 send_request.py. DO NOT TERMINATE THE APP.PY TERMINAL
    (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 the pitch_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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors