GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ChatSam/beatRoot_MC: Dynamic music curation based on biometric data

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
Datasets/final_spectrograms
Datasets/final_spectrograms
 
 
Preprocessed_data
Preprocessed_data
 
 
Test_data
Test_data
 
 
beatRootPlayer
beatRootPlayer
 
 
imgs
imgs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
create_spectrograms.py
create_spectrograms.py
 
 
preprocessing.py
preprocessing.py
 
 
prototype.ipynb
prototype.ipynb
 
 
prototype_final_source_only.ipynb
prototype_final_source_only.ipynb
 
 
requirements.txt
requirements.txt
 
 
song_analysis.ipynb
song_analysis.ipynb
 
 

Repository files navigation

beatRoot_MC

beatRootLogo

Beatroot is a music player that can create dynamic music playlists based on bio-metric data such as Heart Rate. Given a target activity (i.e excercise, study) and given a reference song a user prefers, the music player will create a playlist that suits the target activity. The heart rate is used to measure the user's 'mood' to see if it matches the target activity. If the perceived mood does not match the target activity, the player will recurate the playlist real time to achieve the desired mood for the target activity.

beatRoot Intro image

How to run it

  1. Create a Spotify Developer account and create an app. see gettting started with Web API

  2. Set the following environment variables for ID and Secret obtained from the spotify developer dashboard. see - App

    export SPOTIFY_ID="your_spotify_id"
    export SPOTIFY_SECRET="your_spotify_secret"
  3. Run the following command

        python ./beatRootPlayer/beatRoot.py

Architecture

beatRoot Architecture

Song matching

To match seed songs which have similar 'feel' to the song a user prefers employs several steps.

  1. A song dataset is collected
  2. Songs are converted to Mel Spectrograms
  3. The Mel Spectrograms are passed through a CNN that has been pre-trained on Song Genre classifications
  4. Song embeddings are extracted from the CNNs
  5. Embeddings are used to locate the seed songs

beatRoot MelSpectrogram

sample mel spectrogram of a song extracted using Librosa

Team

  1. Music player and Heart reate sensor development: Austin Copley
  2. Song matching research and development
    • Chatura Samarasinghe
    • YeJoon Jung

About

Dynamic music curation based on biometric data

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.