Re: FM Synthesis for iOS
Re: FM Synthesis for iOS
- Subject: Re: FM Synthesis for iOS
- From: Richard Dobson <email@hidden>
- Date: Tue, 12 Mar 2013 10:28:02 +0000
On 12/03/2013 05:56, Patrick J. Collins wrote:
Hi everyone,
I am currently making an iPad/iPhone game, and I really want FM
synthesis for my sound effects. I thought I could get away with using
STK and Momu, but it turns out the library is completely incompatible
with iOS devices; when I try setup two voices and attempt to play
polyphony, the entire app freezes. I thought at first it was crashing
and could possibly debug it-- but it turns out it just slows down to the
point of not functioning at all... However if I just use one voice,
then it works perfectly fine-- unfortunately, that's not an option for
my app.. I need multiple voices.
Have you set up the "Voicer" class to manage the polyphony? I found STK
worked fine (pre Momu days) (v 4.4.2 onwards) when built as a static
library without the STK audio classes, generating multiple voices
algorithmically, and with whatever iOS THUMB mode was required to
support floating-point (and using Apple's standard example code to
convert to fixed-point or whatever output - been while since I looked
at my code). Otherwise, it may be some issue between the GUI control and
the audio engine. STK/Momu is (so we are told) the workhorse engine
for all Smule's apps, and I am pretty sure they have some polyphonic
ones, so I recommend perseverance!
Richard Dobson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden