audio-haptic-feedback

Generate Web Audio API cues and vibration patterns for Myelin simulation events.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Seth-arc/myelin-platform --skill audio-haptic-feedback
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audio-haptic-feedback
Source: https://github.com/Seth-arc/myelin-platform/tree/main/primary_build_source/docs/skills/4/mnt/user-data/outputs/audio-haptic-feedback
Command: npx skills add https://github.com/Seth-arc/myelin-platform --skill audio-haptic-feedback

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a standardized and immersive audio and haptic feedback system for the Myelin simulator, ensuring clear communication of interaction events and states without relying on visual cues alone.

Core Features & Use Cases

  • Event-Driven Feedback: Audio and haptic cues are precisely triggered by simulation state machine events, not by proximity or timers.
  • Web Audio API Integration: Utilizes the Web Audio API for synthesized, low-latency sound effects, including frequency sweeps and envelopes.
  • Haptic Feedback: Supports device vibration patterns for tactile confirmation.
  • Accessibility: Includes considerations for reduced motion and user preferences for audio muting.
  • Use Case: When a user successfully completes a mechanical step in the simulator, they receive a distinct audio click and a short haptic pulse, confirming the action and its success.

Quick Start

Use the audio-haptic-feedback skill to play a confirmation tone when the 'STEP_PASS' event occurs.

Frequently Asked Questions about audio-haptic-feedback

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add real-time audio and haptic feedback to simulator events?

Trigger real-time audio and haptic feedback by mapping discrete simulator events to synthesized Web Audio API cues and navigator.vibrate patterns. This ensures event-driven tactile and sound confirmation for state machine transitions without relying on visual cues.

How does Web Audio API synthesize low-latency sound effects for simulation state machines?

Web Audio API synthesizes low-latency sound effects by generating precise frequency sweeps and envelopes triggered by discrete simulation events. This event-driven mechanism maps calibrated audio cues to specific state transitions for immediate auditory confirmation.

Can I trigger device vibration patterns based on simulator state machine events?

You can trigger device vibration patterns by mapping discrete simulation state machine events to the navigator.vibrate API. This generates tactile haptic feedback pulses that confirm successful mechanical steps without requiring user proximity or timer-based checks.

Does audio and haptic feedback support accessibility fallbacks for reduced motion preferences?

Audio and haptic feedback systems support accessibility fallbacks by respecting user preferences for reduced motion and audio muting. This ensures the event-driven feedback mechanism remains accessible while providing calibrated audio cues and tactile output alternatives.

What is the best way to map discrete simulation events to audio cues and haptic pulses?

The best way to map discrete simulation events to feedback is through event-driven triggers rather than proximity or timers. By utilizing the Web Audio API for frequency generation and navigator.vibrate for tactile output, discrete events like STEP_PASS yield distinct audio clicks and haptic pulses.

Why use synthesized audio cues instead of pre-recorded sound files for simulator feedback?

Synthesized audio cues via the Web Audio API provide precise, low-latency frequency generation and envelopes directly mapped to simulation events. This eliminates external file dependencies, ensuring immediate event-driven feedback for discrete state machine transitions.