Re: Software playing lilypond's music sheets: releasing appimages

2018-08-09 Thread juppes
Hi Sam,

Sounds like a very good idea! I downloaded the dumper and the player plus
the files, but the player does not play them giving a message like 'Wrong
file format (wrong header). And the dumper does not do anything when I open
it, although it has been made executable.
I have Linux Mint 64bit Cinnamon on my machine.

Hope you can help me

All best 

Emil



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Software playing lilypond's music sheets: releasing appimages

2018-07-23 Thread Samuel DA MOTA
Hi everyone,

Last week I shared with you my toy project about playing lilypond's
music sheets.
For those of you who showed some interest but got stopped by the
compilation steps, I added appimages.
That means, if you want to use these software, all you need to do is
download the file, make it executable, and run it, ... on linux

the player is available at
https://github.com/s-d-m/lilyplayer/releases and the part which
processes your music sheets so that it becomes playable is available
at https://github.com/s-d-m/lilydumper/releases

For ready to use music sheets, you can grab some at
https://github.com/s-d-m/precompiled_music_sheets_for_lilyplayer

For windows and mac users, sorry I didn't get time to port it. If some
of you want to join on that, ... please be my guest.

Cheers

Sam

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-13 Thread Samuel DA MOTA
Hi Richard and Martin

@Richard:
the reason it failed to compile for you is because I messed up the
Makefile. It is fixed now. Lilydumper compiles just fine with g++-6
and g++-7. You can try again if you want.

@Martin:
Sadly since I use debian and didn't get much time for the packaging,
this was kind of something I was expecting to be honest. Looking at
the error message your sent, there are two issues. One is that
QT_HOST_DATA and QMAKE_SPEC are not found. The "build system" uses
qmake to determine where those libraries are installed and
automatically configure things for you. Can you check what does `qmake
-query` prints on your machine? Maybe you simply don't even need that
on fedora. You can try to edit the script in
https://github.com/s-d-m/lilyplayer/blob/master/src/configure and
comment line 56 (the one which prints
${QT_HOST_DATA}/mkspecs/${QMAKE_SPEC} and see if that works?
The other issue is that it seems some options I were using when
compiling are only available for release build, and ... I'm left
wondering how come on debian it compiled just fine for debug builds.
For that second issue you can try compiling using `make BUILD=release`
or simply update your clone from github as I just fixed that

I wanted to install Fedora on a virtualbox to see what would be the
proper fix, but sadly I got hit virtualbox not launching as described
http://linux.debian.bugs.rc.narkive.com/uLBOQlPv/processed-re-virtualbox-fails-to-start-vm-verr-ldrelf-relocation-not-supported

If some of you wants to help on the packaging side of things (someone
even asked me about windows binaries), or take over the project,
please let me know as I don't plan to spend much more time on it.

Kindest regards

On 13/07/2018, Richard Shann  wrote:
> On Fri, 2018-07-13 at 09:39 +0200, Samuel DA MOTA wrote:
>> Hi Martin,
>>
>> Thanks for the feedback.
>>
>> Unfortunately since it always was a side project I didn't get much
>> time to polish it like I wanted. In any case, feel free to clone it
>> and improve upon.
>>
>> I kept the build system simple on purpose so that fixing these issues
>> shouldn't be too hard. Had I more time I would have used Meson.
>>
>> Out of curiosity, what is the error you get?
>
> I, too, couldn't make lilydumper on Debian 9.3 (stretch) with
> make
> make -C ./src "lilydumper"
> make[1]: Entering directory '/home/rshann/lilydumper/src'
> make[1]: *** No rule to make target 'lilydumper'.  Stop.
>
> but then g++-8 is not available in Debian Stretch it seems ...
>
> Richard Shann
>
>> Cheers
>>
>> On 13/07/2018, Martin Tarenskeen  wrote:
>> >
>> >
>> > On Thu, 12 Jul 2018, Samuel DA MOTA wrote:
>> >
>> > > Hi everyone!
>> > >
>> > > I wrote a software a while ago that would play a music sheet
>> > > generated
>> > > by lilypond. It shows the music sheet and follows it with a
>> > > cursor. I
>> > > made a video to demo the end-result. You can watch it at
>> > > https://s-d-m.github.io/lilydumper/intro_assets/lilyplayer-demo.w
>> > > ebm
>> >
>> > Wow. I'm impressed. This is something that I could use!
>> > I downloaded the sources from GitHub but was not able to compile
>> > succesfully (yet). I'm on Linux Fedora 28.
>> >
>> > I hope a userfriendly distribution of the tools will be available
>> > one day.
>> > Or a Makefile that works on my system.
>> >
>> > If anyone has succesfully compiled these tools on a Fedora system
>> > please
>> > share what additional libraries, steps or patches were required.
>> >
>> > --
>> >
>> > MT
>> >
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-13 Thread Martin Tarenskeen



On Fri, 13 Jul 2018, Samuel DA MOTA wrote:


Hi Martin,

Thanks for the feedback.

Unfortunately since it always was a side project I didn't get much
time to polish it like I wanted. In any case, feel free to clone it
and improve upon.

I kept the build system simple on purpose so that fixing these issues
shouldn't be too hard. Had I more time I would have used Meson.

Out of curiosity, what is the error you get?


When trying to compile lilydumper:

make -C ./src "lilydumper"
make[1]: Entering directory 
'/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilydumper/src'
make[1]: *** No rule to make target 'lilydumper'.  Stop.
make[1]: Leaving directory 
'/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilydumper/src'
make: *** [Makefile:4: lilydumper] Error 2

When trying to compile lilyplayer:

make -C ./src "all"
make[1]: Entering directory 
'/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilyplayer/src'
"/usr/lib64/qt4/bin/uic" -o "ui_mainwindow.hh" "mainwindow.ui" && \
sed -i '1i // Avoid warnings on generated headers\n#if !defined(__clang__)\n  #pragma GCC 
system_header\n#endif\n' "ui_mainwindow.hh"
g++ -std=c++1z -Werror -fno-rtti -fstrict-enums -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -fcf-protection=full 
-fstack-clash-protection -Werror -Wno-pedantic -Wpointer-arith -Wall -Wextra -Wformat=2 -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default 
-Wswitch-enum -Wuninitialized -fstrict-aliasing -Wstrict-overflow=5 -Warray-bounds -Wfloat-equal -Wundef -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings 
-Wconversion -Wsign-conversion -Wmissing-declarations -Wpacked -Wredundant-decls -Winvalid-pch -Wlong-long -Wvarargs -Wvla -funsafe-loop-optimizations 
-Wunsafe-loop-optimizations -Wdouble-promotion -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=format 
-Wtrampolines -Wzero-as-null-pointer-constant -Wuseless-cast -Wlogical-op -Wvector-operation-performance -Wabi=11 -Wctor-dtor-privacy -Wnoexcept -Weffc++ 
-Wstrict-null-sentinel -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wswitch-bool -Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare -Wodr 
-Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wplacement-new=2 
-Wconditionally-supported -fsized-deallocation -Wsized-deallocation  -Wduplicated-branches -Wrestrict -Wregister -Wdangling-else 
-Walloc-size-larger-than=1073741824 -Walloc-zero -Walloca -Wformat-overflow=2 -Wformat-truncation=2 -Wstringop-overflow=4 -Waligned-new -Wmultistatement-macros 
-Wcast-align=strict  -fsanitize=address -fsanitize=undefined -fbounds-check  -DQT_NO_DEBUG -D_REENTRANT -DQT_WIDGETS_LIB -DQT_CORE_LIB -DQT_GUI_LIB 
-DQT_SVG_LIB -O0 -ggdb3-isystem "/usr/include" -isystem "/usr/include/QtWidgets" -isystem "/usr/include/QtCore" -isystem 
"/usr/include/QtGui" -isystem "/usr/include/QtSvg" -isystem "**Unknown**/mkspecs/**Unknown**" -I ./ -MD -c -o "main.o" 
"main.cc"
cc1plus: error: /usr/include/QtWidgets: No such file or directory 
[-Werror=missing-include-dirs]
cc1plus: error: **Unknown**/mkspecs/**Unknown**: No such file or directory 
[-Werror=missing-include-dirs]
In file included from 
/usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39,
 from 
/usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2450,
 from /usr/include/c++/8/iosfwd:38,
 from /usr/include/c++/8/ios:38,
 from /usr/include/c++/8/ostream:38,
 from main.cc:1:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires 
compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^~~
In file included from /usr/include/c++/8/ext/string_conversions.h:41,
 from /usr/include/c++/8/bits/basic_string.h:6361,
 from /usr/include/c++/8/string:52,
 from /usr/include/c++/8/bits/locale_classes.h:40,
 from /usr/include/c++/8/bits/ios_base.h:41,
 from /usr/include/c++/8/ios:42,
 from /usr/include/c++/8/ostream:38,
 from main.cc:1:
/usr/include/c++/8/cstdlib:75:15: fatal error: stdlib.h: No such file or 
directory
 #include_next 
   ^~
cc1plus: all warnings being treated as errors
compilation terminated.
make[1]: *** [Makefile:429: main.o] Error 1
rm ui_mainwindow.hh
make[1]: Leaving directory 
'/home/m.tarenskeen/rpmbuild/SOURCES/GIT/lilyplayer/src'
make: *** [Makefile:5: all] Error 2
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-13 Thread Richard Shann
On Fri, 2018-07-13 at 09:39 +0200, Samuel DA MOTA wrote:
> Hi Martin,
> 
> Thanks for the feedback.
> 
> Unfortunately since it always was a side project I didn't get much
> time to polish it like I wanted. In any case, feel free to clone it
> and improve upon.
> 
> I kept the build system simple on purpose so that fixing these issues
> shouldn't be too hard. Had I more time I would have used Meson.
> 
> Out of curiosity, what is the error you get?

I, too, couldn't make lilydumper on Debian 9.3 (stretch) with
make
make -C ./src "lilydumper"
make[1]: Entering directory '/home/rshann/lilydumper/src'
make[1]: *** No rule to make target 'lilydumper'.  Stop.

but then g++-8 is not available in Debian Stretch it seems ...

Richard Shann

> Cheers
> 
> On 13/07/2018, Martin Tarenskeen  wrote:
> > 
> > 
> > On Thu, 12 Jul 2018, Samuel DA MOTA wrote:
> > 
> > > Hi everyone!
> > > 
> > > I wrote a software a while ago that would play a music sheet
> > > generated
> > > by lilypond. It shows the music sheet and follows it with a
> > > cursor. I
> > > made a video to demo the end-result. You can watch it at
> > > https://s-d-m.github.io/lilydumper/intro_assets/lilyplayer-demo.w
> > > ebm
> > 
> > Wow. I'm impressed. This is something that I could use!
> > I downloaded the sources from GitHub but was not able to compile
> > succesfully (yet). I'm on Linux Fedora 28.
> > 
> > I hope a userfriendly distribution of the tools will be available
> > one day.
> > Or a Makefile that works on my system.
> > 
> > If anyone has succesfully compiled these tools on a Fedora system
> > please
> > share what additional libraries, steps or patches were required.
> > 
> > --
> > 
> > MT
> > 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-13 Thread Samuel DA MOTA
Hi Martin,

Thanks for the feedback.

Unfortunately since it always was a side project I didn't get much
time to polish it like I wanted. In any case, feel free to clone it
and improve upon.

I kept the build system simple on purpose so that fixing these issues
shouldn't be too hard. Had I more time I would have used Meson.

Out of curiosity, what is the error you get?

Cheers

On 13/07/2018, Martin Tarenskeen  wrote:
>
>
> On Thu, 12 Jul 2018, Samuel DA MOTA wrote:
>
>> Hi everyone!
>>
>> I wrote a software a while ago that would play a music sheet generated
>> by lilypond. It shows the music sheet and follows it with a cursor. I
>> made a video to demo the end-result. You can watch it at
>> https://s-d-m.github.io/lilydumper/intro_assets/lilyplayer-demo.webm
>
> Wow. I'm impressed. This is something that I could use!
> I downloaded the sources from GitHub but was not able to compile
> succesfully (yet). I'm on Linux Fedora 28.
>
> I hope a userfriendly distribution of the tools will be available one day.
> Or a Makefile that works on my system.
>
> If anyone has succesfully compiled these tools on a Fedora system please
> share what additional libraries, steps or patches were required.
>
> --
>
> MT
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-13 Thread Martin Tarenskeen




On Thu, 12 Jul 2018, Samuel DA MOTA wrote:


Hi everyone!

I wrote a software a while ago that would play a music sheet generated
by lilypond. It shows the music sheet and follows it with a cursor. I
made a video to demo the end-result. You can watch it at
https://s-d-m.github.io/lilydumper/intro_assets/lilyplayer-demo.webm


Wow. I'm impressed. This is something that I could use!
I downloaded the sources from GitHub but was not able to compile 
succesfully (yet). I'm on Linux Fedora 28.


I hope a userfriendly distribution of the tools will be available one day. 
Or a Makefile that works on my system.


If anyone has succesfully compiled these tools on a Fedora system please 
share what additional libraries, steps or patches were required.


--

MT

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-13 Thread Jan-Peter Voigt
Hi Sam,

thanks a lot for sharing this!

Best
Jan-Peter

Am 12.07.2018 um 23:48 schrieb Samuel DA MOTA:
> Hi everyone!
> 
> I wrote a software a while ago that would play a music sheet generated
> by lilypond. It shows the music sheet and follows it with a cursor. I
> made a video to demo the end-result. You can watch it at
> https://s-d-m.github.io/lilydumper/intro_assets/lilyplayer-demo.webm
> 
> The soft is mainly based on the event listener. If you are interested
> in knowing how I extracted pieces of information from lilypond to know
> e.g. where on the music sheet the cursor is and at which time, you can
> read the documentation at https://s-d-m.github.io/lilydumper/
> 
> The tool to extract the data and generate a "playable" music sheet is
> lilydumper: https://github.com/s-d-m/lilydumper and the one that
> actually plays it is lilyplayer: https://github.com/s-d-m/lilyplayer
> 
> If you think adding a new output to lilypond for that use case would
> be nice and have questions, let me know.
> 
> Kindest regards
> 
> Sam
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Software playing lilypond's music sheets

2018-07-12 Thread Johan Vromans
Wow!

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Software playing lilypond's music sheets

2018-07-12 Thread Samuel DA MOTA
Hi everyone!

I wrote a software a while ago that would play a music sheet generated
by lilypond. It shows the music sheet and follows it with a cursor. I
made a video to demo the end-result. You can watch it at
https://s-d-m.github.io/lilydumper/intro_assets/lilyplayer-demo.webm

The soft is mainly based on the event listener. If you are interested
in knowing how I extracted pieces of information from lilypond to know
e.g. where on the music sheet the cursor is and at which time, you can
read the documentation at https://s-d-m.github.io/lilydumper/

The tool to extract the data and generate a "playable" music sheet is
lilydumper: https://github.com/s-d-m/lilydumper and the one that
actually plays it is lilyplayer: https://github.com/s-d-m/lilyplayer

If you think adding a new output to lilypond for that use case would
be nice and have questions, let me know.

Kindest regards

Sam

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user