acessing a buffer at audio rate ?

    Feb 23 2006 | 8:28 pm

    • Feb 23 2006 | 8:41 pm
      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. Topher
    • Mar 01 2006 | 1:22 am
      It's possible that the code is deferring to the main thread, but I don't think so. Miguel, have you tried this out?
    • Mar 06 2006 | 3:21 am
      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.