lilypond-devel
[Top][All Lists]
Advanced

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

Re: Realtime display


From: Han-Wen Nienhuys
Subject: Re: Realtime display
Date: Sat, 20 May 2006 21:46:56 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060501)

Austin Taylor schreef:
Hello,

My high-level goal is to display music notation in Cocoa, quickly. I'd
like to use LilyPond for printing at some point, so using it for
display seems very natural. However, LilyPond seems to only work with
files. I haven't run any tests yet, but I'm thinking it would be way
too slow to write my input to a file, fire up lilypond, and then read
its output from disk and display it. The obvious thing would be to
keep a lilypond process alive, pipe it stuff, and get output (probably
pdf) from standard out that I can send to Quartz. Of course, that
still might not be fast enough. There would be other possible
optimizations from there. I will only be changing little bits of the
score at a time.

So my questions are:
1. Is LilyPond even the right tool for the job?
2. Is there a way to do this already?
3. Would realtime display be feasible even if this were implemented?
4. How much would it cost to have it implemented?

This is possible, there's a demo module "ikebana" in CVS that use Python+GTK to display interactive music notation, using the socket backend (a backend that reads LISP from a network connection and sends back the result over the same connection in a custom format).

Lily does not have any hooks or support for incremental rendering, so I'm not sure if you could make it fast enough.

--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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