Error message when using Minim

edited June 2016 in Library Questions

Hello,

I'm writing a program that has a sound effect play when an image pops up on screen. The code appears to be working but I get the following error message in my command window at the bottom of the IDE.

==== JavaSound Minim Error ====
==== Don't know the ID3 code PRIV

What exactly is causing this error? Here is my code. Thanks in advance for any help.

import java.io.*;
import ddf.minim.*;

Minim minim;
AudioPlayer tick;

String codeword;
PImage [] bground;

int i = 0;  //This variabe will be used to change the background images
int k = 0;  //This variable loads in the different images
int n = 4;  //The number of images for the background that we need
long bgroundtimer = 0;

void setup(){
  size(700, 500);
  background(0);
  bground = new PImage[n];
  for(k = 0; k < bground.length; k++){
    bground[k] = loadImage("C:/Users/Steven/Documents/Processing/My Saves/Word_Clock_Final/Background/bground" + k + ".png");
  }
  minim = new Minim(this);
  tick = minim.loadFile("C:/Steven/Processing/Tick.mp3");
}

void draw(){
   if(i < bground.length){
     image(bground[i], 0, 0);
     if(millis() - bgroundtimer >= 5000){
       bgroundtimer = millis();
       tick.play();
       tick.rewind();
       i++;
    }
  }
}
Tagged:

Answers

  • Answer ✓

    that's not an error, it's a warning. you can ignore it

    (there is an mp3 tag that is doesn't understand - PRIV)

  • Excellent, thanks for clearing that up.

Sign In or Register to comment.