[Stk] problems implementing polyphony...

Gary Scavone gary at ccrma.Stanford.EDU
Mon Sep 17 06:56:06 PDT 2012


Hi Patrick,

I think we need to find a profiler that can tell us where the bottleneck is with the FM classes.  The tricky issue might be that the problem doesn't show up using the simulator (according to Rumi), so we might then then have to revert to a trial-and-error approach.  The first think to try would be replacing the vectors of pointers with a simple array of pointers (in FM.h).

Regards,

--gary

On 2012-09-17, at 12:35 AM, "Patrick J. Collins" <patrick at collinatorstudios.com> wrote:

>> Try Voicer with a simple synth like Simple or Plucked and I think you'll see that it works
>> great.
> 
> Wow, you are right..  Polyphony works fine in my game as soon as I
> switched to Simple and Plucked...
> 
> That is a huge shame because I really, really, really wanted to feature
> FM synthesis as the "sound" for my app.
> 
>> Interesting.  HevyMetl is an FM class, which should not burden the CPU
>> in any way.  There must be something happening in the FM class that
>> doesn't work well in iOS … perhaps the use of the c++ vector class to
>> hold the ADSR and FileLoop pointers?
> 
> Gary, since you don't have an iPad, is there any chance you'd be up for
> doing some pairing on my system sometime via screen sharing software
> like TeamViewer to try to get to the bottom of this?
> 
> Thanks.
> 
> Patrick J. Collins
> http://collinatorstudios.com




More information about the Stk mailing list