I think it might be possible if you make an mxj~ object and do the
MSPBuffer calls from within
your perform routine. Not sure what the issues might be though. Ben??
Look in the java-doc directory for mxj~ examples.
I was able to do what i wanted. I just used MSPObject.poke or MSPObject.peek in the perform method and I increased an index variable (which stores where I'm currently reading/writing in the buffer) each time mxj~ calls perform(). The MSPObject methods are static, which means that you don't need to create an object, just call the methods directly through MSPObject.something(...,...,..) and one of the arguments is the buffer name.