Skip to content

neomoha/autovj

Repository files navigation

AutoVJ

Source code for the backend side of AutoVJ, a hack developed at the Music Tech Fest 2012

The hack automates the process of creating video grids for VJs (Video DJs), hence the name AutoVJ.

The idea is as follows: given a song, the hack first obtains its top genre (using Last.FM API), and then gets a list of the most representative instruments of that genre (using Wikipedia and DPBedia). Finally, for each instrument it obtains a youtube video (using google APIs) where the instrument is mentioned. You end up with a list of videos that you can then visualize as a grid in a wall or in a web page.

This repository only includes the backend part of the hack.

Install Dependencies

(preferably in a virtualenv)

Run: 'pip install -r requirements'

Example

An example python code (example.py) is included, which illustrates the whole process of getting a video for each one of the most representative instruments of a song's music genre

You can also use the scripts independently. For example:

  • Run 'python get_top_genre.py ARTIST_NAME SONG_TITLE' to get the genre of a song
  • Run 'python get_genre_instruments.py GENRE' to get the most representative instruments of the given genre
  • Run 'python get_tag_video.py TAG' to get the youtube video of a tag (a tag can be a genre, an intrument, etc.)

About

Backend of a tool that automates the process of creating a VJ session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages