Skip to content

Twitter bot that listens to music in appropriate situations

Notifications You must be signed in to change notification settings

hatkirby/cadence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cadence

cadence is a Twitter bot that says things about random songs based on their characteristics.

The data that cadence uses to characterize songs comes from the AcousticBrainz project. AcousticBrainz does not currently have an API that would facilitate randomly picking a song, so this bot uses a specially generated datafile that allows it to both randomly choose a song, and identify the type of song it is. Included in this respository is the source of a generator program that can create this datafile from a dump of the AcousticBrainz database.

cadence depends on yaml-cpp to read configuration data from a file, SQLite3 to read a datafile, and my own library libtwitter++ to post to Twitter.

The canonical bot, @songchoicebot, uses the categorization of random songs in order to say things that are ill-fitted to describe the song.

About

Twitter bot that listens to music in appropriate situations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages