Listen to Twitter is a Python2 web application that allows you to convert the sentiment of any topic into a unique musical melody in real-time. The happier the general discussion, the higher the pitch of each note; the more tweets there are, the faster the notes play.
A live version is available at listentotwitter.com.
The application has the following Python dependencies, which can be installed via pip:
- flask-socketio==0.4.0
- textblob
- tweepy
- Flask==0.10.1
- gevent==1.1b4
If you'd like to setup your own copy of the application, following these instructions:
- Install the above Python dependencies.
- Clone the repository.
- Copy
listentotwitter/config.py.default
tolistentotwitter/config.py
. - Edit the
TWITTER_*
variables inlistentotwitter/config.py
with your Twitter API keys. - Edit the
HTTP_*
variables inlistentotwitter/config.py
with the host and port that the web server should bind to. - Run
python runserver.py
. - The web server should now be running and accessible from your web browser.
Initially created by Mustafa Al-Bassam, Mark Ormesher, Fares Alaboud and Kristin Kasavetova as Noisy Tweets at MLH Launch Hack.