I was hoping someone could help debug my MAx/MSP/Jitter patch...
Thanks for helping! This instument is comprised of 32 sine waves, each of which moves indepentently. The sine waves are all overtones of the lowest sine. I'm trying to represent each overtone (sine wave) with a gl sphere. Each sphere takes x, y, and z values from the same numbers that govern each sine wave's panning, frequency, and amplitude respectively. I'm really just trying to visually represent what is going on musically. Originally, I was using 32 instances of gl.gridshape. The animation was working well, but my framerate was quite low (~10-15fps) on a very fast machine. With the advice of Andrew, I converted the patch so that it uses only 1 gridshape object in combination with a matrix. I believe I've assembled the patch correctly, as I can see my 32 spheres moving (very choppy) through space. However, I must have gotten off track somewhere because now, my whole system bottoms out, with nearly 0fps and frequent crashing. I've really tried to debug this thing myself, but I just can't figure it out. Any thoughts/advice are GREATLY appreciated!
Oh, by the way...Andrew's patch from Jitter recipes Book 1, patch 1, runs perfectly on this machine...~100fps with 10 dim (10 spheres), ~75fps with 32 dim.
The attached folder contains all patches necessary...the .mxb you'll want is Instrument1.mxb (and possibly Instrument1-no video.mxb).
I really do appreciate your help with this...this is my first experience with Max/MSP, and with Jitter...I value your experience and expertise.