Wednesday, 10 December 2014

Music Machine 33 - Connected Exeter


As part of Connected Exeter my challenge was to convert a webpage into music:

Music Machines
What does a webpage sound like? 

"We will be using Raspberry Pi computers, python code and midi sound modules to convert data from webpages into music. The Raspberry Pi is a low cost, credit-card sized computer that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It has the ability to interact with the outside world, and has been used in a wide array of digital maker projects, from music machines and parent detectors to weather stations and tweeting birdhouses with infra-red cameras. If you have a midi module, keyboard or USB interface please bring it / them along. Saturday 10am-5pm, Sunday 10am-1pm"

On Saturday I was based at the Phoenix mostly in the black box but in the auditorium later on. On Sunday I was at the CCI building at Exeter College.

I used a Raspberry Pi connected to a usb midi interface connected to a Roland PMA-5.

I used python's urllib library to read a webpage (in this case the Connected Exeter page),
and then convert the characters into numbers.

The numbers were added to a list that was used to generate music within certain parameters. The list contained over 20000 numbers.

The first piece uses the numbers in the order they are read played back one after the other with a delay of 0.1 second between each note using the piano sound from the midi module.








The second piece produces chords from the notes rather than a stream of single notes. The computer chooses how many notes will be in each chord (a choice from 1 to 6). There is also the option to not play a chord at all but remain silent. The volume and position in the stereo field of each note of the chord is decided by taking a number chosen from the list. The delay between each chord is also decided by taking a number from the list. There is a chance that some notes from the chord will be sustained.








The third piece is similar to the second but with the delay between each event shortened.







The fourth piece is similar to the third but uses the list to generate the sound for each note
rather then using solely the piano.







The fifth piece uses the principles already established but uses only one sound,
in this case one that is capable of sounding continously rather than fading away.







The sixth piece returns to the piano sound and shortens the delay in between each event.







The seventh piece uses percussive sounds.






The eighth piece uses the piano sound but here the delay between events is much shorter
and the stereo field reflects how a piano sounds, in other words low notes are heard from the left and high notes from the right.





Music Machine 32 - Damage Limitation

Music Machine 32 was written for a performance of Emma Welton's Damage Limitation at the Bike Shed Theatre in Exeter.


Programme notes for Damage Limitation:

This piece of music for improvising ensemble is inspired by the number 565 gigatonnes. This is the amount of carbon dioxide scientists say we can release into the atmosphere to stand a reasonable chance of limiting global warming to 2 degrees Celsius.
Musicians are permitted to play no more than 565 notes, collectively. They have strictly 7 minutes to create and perform the piece: 2 minutes to agree on a plan and then 5 minutes to carry it out as a musical performance. It is also important to know that the amount of carbon already contained in the proven coal, oil and gas reserves of fossil-fuel companies is 2,795 gigatonnes, and the value of this carbon is already liquid in the global economy - ie, it has effectively already been burned. Damage Limitation was first performed by the Get Rich Quick and Scratch Festival Orchestra at Exeter Phoenix on 19th March 2014 as part of the Vibraphonic Festival.

I played my casio digital horn through a midi module and wrote a short prgoramme in python that played a given number of notes within the preset parameters of the score. The other instruments involved included double basses, percussion, tuning fork, voice, accordion, violin and synthesizer.
Damage Limitation Score:

Music Machine 29 - Sonoroties Festival

Music Machine 29 was one of the pieces chosen to be played on a continuous loop in the 8 channel surround studio during the Sonoroties festival of contemporary music 2014. The annual festival takes place at the Sonic Arts Research Centre at Queen's University, Belfast. The theme of the festival was remembering & forgetting.

Programme notes for Music Machine 29

Music Machine 29 - 6’00” 2ch

Music Machine 29 is computer generated, it consists of two parts and works in the following way. The first part plays a C major scale (both ascending and descending) and arpeggio. The second part remembers each note that the first part plays and stores them in a list. It will then choose a note from that list to play back simultaneously with the first part. Occasionally the programme will delete (forget) some notes from the list and then start remembering again. There is also the chance that notes will be sustained allowing chords to build up.

Although for this event the piece was prerecorded it can also be played live using a midi wind controller, raspberry pi and midi module.

Listen to Music Machine 29




Music Machine 31 - 60x60 Surround Sound Mix

Music Machine 31 forms part of an hour long piece curated by Hans Tammen for Vox Novus:


60×60 is a one-hour-long show made by sequencing 60 pre-recorded pieces by 60 different composers, each piece a minute in length or shorter. A unique collaboration between VoxNovus / Robert Voisey and Harvestworks in New York City to create a 5.1 surround sound mix, this 60×60 presentation will be premiered at Harvestworks’ multichannel TEAMLab listening room

It was first perfomed at Harvestworks in New York on May 16th 2014 and later at the Jack Straw New Media Gallery in Seatle on 29th October 2014.

Programme notes for Music Machine 31

Music Machine 31 consists of eight voices and each voice is a variant of the 60 x 60  variable. The primary voice that is heard from start to finish plays 1 middle C note per  second; a total of 60 and the midi equivalent of middle C is 60. The other parts are 15 x Eb1 (midi note 15), 30 x F#0 (midi note 30), 45 x A1 (midi note 45), 75 x Eb4 (midi note 75), 
90 x F#5 (midi note (90), 105 x A6 (midi note 105) and 120 x C8 (midi note 120). All parts move in a clockwise direction around the four speakers.