Slashdot Mirror


Linuxmusician.com Interviews LilyPond Authors

jcn writes "Chris Cannam talks to the authors of one of the best-known and most ambitious music programs for Linux, the LilyPond score engraving system. Unlike other typesetting software like Finale or Sibelius, LilyPond is not a score editor, it aims to use simple textual description of the music and turn it into the highest possible quality output, automatically. Han-Wen says: In my opinion, any file format that claims to be universal should have two properties: it should have an expressive structure, so other formats can be expressed in it, and it should be as lean as possible, so that converting from other formats amounts to removing information. I think that MusicXML fits neither. Ouch."

18 of 227 comments (clear)

  1. Why is it by jeffkjo1 · · Score: 4, Insightful

    Why is it that so many Unix/Linux programs (and everything else, for that matter) do not provide simple screenshots on their products websites?

    If I'm going to download your program and install it (and in many cases, take time to compile it...) I want to know that it's going to look halfway decent when I'm done.

    Why is this so hard for some programmers to understand?

    1. Re:Why is it by Anonymous Coward · · Score: 5, Insightful

      What's the point of a screenshot of a commandline text processor like lilypond?

      I'd have thought the scans of the printed output on the site would be more than enough.

      What next. Do you want a screenshot of the scrolling messages at boot of the next linux kernel?

  2. Seperation of content and presentation by after · · Score: 5, Interesting

    A good example of seperating content from presentation is to use an XML-type file (at least have a structured document model) where the music data is defined. Then, have somthing like an XLS sound stylesheet to define how the data will sound like. As a developer, this would create greater posibilities what I could do with the sound that my application processes.

    On a side noce GNoise is a good sound editor that I recommend to anyone doing edeting or large sounds like game-music (that is uncompressed in raw format.)

    1. Re:Seperation of content and presentation by merphant · · Score: 4, Interesting

      I have been learning Lilypond lately to typeset a complex piano score (Liszt's Hungarian Rhapsody#2). One of the things that struck me is that is that writing Lilypond code is a lot like writing XHTML, except the syntax is different. The syntax lets you group your score into smaller chunks pretty much any way you like. Lilypond uses Scheme (via GUILE) similar you would use CSS to define and alter the default layout. Since Scheme is a programming language, you can also use it to generate content like you would with JavaScript, PHP, etc. It seems that

  3. Re:Market choice by Osty · · Score: 4, Informative

    While I'm not completely familiar with Lilypond, from what I understand it's not trying to be the full, end-to-end solution for music typesetting. It's trying to solve the problem of how you can easily represent musical notation in a textual format and get it to print out into a format as close to human engraving as possible. In otherwords, think of it as TeX for music.


    Just as there are GUI frontends for TeX (LyX, for instance), it's completely possible to write a GUI frontend for Lilypond. There are already several projects that might fit the bill on Freshmeat, and I'd be willing to bet that there are several more over at SourceForge (whether or not any of them actually make it past the pre-alpha stage is anybody's guess).

  4. Re:Ugh... this is like betamax by Jeffrey+Baker · · Score: 4, Insightful
    LilyPond is "never going to get off the ground"? It's been around for years and is a wonderful tool that many people use. Quite a lot of music is available from LilyPond's format, including a huge library of music in the public domain, ala Project Gutenberg. I have myself set Arban's Method for trumpet using LilyPond. Your claim is starkly in contrast with current reality.

    Furthermore, I find LilyPond's text format far faster for input than using a GUI. Like speach, music is an abstract concept that the human can nevertheless learn to set in a concrete form using a keyboard. Payware music typesetting programs also has a keyboard input mode, and most advanced users use it.

  5. Re:Market choice by nanowyatt · · Score: 4, Informative
    --
    Intellectuals! Liberals! Peacemongers! IDIOTS!!!
  6. The dangers of noble efforts... by ndykman · · Score: 4, Insightful

    I was reading this, and it basically summed up how good ideas can go horribly wrong. Basically, the authors are trying to make a tool that matches their ideal of music engraving. So, the use LaTeX markup ideas, add in a Scheme interpreter, don't really bother with MIDI import or other standards, focus on one thing to the exclusion of all else and basically come up with a tool that almost nobody will probably use.

    Because most musicians just want to make readable scores quickly and effectively. They aren't looking to make works of art. Those people that want engraving, will probably pay an engraver to do so. And engravers have their own tools.

    The whole thing seemed to be "we make better printouts that anybody else" seems awfully subjective and not really the main point.

    A tool that likely takes 10 times as long to make a simple score for band class (not to mention the huge learning curve) is not a good computer tool for most musicians. A tool that bangs out pretty nice scores fast, that's a good use of software.

  7. Re:Market choice by merphant · · Score: 4, Informative

    Chris Cannam, the interviewer in the article, is one of the principal authors of Rosegarden, a free sequencer and music notation editor that runs on Linux. It can output to both Lilypond and MusicXML, among other formats.

  8. Re:What's in a word ? by Anonymovs+Coward · · Score: 4, Interesting
    because I wonder how many musicians today can actually read music

    All of them.

    Dave Brubeck can't. Django Reinhardt couldn't. Paco de Lucia can't (he learned the notation when he wanted to record Falla's classical pieces and Rodrigo's Concierto de Aranjuez, but it was laborious). Not all musicians need to know to read music, and not all musical cultures use western notation even when they write music (eg, India).

  9. Counter point by chreekat · · Score: 5, Insightful

    Ok, everybody seems to knocking LilyPond so far, so I thought I'd put out my initial opinion. I've been learning LaTeX recently, and in spite of the waves of horror you feel the first time you look at it, it is actually extremely good at what it does. Revelation, I know, but the point is it ISN'T made for high schoolers writing their history reports. Same thing with LilyPond here. It doesn't look easy, but then, typesetting music isn't easy. LilyPond and LaTeX are an order of magnitude less complex, even if the coefficient is higher than, say, MS Word or Finale. I know I would die if I had to write a book in Word.
    Also note that this is not intended to be a replacement for Finale, but rather an entirely different way of getting the job done. They've taken to engraving what TeX took to typesetting.
    The coolest thing about this project to me is that I was wondering earlier if anything existed. :) I thought, "If someone did it for typesetting, can't it be done for music?"

    1. Re:Counter point by beanyk · · Score: 4, Interesting

      Hear, hear.

      I used Word 2.0 to type up my Master's thesis, which being Physics, had *lots* of equations. Equation Editor was hell. And my Math grad friends were using this thing called LaTeX for theirs, and it intimidated the hell out of me. Now I'm typing up my PhD, and LaTeX is a godsend.

      Having something similar for musical scores is cool -- just one or two minor projects I have in mind.

  10. LilyPond is aimed at a small target market by Dominic_Mazzoni · · Score: 5, Insightful

    I'm a pretty serious amateur jazz musician, and I do a fair amount of composing and arranging for jazz ensembles of about 8-16 musicians.

    LilyPond is not intended for people like me. If you're less serious than I am, LilyPond is definitely not intended for you.

    The most popular music notation software is Finale. Finale is buggier than Windows ME and twice as bloated, but once you learn how to use it, it gets the job done. You can enter your notes relatively quickly, tweak them a little, print, and go. While it has some very non-intuitive options, it's straightforward enough that most amateur musicians are able to sit down and click around until they get it to do what they want.

    How's the output? Pretty crappy if you don't spend any time playing with it. But if you spend a little bit of time fixing the glaring errors, the result is readable by most musicians.

    LilyPond, on the other hand, reads a description of the music in a text-based format, and formats it automatically - using much nicer algorithms than Finale apparently uses. It might take quite a bit longer to get your music input, but the end result will look nice - and will not require nearly as much tweaking.

    LilyPond, by itself, is only of use to professional engravers, and only those who are willing to learn how to use it. If somebody ever develops a front-end to LilyPond that's actually integrated (as opposed to something like Rosegarden that can just export to LilyPond's format), then it might be more accessible to the average musician.

    Don't get me wrong - I think that LilyPond is great. I just think that a lot of the complaints I'm seeing in this forum are because people don't understand what problem LilyPond is trying to solve and who will benefit.

    No, LilyPond is not ready to replace all of the other music notation software out there. But it's one of the best tools for professional music engraving already, and maybe someday it can also be an appropriate tool for the casual user, too.

    1. Re:LilyPond is aimed at a small target market by adamjaskie · · Score: 4, Insightful

      Right.

      Think of LilyPond as the back end. It takes the music, and makes it pretty. This is how things are done in Unix. You do one thing, and you do it well. In the case of LilyPond, this one thing is typesetting music, and it happens to do it VERY well.

      It is the job of another software program to provide an interface to LilyPond and make it easy to use.

      --
      /usr/games/fortune
  11. Some have the wrong idea by Anonymous Coward · · Score: 5, Informative
    This is not meant to replace a score editor!!!

    Analogous to the world of word processing, this software is more in the category of software like TeX, LaTeX, or even Postscript and PDF, to a lesser extent. This is software made for pretty printing music. It is meant to do this job, and this job alone very, very well. While one could edit it directly (it's not that difficult to work with), that would be something like using a flathead screwdriver on a screw that is clearly a Philips.

    What people should do is look for a score editor that can export LilyPond documents. I'll help start you off:

    I'm sure there are others out there.
  12. Re:Market choice by phliar · · Score: 4, Informative
    I don't understand why Lilypond aims to go back to having a proprietary textual format for typesetting music. Most people, I'd imagine, would want to typeset music graphically, as it's just more intuitive that way
    You might want to distinguish between composing and typesetting. Nothing beats manuscript paper and pen for composing. As Han-Wen says,
    Even in the age of computers, classical composers still write music by scribbling stacks of note-paper full with ideas and fragments, and piecing those bits together to a full score. It's a very laborious process, but computers cannot give them the same overview as a bunch of paper fragments spread out over a desk would do.
    Lilypond is a typesetting system. The composer sends the completed music to the typesetter/engraver who makes it look nice.

    I have a lot of music that's hard to read, or scribbled on some paper, or whatever. Transcribing music into the computer is so much easier with Lilypond that with WYSIWYG programs! My hands stay on the keyboard, I look at the music and type

    \time 4/4
    \key g\major
    \tempo 4=140 % metronome marking
    g2\pp \< c8 r8 b4 \! % G half note pp and crescendo to
    g2\ff( a4 b4) % G half note ff. The G and quarter notes A and B are slurred
    ...
    On a WYSIWYG system, think about all the mousing and clicking to select and place key and time signatures, metronome marking, three different note durations, a crescendo, a slur, and dynamics. (The percent sign introduces a comment.) Placing an accent on a note? That's just a character. Repeats? That's one word volta. And so on.
    --
    Unlimited growth == Cancer.
  13. Re:What's in a word ? by Dominic_Mazzoni · · Score: 4, Informative

    While the printed output is asthetically pleasing, it strikes me as an odd technology to persue, because I wonder how many musicians today can actually read music. I'd wager the vast majority of rock musicians can't, and that roughly half of pop musicans can't. I can't, and I've written "plenty" of material and play several instruments.

    Thanks to strong middle and high school music programs, more people can read music today than ever before.

    Reading music is still simply the fastest way for an experienced musician to learn a new piece of music. Many jazz and classical musicians (including myself) can sightread (play it while reading it for the first time) quite complicated pieces of music, up to tempo, which is an extremely valuable skill.

    Of course there are a small minority of successful recording artists who can't read music, but the vast majority of successful musicians do read music, and most of them read music well. I don't see this changing anytime soon.

  14. ABC Notation by smcdow · · Score: 4, Informative
    The ABC Notation is very popular amongst tradtional music enthusiasts. It's the format of choice for emailing and exchanging tunes on tradional music mailing lists and newsgroups. ABC is in widespread use.

    Here's the introduction:

    abc is a language designed to notate tunes in an ascii format. It was designed primarily for folk and traditional tunes of Western European origin (such as English, Irish and Scottish) which can be written on one stave in standard classical notation. However, it is extendible to many other types of music and recently Steve Allen has coded Beethoven's Symphony No. 7, Movement 2 in abc! Since its introduction at the end of 1991 it has become very popular and there now exist several Windows, Mac, Palmtop and UNIX based tools which can read abc notation and either process it into staff notation or play it through the speakers of a computer.

    One of the most important aims of abc notation, and perhaps one that distinguishes it from most, if not all, computer-readable musical languages is that it can be easily read by humans. In other words, with a little practice, it is possible to play a tune directly from the abc notation without having to process and print it out. Even if this isn't of interest, the resulting clarity of the notation makes it fairly easy to notate tunes. In addition, the ability to write music in abc notation means that it can be easily and portably stored or transported electronically hence enabling the discussion and dissemination of music via email.

    (Emphasis mine.)

    ABC is an extremely popular format for collecting and exchanging tunes. There are Large Tune Repositories and Tune Search Engines using ABC.

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.