Skip to content

0.4.1

Choose a tag to compare

@XuruDragon XuruDragon released this 12 Jun 08:01
· 35 commits to main since this release

🚀 XuruVOIP v0.4.0 Release Notes

We are thrilled to announce the release of XuruVOIP v0.4.0! This major update brings a massive leap in immersion, utility, and tactical command capabilities for Star Citizen operations. Highlights include Head-Related Transfer Function (HRTF) audio, offline voice-activated controls, atmosphere density acoustics, and an interactive 3D After-Action Review (AAR) replay portal.


🌟 Key Highlights

🪐 1. Planetary Atmosphere Density Simulation

XuruVOIP now simulates real-time voice range scaling and frequency dampening depending on the local atmospheric density of the planet or moon you are on:

  • Volume Range Scaling: Proximity audio decays dynamically based on the atmosphere (e.g., 3.5x faster decay on airless/trace moons like Cellin, standard decay on MicroTech, and 0.75x slower decay on Crusader).
  • Thin Gas Muffling: Outdoor environments on thin-atmosphere moons apply a dynamic digital low-pass filter (e.g., an 800Hz cutoff on Cellin) to model realistic acoustic propagation constraints.
  • Pressurized Bypasses: The simulation is bypassed automatically inside ship cabins, facilities, outposts, and hangars, keeping voices clear when pressurized.

🎧 2. Binaural HRTF Spatial Audio & 3D Spectrogram

We have elevated our spatial audio to professional spatialized standards:

  • Binaural HRTF Rendering: Simulates the physical geometry of human hearing over standard stereo headphones. Utilizes Woodworth's ITD (Interaural Time Difference) for sub-millisecond left/right arrival delays and ILD (Interaural Level Difference) low-pass filtering to replicate the head-shadow effect.
  • Visor HUD 3D Spectrogram: Renders a real-time 3D Radix-2 64-point FFT spectral visualizer overlay next to active speaker tags on your HUD, grouped into 8 frequency bands with smooth decay.

🎙️ 3. Post-Op Voice Recorder & Server-Side 3D AAR Playback

A powerful administrative suite for server-side recording and post-mission debriefings:

  • Zero-Overhead Ogg/Opus Writer: Saves incoming Opus packets directly to disk inside browser-playable .ogg audio files. This consumes 5x less disk space than MP3 and requires zero server-side transcoding CPU load.
  • Canvas Timeline & 3D Replay Map: The Web Admin Portal features a 2D HTML5 canvas timeline displaying speaking periods. Clicking on speaking blocks launches the 3D Replay Canvas, which animates player trails and speaker pulse rings, synchronized with the recorded audio.

📞 4. Ship-to-Ship Hailing & Calling System

Cockpit-to-cockpit private calling is now active:

  • Private Loops: Allows initiating private calls to ships within a 5,000-meter range using custom AudioTypeHail packets that bypass proximity/radio.
  • Ringing & Chimes: NAudio-synthesized dialing tones, ringing loops (900Hz to 600Hz), and connection/disconnection alerts provide clear audio feedback.
  • Voice Activity Detection (VAD) Override: While in a call, the microphone is automatically captured via VAD, allowing pilot and co-pilot hands-free communication.

🔤 5. Visor HUD Real-Time Translation Subtitles

Break down communication barriers in multi-national fleets:

  • Offline Translation Subtitles: Transcribes and translates incoming foreign voice streams in real-time, displaying them directly on your visor HUD prefixed with source/target indicators (e.g., [FR -> EN] Bonjour -> Hello).
  • Whisper Integration: Leverages a lightweight, offline Whisper model (ggml-tiny.bin) downloaded asynchronously on-demand. Currently supports translation/transcription across 7 languages.

🗣️ 6. Voice-Activated Ship Controls

Control your ship by speaking directly to your onboard computer:

  • Hands-Free Operations: Hold the Voice Command key and speak commands (e.g., "open doors", "power up shields") to simulate in-game keystrokes.
  • Virtual Key Injection: Employs low-level Win32 keybd_event calls (holding keys for 50ms for reliable game registration, supporting modifier keys) matching custom dictionaries in 8 languages.

🎛️ 7. Massive Stream Deck Plugin Expansion

The Stream Deck plugin has been expanded with 11 new actions (bringing the total to 19):

  • New Actions: Initiate/Accept/Decline Hails, Toggle Translation, Toggle HRTF, Toggle Spectrogram, Beacon Mode, PA Broadcast, Intercom Status cycle, Location Telemetry, and Voice Command Macro.
  • Live GPS Key Telemetry: Displays your current zone and coordinates $(X, Y, Z)$ directly on the physical button in real-time.
  • Active Status Feedback: Buttons glow active cyan when functional, amber/red with strike-throughs when muted, and cycle through multi-state icons (e.g., Intercom statuses).
  • Rework of the Plugin: Upgrade the SDK version to version 3. Re-organize the plugin to the new structure for compatibility with buildig tools.

🛠️ Quality of Life & System Changes

  • Windows Package Manager Support: You can now install the client instantly via winget:
    winget install XuruDragon.XuruVOIPClient
  • Daily Log Rotation: The server now performs automatic daily log rotations of xuruvoip.log on startup, retaining only the 5 most recent logs to prevent disk clutter.
  • Feature Registries: Added maybe_features.md and nogo_features.md to formally track community proposals, experimental design patterns, and rejected architectures.
  • Multi-Language Support: Localized readmes and user guides have been updated in English, French, German, Spanish, Portuguese (PT & BR), Japanese, and Chinese.

Full Changelog: 0.3.0...0.4.1