Skip to content

FaustLive version 2.5.21

Latest

Choose a tag to compare

@sletz sletz released this 06 Nov 08:16

Downloads

System File Notes
macOS, Apple Silicon FaustLive-2.5.21-macos-arm64.dmg macOS 12 or later, signed and notarized
macOS, Intel FaustLive-2.5.21-macos-x86_64.dmg macOS 12 or later, signed and notarized
Windows x64 FaustLive-2.5.21-win64.exe installer
Linux x86_64 FaustLive-2.5.21-linux-x86_64.tar.gz glibc 2.28 or later (Ubuntu 20.04, Debian 10, RHEL 8...), needs JACK
Linux aarch64 FaustLive-2.5.21-linux-aarch64.tar.gz same, built with Qt 5.15
Sources FaustLive-2.5.21.tar.gz complete source folder, with the Faust libraries

WARNING

  • The macOS applications are signed with the GRAME Developer ID and notarized by Apple: they open normally. Apple Silicon Macs now have a native binary: Rosetta is no longer needed.
  • Linux: extract the archive anywhere and run ./FaustLive. JACK (or PipeWire with its JACK support), libcurl and ALSA come from the distribution. See README.txt in the archive.
  • To get the sources, download FaustLive-2.5.21.tar.gz: the GitHub "Source code" archives do not contain the Faust libraries (git submodule).
  • FaustLive 2.5.21 uses a new session folder (~/.FaustLive-CurrentSession-2.14), so that the new Faust libraries are used. The windows and settings of the previous session are not restored.

Changes

Faust compiler and libraries

  • Integrates the Faust compiler version 2.92.3, based on LLVM 23.1.3 on all systems (previously Faust 2.79.3 with LLVM 16/17).
  • Faust 2.92.3 fixes a bug of the LLVM backend with LLVM 23: negative integer constants were invalid. On Intel/x86_64 it crashed FaustLive when compiling the echo examples (ef.echo1s...), and on Apple Silicon the echo delay was wrong.
  • Latest version of the Faust libraries, including the dx7/ libraries (dx. prefix of stdfaust.lib) and the pre-2.0 libraries (music.lib, filter.lib, effect.lib...), installed flat as the Faust install script does. doc.lib, only used to build the documentation, is not bundled.

Systems and packaging

  • New native binaries for macOS Apple Silicon and Intel, Linux x86_64 and aarch64, and Windows x64, all built by GitHub Actions.
  • Qt 6 (6.8.3) on macOS, Windows and Linux x86_64; Qt 5.15 on Linux aarch64. macOS 12 or later is now required.
  • The macOS packages are signed with a Developer ID, with the hardened runtime (JIT and audio input entitlements), and notarized (Build/macos-sign-dmg.sh).

User interface

  • The value displays of sliders and knobs are visible again with Qt 6 (they had been reduced to an empty box by the stylesheets).

Compilation and caching

  • The compiled DSPs are now really cached (LLVM bitcode in the session folder): reopening a DSP or a session does not recompile it. The cache key includes the libfaust and LLVM versions, the target, the compilation options and the optimisation level, so that an old cache is never reused.
  • Consistent parsing of the compilation options typed in the preferences (an option not starting with - was dropped).
  • Source files and HTML pages are read as UTF-8.

Bug fixes

  • Fixed several crashes: NULL pointers around the DSP factory creation (failed compilation during an update, component windows), the HTTP drop on a window that no longer exists, a window closed while its file change was being processed, help and preference windows, destroyed strings read by the audio settings and the OSC/HTTP interfaces.
  • Audio crossfade between two versions of a DSP: complete fade whatever the buffer size, silence after the fade out, thread-safe flags, no more busy waiting in the GUI thread.
  • JACK: no memory allocation in the audio thread during a fade; the JACK connections are kept when windows are renumbered (session snapshots).
  • PortAudio: output channels not used by the DSP are cleared.
  • External commands were never executed: they now run, and their errors are reported. This fixes:
    • Take/Recall/Import Snapshot (the .tar archives);
    • dropping a sound file (sound2faust conversion);
    • the post-compilation script of the window toolbar;
    • the cleaning of old session folders.
  • Snapshots: FaustLive never deletes a folder that belongs to the user (a snapshot is extracted in the session Temp folder).
  • Remote compilation and export: network errors are reported again with Qt 6, the download can be cancelled, the chosen platform is remembered.
  • HTTP server: memory freed correctly, data race fixed, an answer is always sent.
  • Many memory leaks fixed.

Documentation

  • Updated user manual: installation and system requirements, session folder and compiled DSP cache, bundled libraries, compilation options.
  • Faust quick reference of Faust 2.92.3.
  • The README.html of the macOS and Windows packages is generated at build time, so it always holds the current change log (the previous packages shipped the 2.5.19 one).

Development

  • New test suite (CTest, make -C Build test):
    • every bundled example and library is compiled with libfaust/LLVM and run;
    • the libraries must come from the bundled ones;
    • the bitcode cache must give the same output;
    • unit tests of the GUI-free helpers;
    • a headless start of the application.
  • GitHub Actions workflow building and testing the five binaries, and creating a draft release.
  • AGENTS.md: guide to the code, build, tests and CI.
  • Build:
    • macOS deployment target can be chosen (OSXTARGET);
    • windeployqt and NOMINMAX fixes for Qt 6 and MSVC;
    • Make.bat stops on errors;
    • C++17 everywhere.

Known issues

  • Soundfiles: the macOS and Linux binaries read WAV, AIFF, CAF and the other formats of libsndfile without external libraries (no FLAC, Ogg or MP3).
  • JACK: when a DSP is updated, the old DSP plays at full volume for a short time at the end of the crossfade.
  • If the audio stream of the new DSP cannot be started (CoreAudio, PortAudio), the window stays silent without an error message.
  • From previous versions, not checked again:
    • HTTP control (Window/View QRCode) is sometimes buggy;
    • DSPs using the soundfile primitive cannot be exported with the remote compilation service;
    • most menus disappear after all windows are closed. Use About FaustLive, then open a New default Window.