Oh my. I don’t think the week could have started on a more playful note. The magical, mechanical Code Organ takes a website URL as an input, goes to work on the site’s content, and then spits out an instrumental track. Here’s the geek-speak:
The Codeorgan analyes the ‘body’ content of any web page and translates that content into music. The Codeorgan uses a complex algorithm to define the key, synth style and drum pattern most appropriate to the page content.
Firstly, the Code Organ scans the page contents and removes all characters not found in the musical scale (A to G), and then analyses the remaining characters to find the most commonly used “note”. If this is an even number the page is translated to the major pentatonic scale of that particular note, it becomes minor if there is an uneven number.
Secondly the Code Organ defines which synthesizer to use. This is based upon the total number of characters used on the webpage – there are currently 10 synthesizer effects and the one chosen is picked based upon the percentage of content.
Lastly the Code Organ selects a drum loop based on the ratio of characters on the page versus the number of characters that are actually musical notes – there are currently 10 different drum loops to pick from.