Forums > MaxMSP

Gizmo inside of Poly

March 21, 2011 | 11:49 pm

Hi, I this is my first post here, but quite far from my first time on the forums. I’ve decided to register and ask a question because after exhaustively searching, I cannot find enough information to solve my problem. Here it is:

I am trying to implement many instances of gizmo in order to pitch shift. My CPU started to overload a bit after about 8 instances, so I put those 8 into a single pfft (attached file). This temporarily solved my problem. However, I need to increase the number of gizmos to around 16 and this single pfft is once again overloading my CPU.

So, I’ve attempted to package the gizmo object inside of a poly~ with 16 voices (attached zip file). However, I’ve been unable to get this to work.

Does anyone have any experience with this? Any suggestions (I’ve read the documentation on this quite extensively, but maybe you can point me to the most pertinent part)? Thank you very much in advance!

Attachments:
  1. gizmoinpoly.zip

March 24, 2011 | 9:22 pm

Sorry to bump this, but is this even possible? Thanks.


March 24, 2011 | 11:37 pm

It is in fact possible.
But you put the pfft~ inside the poly~, which will again generate 16 instances of pfft~.
If you have only one input signal it is most efficient to have one pfft~ and a poly~ inside. And you need to turn on poly’s multithreading (@parallel 1) to spread the workload across a multi-processor.

You might also want to turn off voices, which are not used, with the mute message to thispoly~.

Attachments:
  1. polygizmo.zip

March 27, 2011 | 8:48 pm

Mudang, that’s brilliant! Thanks for the example and explanation!


Viewing 4 posts - 1 through 4 (of 4 total)