~/talk

Visualizing the Human Voice

TalkinJapaneseat DroidKaigi 2022 · 2022-10-05..10-07· [android, data-visualization]
links:none on file
slides:none on file

Shows how to capture, render and visualize human voice on Android using AudioRecord for real‑time input and AudioTrack for low‑latency playback, with concrete settings (PCM 16‑bit, 44.1 kHz recommended, mono typical) and using getMinBufferSize to compute chunk sizes. Demonstrates drawing a waveform in a RecyclerView (~25 bars/sec) and adjusting LinearSmoothScroller speed per pixel because buffer sizes vary by device, explains using Visualizer for playback, streaming large files to avoid OOM, running audio work on background threads, and recommends Oboe (API 16+, AAudio on 27+) for consistent performance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Android audio basics
  3. 2:25MediaRecorder vs AudioRecord
  4. 5:16Media settings
  5. 12:06Playback APIs
  6. 16:42Streaming with AudioTrack
  7. 19:19Audio processing tips
  8. 20:37Voice waveform visualization
  9. 24:12Visualizer class guide
  10. 26:52Low-latency audio libraries
  11. 31:21Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.