s-d-m / lilyplayer

plays music sheets
MIT License
11 stars 2 forks source link
gui lilypond music-sheet piano

Lilyplayer

Lilyplayer plays piano music sheets, as can be seen below

Demo

LIVE demo!

You can see lilyplayer in action directly in your browser at https://lilyplayer.pages.dev/!

It takes some time to load as it downloads about 50MiB at the start.

Once loaded, click, "input", then "select file". Suitable files for the application are available at https://github.com/s-d-m/precompiled_music_sheets_for_lilyplayer . Simply download music sheets you like from there.

Building instructions for Web Assembly

To know how to build for WebAssembly, please refer to the readme file dedicated to webassembly

Build dependencies

Lilyplayer requires a C++14 compiler to build. (g++ 5.3 and clang++ 3.6.2 work both fine). It also depends on the following libraries:

On debian, one can install the build dependencies the following way:

sudo apt-get install qt6-base-dev qt6-base-dev-tools libqt6svg6-dev  g++ libfluidsynth-dev \
  gawk sed coreutils pkg-config libinstpatch-dev libdbus-1-dev libjack-dev libsdl2-dev \
  cmake findutils libgomp1

Compiling instructions

Once all the dependencies have been installed, you can simply compile lilyplayer by entering:

git clone --recursive 'https://github.com/s-d-m/lilyplayer'
cd lilyplayer
make -f Makefile.native

This will generate the lilyplayer binary in ./build_dir_for_native_output

How to use

Running lilyplayer will open a window showing a keyboard at the bottom and a sheet with some text.

You can then play a music sheet file by choosing select file in the input menu, or using the Ctrl + O shortcut.

When playing a music sheet, one can play/pause it using the space key, or the Ctrl + P shortcut.

Misc

To generate your own music sheets, see lilydumper or simply grab pre-made one here

To read some documentation about this project, go to lilyplayer documentation.

Other files you may want to read

todo.txt contains a list of things that I still need to do.

Bugs & questions

Report bugs and questions to da.mota.sam@gmail.com (I trust the anti spam filter)