mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Apply prettier-compatible formatting across the repo to match the incoming oxfmt configuration. Mechanical reformat only — no logic changes. Covers YAML quote normalization, package.json key sorting, Markdown/TOML formatting, and minor TS whitespace tweaks.
1.0 KiB
1.0 KiB
Expo Two-Way-Audio Using Flow API
This example showcases the basic functions of the expo-two-way-audio module:
- Capture input raw pcm data
- Play raw pcm data (from a hardcoded base64 string)
- Display volume level for both input and output
- In iOS: show/set microphone mode while recording.
Requirements
Run the app
In the examples/basic-usage directory:
-
Install dependencies:
npm install -
Run the app:
# Run iOS npm run ios # Run Android npm run android
Notes
Some audio features of expo-two-way-audio like Acoustic Echo Cancelling, noise reduction or microphone modes (iOS) don't work on simulator. Run the example on a real device to test these features.
# iOS
npx expo run:ios --device --configuration Release
# Android
npx expo run:android --device --variant release