views:

17

answers:

1

Hello,

I'm currently developing an application for iPhone and I would like to play a sound when the user touch a button.

When I use a .mp3 audio file, the sound plays on the simulator but won't on the device. When I use a .tif audio file, it plays on both of them, but the quality isn't really good.

So my question is, is it possible that my .mp3 isn't compressed in a good way ? How should I encode it to make it work on my device too ? How to encode my mp3s in .tif with no quality loss ? (and without taking too much disk space)

Thanks in advance.

A: 

I think u use .aac format then it's decrease disk spaces,and u only increase the volume of the player. if u specify using player then i help more about that.

Arun Sharma
You can't increase the volume of a `SystemSound`; this answer is just confusing to anyone other than those who already know about `AVAudioPlayer`.
iWasRobbed