Gizmo inside of Poly

realshafer's icon

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!

1966.gizmoinpoly.zip
zip
realshafer's icon

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

mudang's icon

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~.

1973.polygizmo.zip
zip
realshafer's icon

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