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

Minim audio library setup

$
0
0

Hello, I'm working with Processing 3.0.1. I've installed for my sketch the audio library Minim v 2.2.2

When i do a very simple test to check that the library works well, i always have the same error : The constructor Minim(Minim) is undefined.

Here's my code :

import ddf.minim.*;

Minim minim;
// AudioSnippet bellSound;

void setup()
{ 
  minim = new Minim(this);
  
 // bellSound = minim.loadSnippet("bells.mp3");
 // bellSound.play();
  
  while (!keyPressed)
  {
  //  bellSound.close();
  //  minim.stop();
  }
}

void draw()
{
}

Any suggestion ? I followed carefully the quick start guide @code.compartmental.net, i don't understand what's wrong !?


Viewing all articles
Browse latest Browse all 2896

Trending Articles