buffer~ in mxj~
I’ve been going through the documentation and I’ve been going through
the JAR but couldn’t figure this out: how do I access a named buffer~
from within mxj~? From the discussion on the list I’m not even sure
it’s possible right now?? My purpose is to load up a couple of files
in buffers, have them quickly resized in mxj~ where I do onset-
detection, normalizing and making sure they start at a zero crossing,
and after this initialization I play with them in Max/MSP.
did you look at the MSPBuffer java doc?
public class MSPBuffer
Provides static methods that get and set buffer data. created on 9-
I looked at it, but I must have been very tired. ;-) I guess I
expected to find something like a constructor MSPBuffer(String
bufferName) and then access it that way and then misunderstood how it
worked. Thanks for pointing me back to it. :-)
On Sep 1, 2007, at 1:51 AM, topher lafata wrote:
> did you look at the MSPBuffer java doc?
> Class MSPBuffer
> public class MSPBuffer
> extends java.lang.Object
> Provides static methods that get and set buffer data. created on 9-
I know this is really old but can somebody show me the basic code to peek a Buffer object? I’m just confused how to access it without constructing an MSPBuffer object like Niklas’ last comment. I think I must be missing something. Is it something like the following because it’s not working:
float mypeek = MSPBuffer.peek("Buckets");
Do I need to create a new class that extends MSPBuffer? Just really confused about this.
Hi Tommy, can’t give a definite answer on this – however I would recommend viewing the source of [mxj buf.Op] I managed to hack something together from that.
Thanks Mike, I will dig into that!
Forums > Java