TrailPulse: An Offline-First Spatial Audio Guide for Zero Screen-Time Outdoors
说明与用途
TrailPulse 提供离线空间音频导览,让徒步者通过耳机聆听位置相关叙述,无需屏幕或网络。
问题
Outdoor apps that enrich nature experiences often require constant visual attention and rely on cellular connectivity, which is unavailable in many backcountry trails.
结果
TrailPulse enables hikers to experience spatial audio guides without screens or internet, improving immersion and reliability in remote trails.
工作流
- Prepare GPX track at home
- Upload GPX to TrailPulse server
- Server queries Overpass API for POIs
- Generate sensory scripts with Gemma 2 via Ollama
- Convert scripts to audio with ElevenLabs TTS
- Package audio and manifest into a ZIP bundle
- Download bundle to device
- Unpack ZIP with JSZip, store audio in IndexedDB
- During hike, navigator.geolocation polls GPS
- Haversine proximity check triggers alerts within 25–40m
- Play audio vignette through earbuds
- Lock‑screen MediaSession displays landmark name and pause/resume controls
证据
TrailPulse is an offline‑first Progressive Web App (PWA) that converts standard GPX routes into location‑triggered spatial audio narratives.
Dynamic Haversine geofencing continuously monitors satellite coordinates in the background.
Gemma 2 was prompted to write concise, 30–45 word sensory scripts focusing strictly on physical touchpoints.
- 记录日期: 2026-10-11T23:55:52.314Z