Summary

In this chapter, we looked at three different methods for recording audio on Android. Each of them comes with their own plusses and minuses. Using the built-in sound recorder is great for no-fuss audio recordings, where little or no programmatic control is needed. Using the MediaRecorder allows us to take it a step further, allowing control over the length of time media is recorded and other aspects but leaving the interface up to us. Last we investigated the ability to record raw samples with AudioRecord. Using this we have the most control and flexibility but have to do the most work in order to capture and work with the audio.

In the next chapter, we'll look more at audio possibilities, investigating audio processing and synthesis. ...

Get Pro Android Media: Developing Graphics, Music, Video, and Rich Media Apps for Smartphones and Tablets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.