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: Dr. Thomas Tensi
Subject: Re: Video generation, bash script, keeps sync in spite of tempo changes
Date: Tue, 27 Sep 2016 23:43:58 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Dear all,

> [comparison of Knut Petersen's mkvideo vs.
>  ly2video]

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.

Advantages:
  + runs on _any_ platform with Python (also
    e.g. on Windows)
  + works with all lilypond versions
  + produces a paged video comparable to a
    music score (not a continuous band of notes
    like ly2video) that is quite compact
  + has (optional) subtitles showing the current
    measure number
  + is - in my opinion - easier to maintain
    than a shell script (although I admire
    Knut for his expertise here)
  + does not produce any additional file for
    video generation (only png/ps files)

Disadvantages:
  - needs an additional tempo file telling about
    the tempo changes in the piece
  - might be slower than the bash solution
  - parses the PS file for page boundaries; this
    might break in the future
  - has no cursor (I'm with Knut here, I find
    a cursor distracting)

I have no problem with the tempo file; for most pieces
it contains a few lines, often only one for the
initial tempo, but, of course,  Knut's approach could
be reused to produce the tempo file automatically.

If you are interested, the whole process is described
in
    http://www.tensi.eu/thomas/iPod/notation-video.html

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


        Best regards,

                Thomas



reply via email to

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