I’m just starting out with FMOD – specifically the MusicSystem, that i’d like to use for an interactive music-composition tool for the iPhone. I have a couple of questions; The most important one; how do I improve on the latency when beginning a theme by activating a cue? I’m trying to have several concurrent themes running at once, beat synced – but there’s a very noticeable lag when i’m testing it out now – and thats with only one theme running… So, if anyone can give some hints on how (if) I can improve that, I’d be very gratefull!
EDIT: Let me add, that i’ve tried to start off with a "loadSoundData", which didn’t help latency noticably. Also, the delay/latency is present even in the Designer app (both with my samples – but also some of the samples in examples.fev). BTW; i’ve also tried triggering the themes with "promptCue" – but nothing happens; not with my test bank or the sample (example.fev) one. If I load the banks in the musicplayer tool and press the "prompt" button, it doesn’t work there either…. But I don’t know if "prompting" has less latency than "beginCue"?!
Another thing; i’ve had a hard time finding the API docmentation (the Designer docs are fine, btw), and have for now gotten by, by inspeting the iPhone code samples. Is there anything more…. substantial anywhere, that I just haven’t found?
best regards to you all
- popgoblin asked 9 years ago
Is this a completely insane or n00b question with obvious answers…?
…or no answers 😉 ?
Edit:For anyone who might want to now; I just found out how to read the fmodex.chm files on my MAC (and they look very nice, BTW – cudos!). I downloaded "archmock" from here, and its a good CHM reader, it seems.
Still looking for ways to minimize latency when starting themes with cues in the musicsystem… its quite annoying… maybe I just need to construct my own sync system?
- popgoblin answered 9 years ago
It sounds like the latency is due to the music system’s beat syncing logic. Could you send your project to email@example.com so we can see how it’s set up?
Also, using promptCue has the same latency as beginCue. promptCue is intended to be used for flourishes; it basically does a beginCue followed immediately by an endCue.
- Guest answered 9 years ago
Please login first to submit.