Skip to content

Releases

v0.9.2 — latency compensation for DAWs through PipeWire

Choose a tag to compare

@github-actions github-actions released this 25 Oct 04:01

Latency compensation for DAWs through PipeWire. No driver or panel
changes
apart from the version number.

Added

  • phasex64-wireplumber now reports the interface's own delay to
    PipeWire through latency.internal.* on the PHASE X64 nodes
    (playback 19 samples + 4.0 ms, capture 34 samples + 0.6 ms; 274 samples
    at 48 kHz in total). The driver sets no ALSA delay and PipeWire's ALSA
    plugin never asks for one, so a DAW compensated only one buffer each
    way. Measured with REAPER on pipewire-jack: the error of an analog
    loopback recording went from about 290 samples to within ±1 ms of the
    right place at quantum 64, 256 and 1024 (four takes, -0.7 to +0.4 ms);
    the USB part varies by about 1 ms between starts of the device, which
    no fixed value removes.
  • tests/hw/px_latency.py: sample-accurate round-trip latency
    measurement through raw ALSA (linked playback and capture, impulse
    stimulus, digital tap and analog loopback), plus offline analysis of
    recordings, a null test and a REAPER-project reader. Refuses to run
    with Digital Input Lock on or the card in use, never writes mixer
    controls, closes its PCMs on every exit path, uses realtime
    scheduling when permitted (0 xruns in 10 runs at the smallest buffer,
    64x2), and has an offline self-test.
  • tests/hw/reaper-latency/: a REAPER project and step-by-step guide
    for checking the compensation at several buffer sizes.
  • Measurements in tests/hw/REPORT.md: ~4.6 ms USB pipeline and ~53
    samples in the converters, independent of the buffer size.

Changed

  • Documentation: the "~54 samples" REAPER offset and the advice to enter a
    manual offset are replaced by the measured numbers above.

Fixed

  • Measurement note: the earlier statement that 88.2 and 96 kHz "break the
    capture engine" came from a run with the S/PDIF loopback cable
    connected and was already marked invalid in tests/hw/REPORT.md; the
    new script accepts all four rates.

Install

  • Arch Linux, Manjaro, EndeavourOS: download the driver and the
    control panel package, check them, install them (pacman refuses
    unsigned packages given as a URL, so install the downloaded files):

    curl -L --remote-name-all https://github.com/flarkflarkflark/phasex64-linux/releases/download/v0.9.2/SHA256SUMS \
      https://github.com/flarkflarkflark/phasex64-linux/releases/download/v0.9.2/snd-usb-phasex64-dkms-0.9.2-1-any.pkg.tar.zst \
      https://github.com/flarkflarkflark/phasex64-linux/releases/download/v0.9.2/phasex64-panel-0.9.2-1-any.pkg.tar.zst
    sha256sum -c --ignore-missing SHA256SUMS
    sudo pacman -U snd-usb-phasex64-dkms-0.9.2-1-any.pkg.tar.zst \
      phasex64-panel-0.9.2-1-any.pkg.tar.zst

    phasex64-wireplumber is optional; read "PipeWire / JACK" in the
    manual first.

  • Any other distribution: download phasex64-linux-0.9.2.tar.gz,
    check it against SHA256SUMS and run scripts/install-dkms.sh.

Details, checksums and Secure Boot:
Installation. DKMS builds the module on your
machine; no prebuilt kernel module is shipped.

Not affiliated with or endorsed by TerraTec, TerraSoniq, Musonik or
Ploytec; an experimental kernel module, provided without warranty
(GPL-2.0-only).

Built by loopback-coding: AI-assisted, human-directed, hardware-verified.
Every change went out, came back through real hardware, and was measured
before it counted.

v0.9.1 — release artifacts, distro support docs

Choose a tag to compare

@github-actions github-actions released this 23 Oct 02:50

Packaging, installation and documentation release. No driver or panel
changes
apart from the version number.

Added

  • Release artifacts on every GitHub release: the source tarball, the
    three Arch Linux packages (snd-usb-phasex64-dkms, phasex64-panel,
    phasex64-wireplumber, all arch=any - DKMS builds the module on your
    machine; no prebuilt kernel module is ever shipped) and SHA256SUMS.
    Built by .github/workflows/release.yml.
  • scripts/install-dkms.sh and scripts/uninstall-dkms.sh: install the
    driver with DKMS on any distribution, with a --dry-run mode,
    prerequisite checks and package hints for apt, dnf, zypper and pacman.
  • CI on every push and pull request: the module is built with W=1
    against the kernel headers of Ubuntu 22.04 (5.15), Ubuntu 24.04 (6.8),
    Debian 13 (6.12), Arch Linux (7.2) and Fedora (7.2); plus the panel
    tests under Xvfb, translations, the C unit test, the RIAA models and
    shellcheck.
  • AUR packaging prepared (aur/PKGBUILD, one package base phasex64);
    not published on the AUR yet.
  • Documentation: installation for other distributions, control panel
    dependencies per distribution, Secure Boot (MOK enrolment), the front
    ground terminal for turntables, the "Run" LED, a second tested
    machine.
  • Photos of the hardware (front, rear, side switches) in the README,
    CC BY 4.0.
  • This changelog.

Install

  • Arch Linux, Manjaro, EndeavourOS: download the driver and the
    control panel package, check them, install them (pacman refuses
    unsigned packages given as a URL, so install the downloaded files):

    curl -L --remote-name-all https://github.com/flarkflarkflark/phasex64-linux/releases/download/v0.9.1/SHA256SUMS \
      https://github.com/flarkflarkflark/phasex64-linux/releases/download/v0.9.1/snd-usb-phasex64-dkms-0.9.1-1-any.pkg.tar.zst \
      https://github.com/flarkflarkflark/phasex64-linux/releases/download/v0.9.1/phasex64-panel-0.9.1-1-any.pkg.tar.zst
    sha256sum -c --ignore-missing SHA256SUMS
    sudo pacman -U snd-usb-phasex64-dkms-0.9.1-1-any.pkg.tar.zst \
      phasex64-panel-0.9.1-1-any.pkg.tar.zst

    phasex64-wireplumber is optional; read "PipeWire / JACK" in the
    manual first.

  • Any other distribution: download phasex64-linux-0.9.1.tar.gz,
    check it against SHA256SUMS and run scripts/install-dkms.sh.

Details, checksums and Secure Boot:
Installation. DKMS builds the module on your
machine; no prebuilt kernel module is shipped.

Not affiliated with or endorsed by TerraTec, TerraSoniq, Musonik or
Ploytec; an experimental kernel module, provided without warranty
(GPL-2.0-only).

Built by loopback-coding: AI-assisted, human-directed, hardware-verified.
Every change went out, came back through real hardware, and was measured
before it counted.

v0.9.0 — first public release (beta)

Pre-release

Choose a tag to compare

@flarkflarkflark flarkflarkflark released this 21 Oct 13:49

First public release (beta) of the Linux driver and control panel for the
PHASE X64 USB audio interface (TerraTec / TerraSoniq / Musonik, Ploytec chipset).

What it is

  • snd-usb-phasex64 - ALSA kernel driver, built with DKMS
  • phasex64-panel - control panel (Python/Tk) for routing, capture sources,
    phono RIAA, meters, MIDI activity and PipeWire's buffer size
  • phasex64-wireplumber - optional WirePlumber "Pro Audio" profile for
    JACK applications

What works

  • Playback 4 channels, capture 6 channels (In 1/2, In 3/4, and 5/6 as a
    bit-exact digital copy of Out 1/2)
  • Phono inputs with RIAA equalisation in the driver
  • Live codec and routing changes while a stream is running
  • MIDI in and out
  • PipeWire and JACK (via pipewire-jack), bit-exact through PipeWire at
    100 % sink/source volume; buffer sizes down to 64 samples
  • 48 kHz in daily use; 44.1, 88.2 and 96 kHz tested once on hardware, see
    the README

Tested environment: Arch Linux, kernel 7.2.x, PipeWire 1.6.x,
WirePlumber 0.5.x, REAPER 7.82 via pipewire-jack. Tested on one unit, on
one machine - hardware reports from other systems are very welcome (there's
an issue template for that).

Known limitations: see
Known limitations
in the README (MIDI only while an audio stream runs, the Aux/Phono side
switches must match the capture source, S/PDIF audio not yet characterised,
and more).

Install: see the
Quick start
in the README (Arch Linux / Manjaro; packages for other distributions follow
later).

Not affiliated with or endorsed by TerraTec, TerraSoniq, Musonik or Ploytec;
an experimental kernel module, provided without warranty (GPL-2.0-only).

Built by loopback-coding: AI-assisted, human-directed, hardware-verified.
Every change went out, came back through real hardware, and was measured
before it counted.