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."

21 of 227 comments (clear)

  1. One of the quality OSS projects by Saven+Marek · · Score: 2, Interesting

    Some F/OSS projects just aim to get a job done, do it, and leave it up to someone else (perhaps less qualified?) to complete things, to produce a complete package that does the job well

    Han-wen & Jan have done one of the latter, this is a supreme polished job that's only getting better. Kudos

    adult desktops & wallpapers

  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. My question is by Anonymous Coward · · Score: 1, Interesting

    is there anything like cakewalk available for linux?

  4. What's in a word ? by cyberchondriac · · Score: 3, Interesting

    It seems to me that they're trying to redefine "score editor" and yet generally, that's what it seems to be, more or less.
    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. It's not truly a necessity anymore, with a good ear and modern equipment, ideas can quickly be stored for future embellishment or shown to others in the absence of an actual instrument. It's not even necessary for registering with the library of congress, an audio tape will suffice.

    --

    Look back up at my post, now look back down, you're on the Internet. Now look back up. I'm a signature.
    1. 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).

    2. Re:What's in a word ? by zerblat · · Score: 2, Interesting
      Lots of other cultures use different methods to write down music. Especially in India, China and other parts of Asia.

      What search query did you use? Try this.

      --
      Please alter my pants as fashion dictates.
  5. Contradiction? by Feztaa · · Score: 2, Interesting

    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.

    Am I missing something or are those two properties mutually contradictory? If converting means removing stuff, then the format would have to be a subset of the original, but if it's expressive enough to express other formats, then would it not also have to be a superset?

    I basically read that as "It must be both more and less than what we have, and MusicXML is neither of those things"

    1. Re:Contradiction? by Hitmouse · · Score: 2, Interesting

      I'd rather put more work into MusicXML rather than damn it from the outset. The limitations in Finale (and Sibelius) plus versioning problems means there is limited appeal for storing music descriptions thus. Remember also that MIDI is not designed as a notation format and that programs reading from it generally have to supply rests etc by interpolation/guesswork. So in some respects MusicXML might be considered "less lean" than MIDI, but the result is an unambiguous rendering of the composer's intent.

    2. Re:Contradiction? by TheRaven64 · · Score: 2, Interesting

      The first statement is talking about semantics, the second is about syntax. Try comparing a LaTeX document to the same thing in XHTML. The XHTML will include more markup (i.e. more syntax), but semantically they are the same. They are saying that the syntax of MusicXML is more complex, but it is less expressive (not semantically equivalent).

      --
      I am TheRaven on Soylent News
  6. Re:Why is it by Reteo+Varala · · Score: 3, Interesting
    You want a screenshot? Well, who am I to let you down? :D
    lilypond (GNU LilyPond) 2.1.0
    Running usr...
    Now processing: `airship.ly'
    Parsing...
    Interpreting music...[8][16][24][32][34]
    Preprocessing graphical objects...
    Calculating line breaks... [3][6][9][12][15][18][21][24][27][30][33][34]
    war ning: Could not find line breaking that satisfies constraints.
    paper output to `airship.tex'...

    Interpreting music...
    ...warning/error messages eliminated...
    MIDI output to `airship.midi'...
    Track ...
    writing header field `title' to `airship.title'...
    writing header field `subtitle' to `airship.subtitle'...
    writing header field `footer' to `airship.footer'...

    Analyzing airship.tex...
    Running latex...
    Running dvips...
    Running ps2pdf...
    DVI output to `airship.dvi'...
    MIDI output to `airship.midi'...
    PDF output to `airship.pdf'...
    PS output to `airship.ps'...
    *chuckle* A beautiful screenshot to the CLI geeks like me. ;)
  7. Re:Yeah, right by Anonymous Coward · · Score: 1, Interesting
    "The apparent convenience of one big monolithic software package can often be outweighed by its disadvantages."

    I see a number of programs, such as Graphire Music Press, that would negate your statement.

  8. Future possabilities. by Anonymous Coward · · Score: 2, Interesting

    I see tools like Lilypond and Rosegarden and other such tools as the audio embodyment of the Unix philosophy of "a tool good at a specific task". This works for stringing commandline tools together, and this works as well as one gets higher level. Imagine for a second collaborationware for musicians, with output everyone can be proud of.

  9. 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. Re:Market choice by Xcott+Craver · · Score: 2, Interesting
    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

    Intuitive maybe, but painfully slow. Imagine having to type a paper using your mouse.

    I use ABC notation to notate tunes, and I'm surprised nobody has mentioned it yet. When I get a tune in my head, I can just type it in quickly, and convert it to sheet music or MIDI on the command line. I don't need any special software to write the music, beyond vi.

    Another nice property of ABC notation: you don't have to pass it through software before you can read it. Because it mimics a staff line using ASCII characters, ABC is readable enough that some musicians can sight-read an ABC as well as sheet music. People commonly use the notation in trad music mailing lists or Usenet posts, which is another good reason to have a good plain-text notation for notating melodies.

    ABC versus Lilypond: ABC notation is intended for notating melodies (e.g., folk melodies) rather than arbitrary polyphonic music, It is a file format designed to do one specific thing very well, without being extended into something cumbersome but general-purpose.

    Xcott

  11. Re:Counter point by Spock_NPA · · Score: 2, Interesting

    What the... I used LaTeX for all my word processing need throughout high school. =) I even heard of this one kid who used it to take notes in AP CS, though I'm of the opinion nothing beats the pencil and paper approach for note taking.

    --
    Regards,
    Spock_NPA
  12. Re:Yeah, right by 0x0d0a · · Score: 2, Interesting

    Honestly, I have no idea what TeX is, so, I don't know the comparison.

    TeX and LaTeX are (roughly) the general typographical layout equivalents of Lilypond -- instead of producing musical scores, one produces text and math formulas. Each is a GUIless program that takes a set of plain text input, and produces a rendered, formatted set of output.

    Because BSD and Linux lacked a decent free word processor for a long, long time, a lot of people learned LaTeX in the place of a word processor. LaTeX is really intended for extremely high-quality textual output -- the sort of thing that a typesetter would use to produce a book. As Knuth (the author of TeX) put it, he was shocked when people started requiring college students to use TeX for their papers -- he saw TeX as a system that required more work to use but was worth it when you wanted to go the extra distance and get really good output.

    LaTeX (a sort of child of/extension of TeX) is commonly required as a format to submit papers in, since it produces high-quality output and can be used to allow certain formatting tasks that are very difficult with a word processor. Another benefit of LaTeX is that it uses a text format to represent math formulas, and so LaTeX is often used on USENET and other text-based forums to represent complex mathematical formulas. It's relatively quick to enter forumlas into LaTeX, so it's become dominant in the computer science and mathematical fields.

    If you've ever run into CSS, you may understand some of the benefit of using a LaTeX-style system over a more conventional GUI. It lets you assign meaning to elements of your document that can let you perform very powerful operations later. For example, have you ever used stylesheet functionality, present in most word processors? This is a very limited form of this. You can "create a new style", assign text to be of that style, and later tweak the format of an entire book easily by changing properties of the style sheet.

  13. Re:Counter point by nagora · · Score: 2, Interesting
    You'd be better off learning plain TeX. It's much more flexible and powerful AND easier to learn. LaTeX is bloatware with few advantages unless you are only ever going to work within formats that other people have already designed and that's unlikely.

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  14. Re:ABC Notation by djw · · Score: 2, Interesting
    it is possible to play a tune directly from the abc notation without having to process and print it out.
    And when you do want to process and print it out, run it through the ABC-to-Lilypond converter, abc2ly , which comes with Lilypond.
  15. linux and music notation by cybin · · Score: 2, Interesting

    lilypond looks nice for many things, and i think it's a step in the right direction. the problem is, there's always a rift between what the musicians want to notate and what the software is able to do.

    can lilypond notate beams across barlines? can you hide rests? can you make invisible barlines? all this stuff is important to me, since that's the kind of music i write. sibelius does them wonderfully, and i've heard rumors that sibelius' base engine is written in ASM and could be easily ported to linux from OS X.

    on the other hand, i have a big problem in that i wrote a lot of stuff in Finale, and then I switched to sibelius, and even the file convertor doesn't work right a lot of the time. if lilypond can offer a good long-term storage format that is easy to read by both humans and computers, it could have a big niche in digital preservation, and be a common point between notation programs.

    anyone want to write a finale->lilypond convertor? :)

  16. Re:Some have the wrong idea by fritzfingers · · Score: 2, Interesting
    I have looked at all these (including Brahms), and the problem with them is that they don't even support a small subset of lilypond. If you really need to do some serious typesetting, you are forced to use the textformat. And this is what will still scare most musicians away.

    For a interactive musicapp to work good, it will need to have a fair amount of typesetting knowledge, and the best way is to have everything integrated. I really think lilypond has some advantages (such as mixing lilypond with LaTeX, beautiful scores), but to be a good replacement for finale and the others, it will need to have an interactive interface. It seems to me that the developers are not really interested in making it confortable for users (they have that right), but that means a that the program is only usefull for musicians which are also hackers (not many of them), and this is an onfortunate waste of effort.