[Stk] problems implementing polyphony...

Rumi Humphrey rumi at refresh.vu
Fri Sep 14 06:01:20 PDT 2012


Hi,

In my projects I am using Voicer successfully on iOS for polyphony, my guess is that you are using an instrument that is too cpu intensive or maybe on that is too floating point heavy or something, i'm not exactly sure what it is that kills the device but I just tested that HeavyMtl instrument and it perform poorly with Voicer and crashed, i could barely run it with only on voice actually. A lot of these classes were not designed for mobile per say and there are several Instrument classes that I haven't been able to use because of performance issues. On the other hand there are several that work quite well.

Try Voicer with a simple synth like Simple or Plucked and I think you'll see that it works great.

If you happen to figure out what it is in HeavyMtl that causes the crash please share it, maybe it's the loading of the 4 wavs although I think Mandolin works with Voicer on IOS and has even more WAVs loaded, don't quote me on that though it's been a while since I tested all the Instrument classes on iOS to see which ones were performant enough to use as is...

Good luck,
Rumi



On Sep 14, 2012, at 3:23 AM, Patrick J. Collins wrote:

> Well, I've been at it for many hours, and am beyond frustrated-- just
> getting no where...
> 
> I've stepped through the entire process of playing a 2nd note, and it
> really makes no sense..  It seems like I can step through the code fine,
> it eventually returns back to my game code, but-- if I just attempt to
> play two tones at once, both my iPad and XCode completely freeze up, and
> I have to reboot my iPad, and force quit xcode.  If I call
> voicer->silence() prior to noteOn, everything is fine.. It's just as
> soon as I try to play two notes simultanouesly, everything dies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20120914/a1bc2dc2/attachment.html 


More information about the Stk mailing list