Wednesday 17 February 2010

Sound-Art



For this weeks experiments I used Processing together with the Ess library to make some art generated dynamically using sound. All of the pieces displayed use FFT to break up the sound into different frequencies and volume level to determine various aspects of the composition. The images presented are snapshots from the applet, which generates fluctuating and shifting imagery depending on the current sound being played.



All of the experiments were variations along the same theme and utilising the same data, however the compositions were altered by changing parameters such as shape primitive, colour, and position of the shapes, allowing them to be controlled by different aspects of the sound input for different effects. A certain degree of randomness was also involved in order to make the images a little more aesthetically interesting. These all take live input sound from the microphone so they are interactive pieces which can be played with and manipulated.



Complete Code-

import processing.video.*;
import krister.Ess.*;
FFT myFFT;
AudioInput myInput;
int bands = 64;

void setup(){

Ess.start(this);
myInput = new AudioInput(bands);
myFFT = new FFT(bands*2);
myFFT.equalizer(true);

myInput.start();
size(700, 500);
background(0);
rectMode(CORNER);
frameRate(4);

}

void draw(){

for(int i = 1; i < x =" myFFT.spectrum[i];">



No comments:

Post a Comment