0
0

A newbie at FMOD, but seasoned at ObjC and audio, I have been investigating audio for an iPhone app and come to a halt with what seems to be a config issue.

I have created a new dsp instance, of type osc, but can hear aliasing when going above 12k. Further reading on these forums pointed me to the method of geting the systemFormat to then setFrequency of the channel. It appears that the getSystemFormat is returning 24000 as the system samplerate.

My question is: is this the current limit in the iPhone OS version of FMOD?

  • You must to post comments
0
0

By default for iPhone FMOD will operate at a sample rate of 24K, this is to reduce overhead. You can of course change this to what ever rate you desire, however be aware that it will cost more CPU time to process.

The function you require is System::setSoftwareFormat to specify the sample rate, you set this before System::init.

  • You must to post comments
0
0

Many thanks Mattew, that has sorted my Aliasing issue.

What do you suggest I read to be able to view an overview of the FMOD API?

Cheers

  • You must to post comments
0
0

No problem, I suggest you take a look at the help CHM file in the documentation directory. You will need a CHM viewer if you are on your Mac, we use xCHM as it is free. In the docs file there are a number of tutorials that go through the basics of using FMOD and how everything fits together. There is also full API docs there as well.

Also I would recommend playing around with some of the example programs to get an idea of some of the things you can do. If you have any further questions please feel free to ask away here on the forums.

  • You must to post comments
0
0

Thank you Mathew, I had not realised the CHM was indeed the docs – my apologies.

I have been reading it in detail today and am very excited at your audio engine.

Cheers.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.