Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Open Audio Player in Minimized State

$
0
0

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);
}



Viewing all articles
Browse latest Browse all 2896

Trending Articles