Skip to content

pavlodev01/IOSAudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ™ iOS Web-Audio Stability Demo

This project is a React + TypeScript demo proving reliable mic input and audio playback on iOS Safari.
It implements a robust WebAudio state machine, gesture-based unlock, and auto-recovery logic for mobile audio handling.


🧩 Overview

Feature Description
🎧 Shared AudioContext A single, persistent AudioContext reused throughout the session.
🟒 Tap to Enable Audio Unlocks the context via user gesture; fixes autoplay rejections.
πŸŽ™ Push-to-Talk (Press & Hold) Hold to record mic input; release to stop and save to buffer.
▢️ Play Response Plays recorded audio (or synthetic tone if none).
πŸ”„ Reset Audio Stack Stops mic, disconnects nodes, closes context, and reinitializes cleanly.
πŸͺͺ Telemetry Panel Logs recent events, context state, and mic info for debugging.

πŸ” State Machine

to run

1: npm install

2: npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors