Ultra simple game audio engine for iOS. The most useful features in one box.
- Music fade in/out.
- Cross-fade between two music tracks (you can also make a smooth transition between two loops)
- Playing multiple sounds simultaneously.
- Setting relative volume for specific sounds.
- Pause, resume and loop music.
- Optimal memory usage.
- Preloading music and sounds for best performance.
- You can look for other features in api.
- SoundMaster class.
- Example iPhone project.
- Drag SoundMaster folder to your project.
- Add AVFoundation framework to your project’s target.
- Import «SoundMaster.h» to use engine.
For best results use .caf files. You can convert your music files to .caf format using afconvert utility.
For background music (mono):
afconvert -f caff -d aac -c 1 {input_file_name} {output_file_name}.caf
For background music (stereo):
afconvert -f caff -d aac {input_file_name} {output_file_name}.caf
For sound effects (mono):
afconvert -f caff -d ima4 -c 1 {input_file_name} {output_file_name}.caf
For sound effects (stereo):
afconvert -f caff -d ima4 {input_file_name} {output_file_name}.caf
Please inform us about bugs or ideas in Issues.
Made for one mobile application project by J-Lab. Questions please write to: [email protected].