Drumstick is a set of MIDI libraries using C++/Qt idioms and style. Includes a C++ wrapper around the ALSA library sequencer interface: ALSA sequencer provides software support for MIDI technology on Linux. A complementary library provides classes for processing SMF (Standard MIDI files: .MID/.KAR), RIFF RMID (*.rmi) and Cakewalk (.WRK) file formats. A multiplatform realtime MIDI I/O library and a GUI Widgets libraries are also provided for Linux, Windows, and Mac OSX.
Currently, there are four libraries designed to work together if/when needed:
Drumstick::ALSA was the first library developed under the Drumstick umbrella, and is available only on Linux, because ALSA Sequencer is an exclusive Linux technology. For realtime I/O applications you can use the Drumstick::RT library which is multiplatform, and only depends on Drumstick::ALSA in Linux for its ALSA Sequencer backend. Other multiplatform backends are: Network/ipMIDI and Fluidsynth. The Sonivox backend needs PulseAudio, which is available on most Unix systems.
There are ten examples in the source tree, under the utils/ directory:
And you can also see independent applications using this library:
Here is a diagram about the relationship between the libraries and applications:
Here is another view in table format of the relationships:
Drumstick::ALSA | Drumstick::File | Drumstick::RT | Drumstick::Widgets | |
---|---|---|---|---|
Utilities: | ||||
drumgrid | ✅ | ❌ | ❌ | ❌ |
dumpmid | ✅ | ❌ | ❌ | ❌ |
dumprmi | ❌ | ✅ | ❌ | ❌ |
dumpsmf | ❌ | ✅ | ❌ | ❌ |
dumpwrk | ❌ | ✅ | ❌ | ❌ |
guiplayer | ✅ | ✅ | ❌ | ❌ |
metronome | ✅ | ❌ | ❌ | ❌ |
playsmf | ✅ | ✅ | ❌ | ❌ |
sysinfo | ✅ | ❌ | ❌ | ❌ |
vpiano | ❌ | ❌ | ✅ | ✅ |
Applications: | ||||
dmidiplayer | ❌ | ✅ | ✅ | ✅ |
VMPK | ❌ | ❌ | ✅ | ✅ |
kmetronome | ✅ | ❌ | ❌ | ❌ |
kmidimon | ✅ | ✅ | ❌ | ❌ |
wrk2mid | ❌ | ✅ | ❌ | ❌ |
The main web site of this project is drumstick.sourceforge.io
See also: