Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Library Providing High Performance Background Audio Playback (Flac, Mp3, More)

  •  
  •  
  •  
  •  
  •  

Audio is a topic that has come up several times on this site, and previously I mentioned the excellent Novacaine audio processing library.

Today I came across a great library simplifying playback of audio files (including flac files!) with low resource consumption, and everything running in the background called the Origami engine.

The OrigamiEngine can play .MP3, .Flac, .Wav, and .M4a files along with other audio formats supported by Core Audio.  It can also handle .Cue, and .M3U playlists.

The features as listed on the readme include:

– Ligthweight: 300kb compiled, 1.2mb with libFLAC
– Small memory foorprint: no more than 2.5mb for the flac files
– Low resource consumption: about 14% CPU usage for FLAC on ipod 4g
– All operations in background with GCD
– Event-based (using dispatch sources and CoreData async api)
– Provides full audio metadata (vorbis, id3 tags) with embeeded cover images
– HTTP data caching
– Tested (currently about 85% code coverage)

You can find the OrigamiEngine from Arthur Estifeev on Github here.

Flac playback is definitely a feature sought out by audiophiles so if you ever decided to create a music player be sure to remember this library.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments