update README
This commit is contained in:
@@ -71,6 +71,7 @@ The application includes several optimizations for smooth performance:
|
||||
- **Smaller canvas**: 280x280px visualizations (vs 400x400px on desktop)
|
||||
- **Scroll handling**: Visualization pauses during scrolling to prevent audio stuttering
|
||||
- **Less frequent updates**: Displacement updates every 5th frame (vs 3rd on desktop)
|
||||
- **Screen Wake Lock API**: Prevents screen sleep during audio playback
|
||||
- **Screen sleep recovery**: Audio context automatically resumes after device wakes up
|
||||
- **Visibility API**: Properly handles audio context suspension/resumption
|
||||
|
||||
@@ -125,6 +126,11 @@ The app supports two methods for location input:
|
||||
The application is optimized for mobile devices with several performance enhancements:
|
||||
|
||||
**Audio Playback:**
|
||||
- **Screen Wake Lock**: Prevents screen from sleeping while audio is playing
|
||||
- Automatically requested when playback starts
|
||||
- Released when playback stops or app is closed
|
||||
- Supported on Chrome/Edge 84+, Safari 16.4+, Opera 70+
|
||||
- Gracefully degrades on unsupported browsers (Firefox)
|
||||
- Automatic audio context recovery after screen sleep/wake
|
||||
- Handles browser audio suspension gracefully
|
||||
- Transport automatically restarts when app becomes visible
|
||||
@@ -138,6 +144,7 @@ The application is optimized for mobile devices with several performance enhance
|
||||
- Running both generators simultaneously may impact performance on lower-end devices
|
||||
- Some mobile browsers may require user interaction to start audio playback
|
||||
- Audio may briefly pause during heavy scrolling or multitasking
|
||||
- Wake Lock not supported on Firefox (audio may stop when screen locks)
|
||||
|
||||
## Project Structure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user