Metronome Widget

A place for you to show off what you have made with LiveCode

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
pklum
Posts: 26
Joined: Fri Jan 17, 2025 6:47 pm
Contact:

Metronome Widget

Post by pklum »

Hi,
Appic has just released a FREE Metronome Widget for Livecode, powered by a low-latency C++ audio engine. The widget has been tested on macOS Golden Gate (27.2) and Windows 11 in LiveCode Create 1.0 (DP12).

Image

The image shows the Property Inspector and four instances of the metronome with the available visualizations (Digital, Pendelum, Pulse and None).

Metronome Key Features:
  • Exact Audio Timing: Phase-locked sample-accurate playback supporting custom Tick and Accent audio samples (WAV, MP3, FLAC) with independent volume and pan controls (Master, Tick, Accent).
  • Flexible Time Signatures: Supports standard and compound time signatures (2/4, 3/4, 4/4, 5/4, 6/8, 7/8, 12/8) with automatic beat accentuation.
  • Multiple Visual Styles: Switch between Digital (flashing blocks), Pendulum (realistic swinging weight with tempo-based scaling), Pulse (pulsing core), or None.
  • Interactive Control: Adjust tempo smoothly by clicking and dragging vertically on the canvas (20 to 300 BPM), with an optional bottom control panel for play/stop and real-time BPM display.
  • Count-In Feature: Built-in pre-roll count-in settings (1 to 4 measures) that automatically stop playback and dispatch a finish event when complete.
  • Widget Synchronization: Fully event-driven architecture with messages for 'started', 'tempoChanged', 'signatureChanged', 'metronomeBeat', and 'countInFinished' to easily synchronize multiple metronome instances.
Metronome is powered by an C++ Audio Engine compiled for macOS (Intel, Apple Silicon and Universal) and Windows (X86-64). The Audio Engine is powered by miniaudio https://github.com/mackron/miniaudio

The widget can be downloaded from https://appic.se/livecode/metronome_widget_1.0.0.zip . Read the ReadMe.txt file in the zip file.

If you find bugs or have suggestion for features, please contact mailto:contact@Appic.se

Visit https://appic.se/livecode/livecode.html for more Livecode Widgets

Regards,
Peter (Appic)
Post Reply