View on GitHub

midiplayer

A "beautiful" MIDI visualizer

Build instructions for MIDIPlayer

1. Install dependencies

The dependencies required are:

Arch Linux:

# pacman -S base-devel cmake sfml fmt rtmidi

2. Download the project

git clone https://github.com/sppmacd/midiplayer.git

3. Run CMake

mkdir build
cd build
cmake ..

You can also use Ninja, then replace the last command with:

cmake .. -GNinja

4. Actually build

If you just want to build, run

make -j$(nproc)

If you want to make a global installation, run

make install -j$(nproc)

You can use CMAKE_INSTALL_PREFIX to change the path. See CMake docs for more details about installing.

Local and global installations

Local installations can be run using build/midiplayer (using res directory from the current directory), global with just midiplayer (using global resource directory from CMAKE_INSTALL_PREFIX and ./res as fallback.

You can set an installation to be “portable” using MIDIPLAYER_PORTABLE_INSTALL. This will override CMAKE_INSTALL_PREFIX to build/root and create a ready-to-zip directory there. This supports running midiplayer from bin (as just ./midiplayer) or from root (as bin/midiplayer).