BLumia / pineapple-midi-player

Simple SoundFont MIDI player.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Summary

Simple SoundFont MIDI player.

Based on the following projects:

Build it...

...manually

Ensure CMake, Qt 6 (at least 6.4) and PortAudio are available, then regular cmake building steps applies:

$ mkdir build && cd build
$ cmake ..
$ cmake --build . # or simply using `make` if you are using Makefile as the cmake generator.

...with Conan 2

This method is a little bit tedious so...

Conan can be used to build this project as well, but PortAudio is still not available from Conan Center, so you will need to deal with the PortAudio dependency by yourself. You can either write a recipe/build the PortAudio Conan package by yourself, or use other method to ensure PortAudio can be found by CMake.

The following content can be saved to conanfile.txt for you to use:

[requires]
qt/6.7.1
portaudio/master

[generators]
CMakeDeps
CMakeToolchain

[layout]
cmake_layout

[options]
qt*:qttools=True

...and use the following commands to build it:

$ conan install . --build=missing
$ cmake . --preset conan-default -DCONAN2_STATIC_QT_BUG=ON
$ cmake --build --preset conan-release

The CONAN2_STATIC_QT_BUG option is required for Conan 2 build due to this bug.

License

Copyright © 2024 Gary Wang

Available under Expat/MIT License

About

Simple SoundFont MIDI player.

License:MIT License


Languages

Language:C 94.1%Language:C++ 5.0%Language:CMake 0.9%