This is the new version of the original “Sound Psycho 100” that I did previously. I experimented with more loops and designs to try to create a cleaner feel to the piece. It shows a more sound theme to it with the additions and changes which I have made.

(Quality Dropped due to file size constraints)

import ddf.minim.*;

import ddf.minim.analysis.*;

Minim minim;

AudioPlayer song;

BeatDetect beat;

FFT fft;

float r;

float g;

float b;

// ——-

float Mob;

float X;

float Y;

float a;

// ——-

float h;

float w;

void setup(){

size(720,300);

minim = new Minim(this);

song = minim.loadFile(“Mob Psycho 100 Opening Cover (Instrumental) [YellowExxhy].mp3”, 1024);

song.play();

beat = new BeatDetect();

fft = new FFT(song.bufferSize(), song.sampleRate() );

}

void draw(){

background(255);

// Flashing Lines ———–

beat.detect(song.mix);

if (beat.isOnset() ){

X = random(width);

Y = random(height);

strokeWeight(1);

stroke(0,0,255);

// Left and Right

for(int H = 0; H <= height; H = H + 100){

line(0,H,X,Y);

line(width,H,X,Y);

}

// Top and Bottom

for(int W = 0; W <= width; W = W + 100){

line(W,0,X,Y);

line(W,height,X,Y);

}

strokeWeight(2);

stroke(0,191,255);

// Lefta and Right 2

for(int H = 0; H <= height; H = H + 100){

line(0,H,X-20,Y+20);

line(width,H,X-20,Y+20);

}

// Top and Bottom 2

for(int W = 0; W <= width; W = W + 100){

line(W,0,X-20,Y+20);

line(W,height,X-20,Y+20);

}

}

// Right Art Form ————————

stroke(0,random(255),random(255));

strokeWeight(3);

noFill();

for (float i = 1; i <= width; i *= 1.1){

ellipse(width,i,i*1.05,i*1.025);

}

// Referenced from Jason’s code ———-

fft.forward(song.mix);

r = random(255);

g = random(255);

b = random(255);

strokeWeight(10);

stroke(0,g,b);

for(int i = 0; i < fft.specSize(); i = i+12){

line(i, height, i, height – fft.getBand(i)*20);

}

fft.forward(song.mix);

r = random(255);

g = random(255);

b = random(255);

noStroke();

fill(0,g,b);

for(int i = 250; i < fft.specSize(); i = i+5){

rect(i, 0, i, 0 + fft.getBand(i)*10);

}

}