This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!


Already subscribed? Sign In


30% off

1 Year Pro Membership

Make a Twitter Audio Bot That Composes a Song Based on a Tweet

Make a Twitter Audio Bot That Composes a Song Based on a Tweet - In the final bot lesson, we'll compose a ditty based on a tweet, save it as an audio file, and post it to Twitter. Because Twitter only supports uploading audio in video form, we'll learn how to create a video from the MIDI file and post it to Twitter. This is a longer video since we are going over how to create this pipeline from scratch.

For more Natural Language Processing, see the course on Natural:

We'll use RiTa to tokenize the text of a tweet and find the parts of speech:

We'll use Jsmidigen to compose a tune in a MIDI format:

We'll also use FFMPEG, which will help us create a video from our audio and a picture:

And we'll use TiMidity to convert our MIDI file to a Wav file:

You can use any image in place of the black image used in this video.

Please take a moment to tell your friends:

You must be a PRO Member to view code