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?
- tdc asked 7 years ago
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.
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.
Please login first to submit.