Open Audio Player in Minimized State

edited July 2016 in Library Questions

I am brand new to Processing and need some help. I need my program to simply play an audio file which I have successfully completed using the minim library but I would like the audio player to open in a minimized state. Is this possible? My code is below.


import ddf.minim.*;

Minim minim;
AudioPlayer song;

void setup()
{
size(100, 100);

minim = new Minim(this);

// this loads mysong.wav from the data folder
song = minim.loadFile("audio_file.mp3");
song.play();
}

void draw()
{
background(0);
}


Tagged:
Sign In or Register to comment.