Skip to content
pubscout

metronome

2.0.13, released 4 months ago by dev.sumsg.com

Efficient, accurate, cross-platform metronome with volume, BPM, and audio source settings.

$ flutter pub add metronome
Source repository

What it does

Provides a cross-platform metronome supporting adjustable volume, BPM, time signatures, and custom audio source settings. It includes tick callback streams and handles playback controls like play, pause, and stop.

AI-written summary of version 2.0.13, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a music practice app that requires an accurate click track or metronome.
  • You need a cross-platform metronome supporting Android, iOS, Web, Windows, and macOS.

Skip it when

  • You need a full-featured general-purpose audio player or music streaming library.
  • You are looking for MIDI sequence playback or complex audio mixing tools.

Strengths

  • Supports high BPM (>600) with good performance and low resource usage.
  • Cross-platform support including mobile, desktop (Windows, macOS), and web.

Weaknesses

  • Limited to metronome functionality rather than general music playback.
  • Platform-specific audio session configurations may require manual tuning on iOS.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
2

Configure audio assets and optional iOS audio session management if needed.

final metronome = Metronome();
metronome.init(
    'assets/audio/snare.wav', 
    accentedPath: 'assets/audio/claves44_wav.wav',
    bpm: 120, 
    volume: 50,  
    enableTickCallback: true,
    timeSignature: 4,
);
metronome.play();

Alternatives

Packages that do the same job and could replace metronome.

  • audioplayers

    If you need general audio playback instead of a dedicated metronome.

  • just_audio

    If you require advanced audio playback features like playlist management, looping, and precise streaming.

Works with

Packages commonly used together with metronome: ones it builds on, ones built on it, and its own family.