lilypond-user
[Top][All Lists]
Advanced

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

Re: Outputting to stdout


From: Curt McDowell
Subject: Re: Outputting to stdout
Date: Sun, 30 Aug 2020 13:10:15 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Another way to hack it on Linux:

ln -s /dev/stdout my_file.png
lilypond --png my_file.ly | my_program
rm my_file.png

Regards,
Curt

On 8/21/2020 4:02 PM, David Wright wrote:
On Fri 21 Aug 2020 at 22:00:54 (+0200), Krystian Chachuła wrote:
Is there a way of making lilypond output the generated png to stdout?
My intention is to animate a score in a Python script.
The shortest way is illustrated at
https://lists.gnu.org/archive/html/lilypond-user/2020-05/msg00368.html
but I haven't tested it. My own method, which uses a named pipe, is
further up the thread, but as it splits across the months, here's the link:
https://lists.gnu.org/archive/html/lilypond-user/2020-04/msg00500.html

Obviously substitute PNG for SVG.

Cheers,
David.


reply via email to

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