[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typesetting output on one long line
From: |
Curt McDowell |
Subject: |
Re: Typesetting output on one long line |
Date: |
Tue, 26 Jan 2021 18:18:24 -0800 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
Amy,
Recently I made a single-line scrolling video using LilyPond. Take a
look at this monster... nobody else has yet :)
https://www.youtube.com/watch?v=I0qevLvmvCw
I had LilyPond output the whole thing as a single .png image. The image
is so wide (60635 x 1082) that it immediately crashes utilities like
ImageMagick. However, Gimp works on it.
I used this in the the .ly file:
\paper {
line-width = 600\in
left-margin = 0.25\in
right-margin = 0.25\in
check-consistency = ##f
page-count = 1
indent = #0
ragged-last-bottom = ##f
ragged-right = ##f
ragged-last = ##f
}
\header {
tagline = ##f
}
#(set-global-staff-size 69)
and used the command:
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts
-dpixmap-format=pngalpha --png Merry_Go.ly
Then I had a Python script to extract a sliding window of sub-images
from the png and add background, used ffmpeg and other tools -- one
filthy hack after another.
It looks like I maybe should have used 60Hz framerate instead of 30Hz.
Regards,
Curt
On 1/26/2021 8:56 AM, Amelie Protscher wrote:
Dear list members,
although I'm a veteran user since 1.6.6, I've just come across a problem
that I can't solve on my own and I can't believe it hasn't been
implemented yet. I'm trying to get Lilypond to output the music (just a
regular piano piece) on one long line, i.e. as if on an endless long
paper strip. The reason is that I'd like to let the notes scroll along
on a video screen while the music is being played so the viewer's eyes
can always stay in the middle of the screen.
Do you know what I mean? And does anybody know how to do it?
Kind regards,
Amy