Giter Club home page Giter Club logo

youtubecommentstomusic's Introduction

YouTubeCommentsToMusic

Thank you to https://github.com/daviddeborin/88-Key-Virtual-Piano for his collection of piano notes.

Written over a couple of days, this program was made for entertainment and education. Presently, it has the following features:

  • See what people are talking about most for a given YouTube video by plotting word frequency distribution
  • See how positive or negative a video on YouTube is using simple sentiment analysis (Positive, Negative, Neutral)
  • Listen to YouTube comments based on their sentiment score.

Usage

No command-line argment parsing has been implemented, so you will have to open main.py, modify accordingly and then run it with python3 main.py You can change things like the video_id, the top n most frequent words to visualize, and the delay between each note being played. Lower pitch notes represent negative comments while higher pitch notes represent more positive notes. There are 88 piano keys and sentiment score can range from -1 to 1, "bins" have been created where their interval is 1/(88/2).

Make sure to add your YouTube/Google Developer key

youtubecommentstomusic's People

Contributors

rich2020 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.