TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

“Compiling” Music

136 pointsby franekabout 3 years ago

17 comments

pdpiabout 3 years ago
As an untrained but interested bystander&#x2F;hobbyist, the scores engraved by Lilypond are orders of magnitude better than those produced by the mainstream WYSIWYG editors, in the same &quot;I deeply care about typography&quot; sort of way that you get from documents produced with TeX but not Word or Google Docs.<p>My ex-wife is a musician and a music teacher, and (especially for her teaching job) ends up writing a fair bit of sheet music. She used one of the point-and-click scorewriters for a while (Sibelius maybe?) and was thorough displeased with both the output quality and the editing process itself. After some poking and prodding, and getting her to overcome the &quot;but it&#x27;s writing code!&quot; barrier, she fell in love with how productive it is and still uses it, some 15 years later. It was pretty interesting to see somebody with no exposure to the software world develop their own habits and code style.
评论 #30626749 未加载
评论 #30628356 未加载
评论 #30627168 未加载
评论 #30628382 未加载
评论 #30627849 未加载
评论 #30628918 未加载
flyinghamsterabout 3 years ago
If creating your scores in vimacs and then typing &quot;make&quot; isn&#x27;t your cup of tea, there&#x27;s Frescobaldi, essentially an IDE for Lilypond.<p><a href="https:&#x2F;&#x2F;frescobaldi.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;frescobaldi.org&#x2F;</a>
dangabout 3 years ago
Related:<p><i>Lyp – The Lilypond Swiss Army Knife</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13259590" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13259590</a> - Dec 2016 (7 comments)<p><i>LilyBin, an Online Musical Score Editor (using LilyPond)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9414004" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9414004</a> - April 2015 (1 comment)<p><i>Obsessed with putting ink on paper or What&#x27;s wrong with computer music notation?</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1515262" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1515262</a> - July 2010 (36 comments)<p><i>Open source typesetter for sheet music</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1192289" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1192289</a> - March 2010 (23 comments)<p><i>LilyPond architecture (music notation software in Lisp)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=379234" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=379234</a> - Nov 2008 (2 comments)
username223about 3 years ago
I&#x27;m happy to be reminded that Lilypond is still around. I used it to produce scores (and MIDIs) 15+ years ago, because it offered the same experience as LaTeX -- beautiful results if you&#x27;re willing to code and, occasionally, battle eldritch horrors beneath its surface. Like (La)TeX and Emacs, I hope it becomes one of those rare pieces of software that lasts longer than a human lifetime. Few things we build these days, not just software, endure so long.
Shugyoushaabout 3 years ago
I was pleasantly surprised when I first saw this. I always thought that lilypond was a WYSWYG for music sheets but it turned out that it&#x27;s more a LaTex for music sheets which is what I prefer for typesetting text.
aidenn0about 3 years ago
I love lilypond. My son plays the piano now and I make simplified arrangements of songs for him. He can pick out songs by ear and I&#x27;m teaching him to hand annotate first, because I don&#x27;t know a better way to encourage familiarity with the notation, but I&#x27;ll get him set up with lilypond eventually.<p>There are various nicer IDEs for it, but I just run side-by-side windows with zathura and emacs; zathura will automatically reload when PDFs change on disk so I can see my changes immediately.
tunesmithabout 3 years ago
Lilypond is freaking awesome. As a hobbyist with a music degree but unrelated career, I switched a while back, and it&#x27;s saved me multiple times over just because of backwards compatibility and free software. My old version of Sibelius doesn&#x27;t run on newer hardware, so some old scores I never ported are lost if I don&#x27;t spend money just to export. But my old lilypond scores will always be fine.
andrewzahabout 3 years ago
I&#x27;m greatly thankful for the hard work put into lilypond and frescobaldi.<p>I use lilypond to type up leadsheets for jazz and some other genres [0], inspired by Mark Veltzer&#x27;s Openbook [1]. I&#x27;ve gotten pretty fast at typing up songs over time. The goal is to have a CLI or web interface to generate a pdf for concert&#x2F;bb&#x2F;bass clef&#x2F;etc, optionally include lyrics&#x2F;QR codes, and so on.<p>Being able to transpose is quite handy, although I&#x27;m working on a system to automatically handle larger transpositions (e.g. for Eb instruments or for bass clef). The problem is if I statically pick one direction (up or down), some leadsheets will have the notes too high or low. I think I can resolve it with having all songs entered in absolute pitches and scanning for the lowest&#x2F;highest note.<p>0: <a href="https:&#x2F;&#x2F;github.com&#x2F;andrewzah&#x2F;openbook-dev" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;andrewzah&#x2F;openbook-dev</a><p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;veltzer&#x2F;openbook" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;veltzer&#x2F;openbook</a>
beepbooptheoryabout 3 years ago
Lilypond also has a guile API, and if you are not interested in the actual notation generation or at least how it looks, it can make some pretty weird and cool midi files. You can turn it into a kind of makeshift lisp Supercollider pattern generator.
评论 #30628731 未加载
评论 #30631626 未加载
recursiveabout 3 years ago
More like compiling music notation, even though this is the original title.
评论 #30630535 未加载
lelandfeabout 3 years ago
One of my family members is a music theory professor, here&#x27;s what they had to say about this:<p>&gt; [Lilypond] was one of a handful of early programs turning notation into ASCII text. Older program but still useful. MusicXML has made a lot of these older systems less productive these days, though: <a href="https:&#x2F;&#x2F;www.musicxml.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.musicxml.com&#x2F;</a><p>&gt; Developed by Michael Goode at Stanford – it&#x27;s now the international standard for music encoding.
nlake906about 3 years ago
Interesting. Looks very similar to CSound score notation, with CSound being oriented towards rendering audio files, rather than printable documents. CSound is also FOSS, and has a sound generation side that is incredibly deep and detailed.<p><a href="https:&#x2F;&#x2F;csound.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;csound.com&#x2F;</a>
Aidevahabout 3 years ago
I&#x27;ve been using Lilypond for a number of years now and it&#x27;s a truly remarkable piece of software. The quality of the engraving is extremely high, the amount of customization you can carry out is unrivalled, and it is also incredibly versatile. Out of the box it supports stuff ranging from Guitar and lute tablature[1] and notation specific to percussion[2] to modern chord names[3] and Baroque figured bass [4]. Did you know you can also use it to typeset neumes for Gregorian chant[5] and mensural notation[6]?<p>Nevertheless I should mention that Lilypond serves a different purpose and is aimed at a different audience when compared to popular scorewriters such as musescore. It is primarily an engraver and should be used to typeset existing music, composing directly into it is always going to be very awkward compared to WYSIWYG editors or even just manuscript paper. The learning curve is also quite large and you must be ready to constantly refer back to its (very well written) documentation. But like any complex tool, acquiring familiarity with it is very rewarding in the long run.<p>[1] <a href="http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;common-notation-for-fretted-strings" rel="nofollow">http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;common-...</a><p>[2] <a href="http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;common-notation-for-percussion" rel="nofollow">http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;common-...</a><p>[3] <a href="http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;displaying-chords" rel="nofollow">http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;display...</a><p>[4] <a href="http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;figured-bass" rel="nofollow">http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;figured...</a><p>[5] <a href="http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;typesetting-gregorian-chant" rel="nofollow">http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;typeset...</a><p>[6] <a href="http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;typesetting-mensural-music" rel="nofollow">http:&#x2F;&#x2F;lilypond.org&#x2F;doc&#x2F;v2.22&#x2F;Documentation&#x2F;notation&#x2F;typeset...</a>
samfriedmanabout 3 years ago
Lilypond helped me learn a lot of music theory I had missed in my learning to play piano; I use it to transcribe music now and it’s a fantastic piece of software (with fantastic docs!)
rodduxabout 3 years ago
LaTeX for music? nice!
评论 #30627946 未加载
softwarebewareabout 3 years ago
Good thing &quot;compiling&quot; is in quotes. I don&#x27;t think it actually meets the definition. It&#x27;s more like &quot;encoding.&quot;
Aaargh20318about 3 years ago
Anyone else disappointed this is not about music meant to be played while compiling code ?
评论 #30626208 未加载
评论 #30626207 未加载
评论 #30626369 未加载
评论 #30627063 未加载
评论 #30628422 未加载
评论 #30626898 未加载
评论 #30628131 未加载
评论 #30627133 未加载