Audio & Haptic Feedback

•
1
•

Synthesizes real-time Web Audio API sound cues and triggers vibration patterns for interactive simulation feedback.

The Audio & Haptic Feedback skill provides comprehensive implementation patterns for synthesising real-time audio cues and dispatching haptic vibration patterns within interactive WebGL simulations. It establishes an event-driven feedback architecture that maps specific mechanical states and assessment milestones to exact audio frequencies, sound envelopes, noise bursts, and vibration patterns without relying on external audio assets or uncalibrated timers. Designed for engineering trade simulators and interactive 3D applications, this skill ensures consistent, low-latency sensory feedback while strictly observing accessibility fallbacks, browser user-gesture requirements, and reduced-motion preferences.

Key Features

01Implements multi-pulse vibration patterns for mobile devices and WebXR haptic controllers
02Synthesizes low-latency Web Audio API soundscapes, sweeps, and noise bursts without external files
03Integrates accessibility fallbacks, audio mute preferences, and reduced-motion visual decoupling
04Enforces strict event-driven triggers via state machines rather than frame polling or physics loops
05Maps mechanical interactions and assessment events to standardized frequencies and gain envelopes
061 GitHub stars

Use Cases

01Building real-time synthesized sound effects for interactive WebGL and 3D simulation training tools
02Managing Web Audio API contexts and audio lifecycle states in user-gesture-restricted web apps
03Implementing precise haptic feedback and acoustic cues for multi-step mechanical assembly assessments