Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : the constructor UGen.UGenInput() is unidentified

$
0
0
Yes, changing formatting of part of an URL breaks the URL...
And indeed, I had a quick look at the JavaDoc of Minim, the one shipped with Processing, since this has been posted in the Core Libraries section... and haven't found the class. Didn't felt like searching more, it is up to the OP to do the work, not to the helpers...

But since you did the work, datguy (thanks), I had a look.
We lack information and context, but I guess the OP (or Processing for him) made an import like:
import ddf.minim.ugens.UGen;
or
import ddf.minim.ugens.*;
instead of:
import ddf.minim.ugens.UGen.UGenInput;

In this case, one has to follow the syntax of the constructor given in the JavaDoc:
audio = new UGen.UGenInput();

Side note. I see Minim isn't following a tacit (non-official) "rule" of not using plural in package names. Looks odd.

Viewing all articles
Browse latest Browse all 1768

Trending Articles