Tempo 1.6.0 is out now! This release marks a major architectural upgrade under the hood alongside several highly requested features for daily practice and live performance.

Get it on Flathub or read the full release notes on GitHub.

Moving to a Sample-Accurate Audio-Clock Engine

Previously, Tempo scheduled beats using GLib.Timeout on the GTK main loop and triggered sounds by resetting GStreamer playbin elements (NULL → PLAYING) with a fixed 200 ms stop timer. While fine at moderate tempos, that design had real limits:

  • Main-loop scheduling introduced slight jitter during UI redraws.
  • At high tempos (e.g. >200 BPM) or dense subdivisions, the previous beat's stop timer could fire during the next beat and cut clicks short.
  • Starting playback waited a full beat interval before beat 1 sounded.

In 1.6.0, both MetronomeEngine and PatternEngine now run on a new AudioClickMixer backed by a continuous low-latency GStreamer appsrc pipeline (44100 Hz, mono F32LE, 512-frame blocks):

  • Built-in WAV clicks and user-supplied custom sounds (WAV, MP3, OGG, FLAC) are pre-decoded once into float PCM buffers.
  • Beats, subdivisions, swing offsets, count-in clicks, and rhythm pattern steps are scheduled directly on the audio sample clock and mixed additively across overlapping voices—zero pipeline teardowns, zero click cutoffs even at 300 BPM + 16th notes, and instant beat-1 response.
  • If no audio sink is available, Tempo gracefully falls back to a visual-only timer with a toast notification.

Interactive Rhythm Pattern Editor

Tempo already shipped a built-in pattern library (Son Clave, Rumba Clave, Bossa Nova, Swing Ride, Backbeat), and 1.6.0 completes the Patterns view with a full Pattern Editor dialog:

  • Dual-lane (High and Low) clickable step grid cycling Off → Regular (●) → Strong (★) → Ghost (○).
  • Configurable pattern length (1–16 beats) and grid resolution (Eighths, Triplets, Sixteenths).
  • Live preview directly inside the editor.
  • Fork and customize any built-in pattern into a personal user copy, or build and delete custom patterns from scratch.

Along the way, we also fixed two long-standing pattern playback bugs: loop wrap-around timing (where the engine previously added a full pattern length after the final hit instead of the remaining gap to beat 0) and Swing Ride triplet resolution (subdivisions_per_beat: 3).

New Musician-Focused Controls

  • Interactive Per-Beat Accents: Click any beat pill in the measure to cycle Strong, Regular, or Muted—great for odd meters like 7/8 (2+2+3 vs 3+2+2) or jazz backbeats (2 & 4). Persisted in GSettings and Presets.
  • Eighth-Note Swing: Adjust swing feel smoothly from 50% straight through 67% triplet swing to 75% dotted feel.
  • Count-In: Optional 1-bar or 2-bar count-in before bar 1 (and Practice Timer / Tempo Trainer) begins.
  • Wider 20–300 BPM Range & Tempo Markings: Expanded across the metronome, Tap Tempo, and Tempo Trainer, paired with live classical markings (Larghissimo through Prestissimo).
  • Live Setlist Navigation: Active song name, BPM, and meter now appear directly on the Metronome tab, with Alt+Left/Alt+Right and PageUp/PageDown shortcuts to step through a gig setlist hands-free.
  • Scroll-Wheel BPM Toggle: A new preference under Behavior lets you lock BPM controls against accidental scroll-wheel bumps—thank you to @mklnln for contributing PR #16!

Bug Fixes & Packaging

  • X11 Touchscreen Window Dragging (#17): Bundled a targeted GTK 4.24.2 patch in Flatpak builds so touchscreen window drags follow the finger and release cleanly on X11 desktops (thanks @jomo487 for reporting).
  • Native Build Paths & Polish: Replaced hardcoded /app/share/tempo/sounds paths with Config.DATADIR / GResource lookup, wired all subdivision preference controls, added Adw.ToastOverlay so notifications render properly, fixed a GTK 4 CSS parser warning, cleaned up AppStream metainfo validation to zero warnings, and expanded the automated Vala test suite to 6 suites (44 checks).

Install or Update

flatpak install flathub io.github.tobagin.tempo # or update an existing install flatpak update io.github.tobagin.tempo 

Feedback, bug reports, and contributions are always welcome at github.com/tobagin/tempo!