transferring file from processing to arduino

Hello everyone;

I am very very new to all this stuff and i have a project to do. So basically i wrote a working code that plays music in processing and i need to transfer this code to arduino. Can you show me how to do?

The project is; air will be blown out from a tube and this will trigs the air pressure sensor (mpx2100ap) and music will start to play.

code in processing;

import processing.sound.* ;
int song;
SoundFile file;

void setup() {
size(640, 360);
background(255);

// Load a soundfile from the /data folder of the sketch and play it back
file = new SoundFile(this, "spirit.mp3");
file.play();
}

void draw() {
}

That is NOT trivial at all. For example, most Arduino's don't have real storage, no support for mp3 and can't drive a speaker.

Not saying it's impossible, but it will be a heck more learning todo :wink: