Skip to content

pedrolcl/kmetronome

Repository files navigation

Drumstick Metronome (a.k.a. kmetronome)

Drumstick Metronome is a MIDI based metronome using the ALSA sequencer.

The intended audience are musicians and music students. Like any physical metronome, it is a tool to keep the rhythm while playing musical instruments.

It uses MIDI instead of digital audio, allowing low CPU usage and very accurate timing thanks to the ALSA sequencer. This means that you also need a MIDI synthesizer for sound generation, because the program does not produce any sound by itself. The best results come from using a hardware synthesizer, but you may also use software synthesizers instead.

For brief building instructions, see INSTALL.

Downloads

Sources: https://sourceforge.net/projects/kmetronome/files/

Download Drumstick Metronome

Download on Flathub

Packaging status

Developers environment

You need the following software:

  • CMake 3.16 or later
  • C++17 compiler
  • Qt libraries 6.2 or later (or Qt 5.12 or later)
  • ALSA library
  • Drumstick libraries 2.9 or later

Getting the development sources

Compiling and hacking the Git sources is a bit different compared to the distribution tarball. You can get the latest sources either using a sourceforge user account, or the anonymous user (with read only rights). The Git client
documentation for SourceForge users is available at https://sourceforge.net/p/forge/documentation/Git/

  1. Clone the drumstick Git repository.

There is also a Git mirror at GitHub

example:

    git clone git://git.code.sf.net/p/drumstick/git drumstick-git

The module 'drumstick' is also used by other projects in a similar way as an independent shared dynamic library.

You need to configure, compile and optionally install drumstick libraries.

  1. Clone the kmetronome Git repository.

There is also a Git mirror at GitHub

example:

    git clone git://git.code.sf.net/p/kmetronome/git kmetronome-git
  1. Configure and compile
    cd kmetronome-git
    mkdir build
    cmake -S . -B build -DCMAKE_BUILD_TYPE=debug \
               -DCMAKE_PREFIX_PATH=$HOME/Qt/6.6.1/gcc_64/ \
               -DCMAKE_INSTALL_PREFIX=/usr/local/
    make VERBOSE=1
  1. Hack and enjoy!