lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Video generation, bash script, keeps sync in spite of tempo changes


From: Knut Petersen
Subject: Re: Video generation, bash script, keeps sync in spite of tempo changes
Date: Wed, 28 Sep 2016 10:11:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Am 27.09.2016 um 23:43 schrieb Dr. Thomas Tensi:
There is also another python script written by me
and mentioned in a message in this group from
March 6th. Funnily it seems to be a mixture of
the approaches of Knut Petersen and ly2video.

the python file plus some demos can be downloaded at
    http://www.tensi.eu/thomas/iPod/notation-video.zip

Your script fails here because lilypond generates ".midi" files, not  ".mid" files on linux systems.
Line 983 could be changed to

        Processing._midiFileName           = _pictureFileStem + ".midi"

to cure that problem. A better idea would be to add

     #(ly:set-option 'midi-extension "mid")

to  notationVideo.ly as this will not break other systems.
 
After that minor modification the script succeeds to produce bach_639.mp4
with lilypond 2.18.2 on linux. Unfortunately some later changes in lilypond 2.19.x break
your program, it only builds temp1.mp4, not the mp4 files for the succeeding pages.



Regards,
 Knut

reply via email to

[Prev in Thread] Current Thread [Next in Thread]