This repo contains code samples for capturing audio as a recorded file on Android devices. This is often part of an application that captures audio such as user-generated content and then uses the Dolby.io Media APIs to analyze, transcode, and enhance the resulting file.
Following the instructions of Recording audio on Android with examples , this project will evaluate the use of MediaRecorder, MediaPlayer, AudioRecord, and AudioTrack frameworks in Java in comparison with other audio capture and playback options.
After cloning this project, open it in Android Studio to test and experiment with different configurations. You'll likely need a physical device, as the emulator can't record audio.
As part of enabling Dolby.io's audio processing capabilities, you would need to sign up for a Dolby.io account. Use of the Dolby.io Media APIs is based on minutes of audio processed with a generous monthly credit to experiment with.
Make sure you have your API key ready and Android Studio installed on your computer. This project will also require a physical Android device or an emulator to run the app.
In the case any bugs occur, report it using Github issues, and we will see to it.
We welcome your interest in trying to experiment with our repos.
If there are any suggestions or if you would like to deliver any positive notes, feel free to open an issue and let us know!
For a deeper dive, we welcome you to review the following:
- Media Enhance API
- Getting Started with Enhance API
- API Reference
- How We Produce "The Back Pass" Podcast with Dolby.io Enhance
- Video Transcoding: Why is it Important in the Modern Video Landscape?
- Blog Session - Media API
Using decades of Dolby's research in sight and sound technology, Dolby.io provides APIs to integrate real-time streaming, voice & video communications, and file-based media processing into your applications. Sign up for a free account to get started building the next generation of immersive, interactive, and social apps.