## Subliminal Messaging Layer — Integration Notes

- **Library access:** `AdvancedAudioEngine.getSubliminalLibrary()` returns six
  themed affirmation collections with region/compliance tags, multi-language
  support, and carrier/whisper masking parameters so clients can present vetted
  options safely.
- **Sequence helper:** `AdvancedAudioEngine.scheduleSubliminalSequence(request)`
  produces masked voice segments, whisper envelopes, and wellness compliance
  metadata (tracking ids, disclaimers). The helper ensures amplitudes remain
  beneath masking depth and auto-loops to fill the requested duration.
- **Intent modulation:** Pass `intent` (calm/growth/focus/joy) and
  `consciousMix` to tune gain, cadence variance, and generated metrics; results
  expose `maskingRatio`, `intentScore`, and `effectiveDurationSeconds` for UI
  telemetry.
- **Testing:** Behaviour guaranteed via Vitest assertions
  (`web/src/lib/__tests__/advanced-audio-engine.test.ts`) covering catalogue
  integrity, schedule construction, and compliance emission.
