[jsyn] can't construct SynthMixer

jsyn at music.columbia.edu jsyn at music.columbia.edu
Mon Jun 28 02:01:31 EDT 2004


Hi Tim

I bet you did not call Synth.startEngine() before creating a new object 
of this type.

Nick Didkovsky


jsyn at music.columbia.edu wrote:

>Hello list,
>I'm having trouble getting SynthMixer to instantiate - have I missed something here?...
>
>in my declarations:
>SynthMixer synthMixer;
>
>in my class's constructor:
>synthMixer= new SynthMixer(numInputs, 1);
>		
>when I run it:	
>java.lang.NullPointerException
>	at com.softsynth.jsyn.SynthObject.<init>(SynthObject.java:25)
>	at com.softsynth.jsyn.SynthSound.<init>(SynthSound.java:25)
>	at com.softsynth.jsyn.SynthCircuit.<init>(SynthCircuit.java:27)
>	at com.softsynth.jsyn.SynthCircuit.<init>(SynthCircuit.java:36)
>	at com.softsynth.jsyn.SynthCircuit.<init>(SynthCircuit.java:44)
>	at com.softsynth.jsyn.SynthMixer.<init>(SynthMixer.java:35)
>
>thanks for any hints
>tim
>	
>_______________________________________________
>JSyn mailing list
>JSyn at music.columbia.edu
>http://music.columbia.edu/mailman/listinfo/jsyn
>  
>



More information about the JSyn mailing list