TwittMus - Tweet to Midi Conversion
Track any word or hashtag into Twitter and have each tweet converted into MIDI, or musical information, that is sent to a port on your computer which can then be read by any program reading MIDI information via that port number.
You can download this repository directly from GitHub and place the files where you want to run the program from.
TwittMus uses the Tweepy library to execute to scan for and stream tweets to the program. You must also install the Tweepy module. See available instructions on how to install here.
3. Obtaining Twitter Access
API authentication is required. Twitter doesn't like anonymous people taking their stuff, so you will need to get special credentials by creating your own app using a Twitter acccount you have accces to. This allow you to fill in the values assigned to the variables ckey, csecret, atoken, and asecret to the file. You can create an using your Twitter account here.
3. Opening up a port to receive MIDI
There are number of ways to accomplish this. Refer to Ableton's guide for Mac and Windows here
TwittMus requires one more module to send MIDI information to the desired port. You can find and install it here.
TwittMus is programmatically set to play the notes assigned to each character in a one-by-one fashion. See the code's comments to learn where you can edit parameters to create your own parameters.