Claude 71252ff84f Implement Phase 2 audio gaps: 25 medium-difficulty synthesizers and ambient loops
- 23 new ExpandedSciFiAudioSynth methods + 2 WhoniverseAudioSynth methods
  covering audio_gaps.md rows #21-#45: Cardassian door, turbolift, replicator,
  scanner activation, console type clatter, Vorlon song, neural-bond swell,
  hull regen, Belter jury-rig telemetry, hull strain moan, Icarus beacon,
  void whisper, Beryllium thrum, Omega-13, repulsorlift drone, Bebop chug,
  carousel groan, slipstream surge, O2 regulator, pipe drips, steam vent,
  crash-couch gimbal, HAL respiration, Death Blossom, Cygnus piston chug
- Keyed ambient-loop registry (_scheduleLoop/_stopLoop) replacing ad-hoc
  timer fields; stopAllLoops clears registry plus legacy timers
- Single startPresetAmbience funnel in app.js engages ambience per preset on
  engage/switch and tears down on full stop; whoniverse ambience stopped on
  every preset change
- All 10 universe soundboards rebuilt (6-8 buttons each, span-2 Belter
  telemetry); NEURAL PULSE event now fires the real neural-bond swell
- TelemetrySynth era routing intentionally untouched (Phase 3 scope); docs
  updated in audio_gaps.md and sound_reference.md
2026-09-04 08:49:58 -07:00
2026-09-03 21:09:32 -07:00
2026-09-03 21:08:03 -07:00
2026-09-03 21:09:32 -07:00

SciFi-XZBT Modular Architecture & Repackaging

Directory Overview

SciFi-XZBT/
├── index.html                  # Clean entry point (368 lines)
├── css/
│   └── style.css               # LCARS styling, CRT effects, theme colors (2,317 lines)
├── js/
│   ├── audio.js                # Web Audio synthesis, oscillators, sound engines (2,258 lines)
│   ├── config.js               # Starship presets, Universe registry & palettes (1,039 lines)
│   ├── visualizer.js           # Audio spectrum & Warp Core canvas rendering (643 lines)
│   ├── observation-bezels.js   # Procedural SVG Viewport bezels (TOS, Voyager, TNG, etc.) (271 lines)
│   ├── observation-engine.js   # Full observation mode canvas and simulation engine (2,784 lines)
│   └── app.js                  # DOM bindings, hotkeys, UI controllers & loop (3,962 lines)
├── dist/
│   └── SciFiAmbientDisplay_v4.html  # Standalone, single-file offline build
└── tools/
    ├── package.ps1             # 1-click script to build the standalone single-file HTML
    └── extract.ps1             # Original extraction script for reference

Development Workflow

  1. Developing Modularly:

    • Edit the specific CSS or JS files directly.
    • For audio or synthesizer logic, focus exclusively on js/audio.js.
    • For viewscreen bezels and framing, edit js/observation-bezels.js.
    • For observation celestial mechanics and canvases, edit js/observation-engine.js.
    • For presets and sound matrix tables, edit js/config.js.
  2. Repackaging to Single-File: Run the packaging script from PowerShell:

    powershell -ExecutionPolicy Bypass -File .\tools\package.ps1
    

    This immediately produces dist\SciFiAmbientDisplay_v4.html, combining all CSS and JS back into a self-contained, double-clickable offline file.

S
Description
No description provided
Readme MIT
3.5 MiB
Languages
HTML 51.4%
JavaScript 44.5%
CSS 3.7%
PowerShell 0.4%