Let's make some noise with Android
summary
A quick four‑step demo builds a tiny bird‑sound app that actually plays, showing concrete code for MediaPlayer vs ExoPlayer and when one is too heavyweight. The session lists SoundPool, MediaRecorder, AudioTrack/AudioRecord, MediaSession + MediaBrowserService for background control, and explains audio focus handling with transient/ducking examples. It dives into lower layers via OpenSL ES and SuperPowered, and notes MIDI support and noticeably improved latency since Marshmallow.
AI-written summary · about
chapters (29)
- 0:00Intro
- 0:36Noise generator: Yannick Lemin
- 2:15So let's make a fart app...
- 2:56Add a button to the layout
- 3:13Recording
- 3:34Step 3.5 - Drop the file in the project
- 3:52Step 4.1 - MediaPlayer
- 5:57Step 4 - Play the Media
- 6:08Step 4.2 - ExoPlayer
- 9:24Step 4.3 - SoundPool
- 11:52MediaRecorder
- 12:28To play it back
- 13:12AudioFocus
- 14:31You need a listener
- 17:162. Request the focus ... API = 26
- 18:00Content Type and Usage
- 18:36Abandon when you're done
- 20:08MediaSession
- 21:17MediaBrowser Service
- 24:05AudioTrack API 26
- 24:33AudioTrack usage
- 25:46Audio Record
- 26:37AudioEffect
- 27:22Effect Usage
- 28:24Standard
- 29:41Alternative SDK
- 30:58Last but not least
- 31:52How does it work
- 33:29On Android
related talks
26mUnderstanding and Implementing Audio on Android
16mUnderstanding and Implementing Audio on Android
35mControlling Android Sound
44mBuild Your Own Relaxation Audio App
39mBuilding feature-rich media apps with ExoPlayer
48mIt's all Fun & Games on Android
23mAdvanced ExoPlayer
18mPresenting a high-quality media experience for all users
