Skip to content

StreamLite 2.4.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 14:02
· 18 commits to main since this release
  • Mic latency down from ~35 ms to ~7.5 ms (Windows). Your voice reaches the virtual cable about 4.5x sooner.
    Measured on a Blue Yeti, from the moment the mic records a sample to the moment it sits in the cable, while the
    app runs:

    Before 2.4.0
    Waiting in the mic's packet ~5 ms (10 ms packets) ~1.5 ms (3 ms packets)
    StreamLite's buffer ~18 ms ~2 ms
    Written ahead into the cable 8 ms ~4 ms
    Mic to cable ~35 ms ~7.5 ms
    • The mic runs in exclusive mode at its smallest period (3 ms on most USB mics, instead of Windows' 10 ms shared
      packets) and each packet goes into the cable the moment it arrives.
    • The mic threads get Windows' "Pro Audio" priority.
    • If the cable ever catches up, StreamLite adds 0.5 ms of safety by itself and gives it back after 20 calm seconds.
    • Settings → Audio devices → Lowest mic latency (on by default). While it's on, other apps can't open the
      physical mic directly; pick "StreamLite Mic" in them (that's your cleaned mic anyway). If another app already has
      the mic, or exclusive mode is off for it in Windows, StreamLite uses shared mode by itself.
    • The Microphone page shows the latency live, for example Mic to cable 7.4 ms (low latency) + 20 ms noise
      removal
      . Noise removal needs its own audio frames, measured and reported separately: RNNoise 20 ms,
      DeepFilterNet 50 ms on the CPU or 60 ms on the GPU (its look-ahead), Classic 21 ms. status.txt has the full breakdown.
  • One-window installer (Windows): the MSI now installs everything StreamLite needs, in its one window with one
    Windows permission prompt. VB-CABLE (the virtual mic), VB-Audio Hi-Fi Cable (3D game audio) and Equalizer APO
    (headphone EQ) are downloaded from their makers and installed silently. What's already installed is skipped.

    • VB-Audio's own signing certificates are added to Windows' trusted publishers first, so Windows doesn't interrupt
      with its "install this device software?" window.
    • A log is kept in %ProgramData%\StreamLite\prerequisites.log.
    • If something can't be installed (no internet, for example), StreamLite offers it again in the app.
    • Run msiexec /i StreamLite.msi SKIPPREREQUISITES=1 to leave them out.

Credits

No new third-party code, models or data. The installer now also downloads VB-CABLE, Hi-Fi Cable and Equalizer APO (already credited) from their makers.

AI models and measured data

  • DeepFilterNet 3 - AI noise removal (studio-quality model). Hendrik Schröter, Tobias Rosenkranz, Alberto N. Escalante-B., Andreas Maier. MIT or Apache-2.0. Model / data.
  • torchDF - Streaming ONNX export of DeepFilterNet 3 (the model file StreamLite runs). grazder. MIT or Apache-2.0.
  • RNNoise - Light AI noise removal (C# port of v0.1.1 and its trained model). Jean-Marc Valin, Mozilla, Xiph.Org Foundation. BSD-3-Clause. Model / data.
  • SADIE II HRTF database - 3D audio: measured head responses (KU100 dummy head, KEMAR). University of York - C. Armstrong, L. Thresh, D. Murphy, G. Kearney. Apache-2.0.
  • Robust Video Matting (Windows) - AI camera: cuts you out of the room (blur, green screen, picture, video). Shanchuan Lin, Linjie Yang, Imran Saleemi, Soumyadip Sengupta (ByteDance). GPL-3.0. Model / data.
  • Ultra-Light-Fast-Generic-Face-Detector-1MB (UltraFace) (Windows) - AI camera: face tracking. Linzaer. MIT. Model / data.
  • SoundGuys headphone measurements - Built-in correction for the Sennheiser MOMENTUM 5 (B&K 5128 measurement). SoundGuys. Measurement used with thanks.

Libraries and runtimes

  • ONNX Runtime - Runs the AI models (and, from 2.3.0, optimizes the Low VRAM model files). Microsoft. MIT.
  • DirectML (Windows) - Runs the AI models on any DirectX 12 graphics card. Microsoft. Microsoft Software License Terms (redistributable).
  • .NET runtime (Linux) - Runs StreamLite for Linux (included). .NET Foundation and contributors. MIT.
  • Avalonia UI (Linux) - The Linux interface. AvaloniaUI OÜ and contributors. MIT.
  • SkiaSharp / HarfBuzzSharp (Linux) - Drawing and text for the Linux interface (Skia, HarfBuzz). Microsoft / .NET Foundation; Google (Skia); the HarfBuzz authors. MIT; BSD-3-Clause (Skia); MIT (HarfBuzz).
  • Inter (Linux) - Interface font. Rasmus Andersson. SIL Open Font License 1.1.
  • PipeWire / PulseAudio (Linux) - Linux audio (your system's libpulse and pactl). Wim Taymans and the PipeWire contributors; the PulseAudio developers. MIT / LGPL-2.1.

Code, ideas and research

  • EarTrumpet (Windows) - How per-app audio routing works on Windows. File-New-Project. MIT.
  • Impulcifer - HeSuVi 14-channel HRIR track order. Jaakko Pasanen. MIT.
  • VCamSample (Windows) - Structure of the Windows 11 virtual camera. Simon Mourier. MIT.
  • Guided Image Filtering (Windows) - AI camera: denoise, skin smoothing and crisp cut-out edges. Kaiming He, Jian Sun, Xiaoou Tang. Published research.

Downloaded when you ask for them

  • AutoEq - Headphone corrections for thousands of headphones (Find my headphones). Jaakko Pasanen and the measurement contributors (oratory1990, crinacle, Rtings, Innerfidelity...). MIT. Model / data.
  • VB-CABLE and Hi-Fi Cable (Windows) - The virtual mic cable and the 3D game audio device. VB-Audio Software (Vincent Burel). Donationware - please support VB-Audio.
  • Equalizer APO (Windows) - System-wide headphone EQ. Jonas Thedering. GPL-2.0.

Built with

  • WiX Toolset (Windows) - The Windows installer (MSI). .NET Foundation and contributors. MS-RL.
  • Zig (Windows) - Builds the virtual camera's native DLL. Andrew Kelley and the Zig contributors. MIT.
  • appimagetool (Linux) - The Linux AppImage. Simon Peter and the AppImage contributors. MIT.
  • ONNX - Builds and adapts the model files (tools/make_camfx.py). ONNX Project Contributors (LF AI & Data). Apache-2.0.
  • NumPy - Model-building scripts. NumPy Developers. BSD-3-Clause.
  • onnxconverter-common - Half-precision Low VRAM model files. Microsoft. MIT.

Which file do I need?

Your system File
Windows 10/11 StreamLite-*-x64.msi. If SmartScreen warns you, click More info → Run anyway.
Windows, no install StreamLite-*-win-x64-portable.zip
Ubuntu / Debian / Mint / Pop!_OS streamlite_*_amd64.deb, then run sudo apt install ./streamlite_*_amd64.deb
Fedora / openSUSE streamlite-*.x86_64.rpm
Arch / Manjaro / EndeavourOS PKGBUILD, then run makepkg -si
Any Linux StreamLite-*-x86_64.AppImage, or the linux-x64.tar.gz with ./install.sh

SHA256SUMS.txt lists the checksums of every file. Already have StreamLite? It updates itself when it starts.
New here? Read the manual. Something wrong? Use the
bug report.