Skip to content

ClassNotFoundException: ddf.minim.Minim #117

Description

@Creativeguru97

I came across this error for few hours.
I've been using minim to play a soundfile in my sketch on Windows 10.
Until yesterday it just worked fine, but today I came across the error.

java.lang.NoClassDefFoundError: ddf/minim/Recordable
or sometime
ClassNotFoundException: ddf.minim.Minim
So I can't run the sketch.

Does Anybody has ever come across this issue here?

My code:

import ddf.minim.effects.*;
import ddf.minim.signals.*;
import ddf.minim.spi.*;
import ddf.minim.ugens.*;

Minim minim;
AudioSample audio;

void setup() {
minim = new Minim(this);
audio = minim.loadSample("greeting.wav", 2048);
}
void draw() {
}
void mousePressed() {
audio.trigger();
ellipse(mouseX, mouseY, 50, 50);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions