ddf / Minim

A Java audio library, designed to be used with Processing.
http://code.compartmental.net/tools/minim
GNU Lesser General Public License v3.0
672 stars 137 forks source link

ClassNotFoundException: ddf.minim.Minim #117

Open Creativeguru97 opened 3 years ago

Creativeguru97 commented 3 years ago

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

Creativeguru97 commented 3 years ago

I just realized that I installed Processing itself on OneDrive.,. I assume that might be problematic. I'm gonna try to change the location and see what will happen.