Coder Social home page Coder Social logo

audio-features-visualizer's Introduction

Audio-Features-Visualizer

This is a short Jupyter notebook script that visualizes the audio features for an album, as described by Spotify. While they provide many data points in their audio features analysis, the five I chose to highlight are danceability, energy, acousticness, instrumentalness, and valence (described her: https://developer.spotify.com/documentation/web-api/reference/tracks/get-audio-features/). The data is collected using the Spotify Web API (in this case accessed through the Spotipy wrapper), stored/cleaned in Pandas, then displayed using Plotly & ipywidgets.

The code can be easily previewed here in the .py script, but to actually run the program, you must open the .ipynb file in a Jupyter notebook. All you have to do is paste the Spotify URI for the album you want to analyze (which you can find using the Spotify desktop app) into the corresponding field then run the script (be sure to shift+enter the code blocks sequentially). You can view data for the whole album or for the individual tracks using the dropdown menu, which will live update the graph. To see data for another album just change the album URI field and rerun the script.

audio-features-visualizer's People

Contributors

indabasszone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.