# Formats, browsers and integration limits

Serve consumers over HTTPS. No microphone is opened by an import. Start/resume
AudioContext or prime the MIDI backend synchronously inside a trusted tap,
before asynchronous module/codec/file operations. The context supplied to a
recorder/host and every routed node must be the same context.

| Capability | Requirements / limits |
|---|---|
| MP3, WAV and native media | Browser HTMLMediaElement support. Bounded decoded scheduling also needs decodeAudioData and enough decoded-memory budget. Additional native formats such as AAC/M4A vary by browser. This is not a universal transcoder. |
| MIDI | Standard MIDI File parsing and scheduled real WAM instruments. MIDI source is a File/Blob. Hardware Web MIDI is not implied by file playback and may be unavailable on Safari. |
| ALAC STEM | MP4Box, standalone ALAC JS/WASM and Web Audio. Release-relative paths resolve automatically. |
| AAC STEM | Compatible AudioDecoder/WebCodecs; no promise of universal AAC/WebCodecs availability. |
| WAV authoring inputs | Existing STEM integer reader: 16/24-bit signed PCM, mono/stereo, 44.1/48 kHz; matched formats and lengths within one frame. Float WAV/resampling/time stretch are not provided by this creator. |
| WAV/ZIP output | Existing aligned export. Returned File is shared/downloaded by app; for iOS use navigator.share({files:[file]}) from a gesture. |
| Recording | getUserMedia + AudioWorklet, secure context, permission, actual context sample rate; PCM16 RIFF/WAV. Maximum 16 internal recording tracks does not imply 16 hardware inputs. |
| Durable takes | OPFS synchronous access handles in a dedicated worker; otherwise bounded-memory/standard writer fallback. Storage is on the consumer origin, not on the CDN. |
| WAM | WAM2 SDK, compatible plugin, AudioWorklet where required; optional Tone runtime. Catalog is dynamic, external plugins need their own compatible assets/CORS. |
| Media Session | Browser/OS dependent. Native-master/bridge investigations are preserved experiments. Desktop success does not establish iPhone lock-screen transport. |

The CDN supplies ACAO `*`, CORP cross-origin and proper JS/JSON/CSS/WASM types.
Consumer CSP must allow the CDN for script/connect/worker operations as required;
durable cross-origin worker loading uses Blob URLs and WASM needs the relevant
CSP allowance. No COOP/COEP isolation requirement is added by this release.
A consumer's own restrictive CSP or permission policy can still block a feature.

Monitoring is off until explicitly enabled; use headphones. Stop/abort all active
recording sessions before closing sources. Surface partial takes and interruptions.
Never promise continuous background capture, screen-lock recording or call survival.
The existing recorder releases microphone audio-session ownership on cleanup.

## Manual iPhone acceptance still required

Open the hosted examples and verification page in actual iPhone Safari:

1. Load/play/pause/seek MP3 and WAV, then repeat after changing files.
2. Load MIDI from a real tap; switch registry instruments and test drum tracks.
3. Open a long personal ALAC STEM; choose Master vs Stems, mute/solo/gain, seek.
4. Grant/deny microphone permission; record, monitor with headphones, stop, replay,
   disconnect, then check ordinary playback audio-session behavior.
5. Test AirPods/device changes, calls, app switching, lock screen, reload recovery,
   low storage and long takes. Record what actually survives and what is partial.
6. Exercise WAM inserts and file export/share under real mobile memory pressure.

These actions have not been performed by the user in this session. A 390px
Chromium viewport is responsive-layout evidence only, never iPhone verification.
