Elektrine lite

← Feed

@reillypascal@hachyderm.io

Post #453959

2026-02-27 17:40 UTC

I've been using Lilypond to write musical notation with code, and here I write about how to get a convenient, smooth experience while writing that code in Neovim! I'm definitely planning to stick with this, and I'll be writing about some more fun things to do with Lilypond soon. https://reillyspitzfaden.com/posts/2026/02/friendly-lilypond-with-neovim-audacity/ #Lilypond #Composition #ClassicalMusic #ContemporaryClassical #Neovim #MIDI #Audio #Audacity

Replies (5)

  • @reillypascal@hachyderm.io 2026-04-27 00:25

    Update: I found this (macOS) utility for playing MIDI files from the command line and it works great with Lilypond/Neovim! https://ssb22.user.srcf.net/mwrhome/mac-midi.html It's about a hundred lines of C, which means even if it's abandoned at some point I should be able to update it myself. The problem with a lot of similar programs is they use e.g., fluidsynth, when what I want is to play the file back over the IAC bus into Max/MSP, SuperCollider/etc. This lets me choose the starting point in the MIDI file and easily play it into IAC from my terminal! #Neovim #Lilypond #macOS #MIDI #Composer

    Open ##2556412

  • @mosgaard@uddannelse.social 2026-02-27 19:22

    @reillypascal@hachyderm.io cool cool cool! Thanks for sharing, I love this approach.

    Open ##2556413

  • @ross@social.rossabaker.com 2026-02-27 22:41

    @reillypascal@hachyderm.io I had a program in the mid-to-late 1980s called Music Construction Set, and haven't composed much since. This post kinda makes me want to drop everything and dive back in.

    Open ##2556415

  • @ho@sonomu.club 2026-02-28 02:13

    @reillypascal@hachyderm.io Two opinionated LilyPond tips: 1. Use \language "english" at the top of each file so you can type note names as cs/cf/css/cff. Unless you really like typing Dutch note names (cis/ces/cisis/ceses). 2. The manual recommends \relative mode but I'm not a fan. I prefer "absolute" mode (the default one), and use \transpose to deal with unwieldy octaves.

    Open ##2556420

  • @noisio@chaos.social 2026-02-28 19:16

    @reillypascal@hachyderm.io I neither use NeoVIM nor Lilypond or usually do much of Computer generated Music, but must read the whole article in yesterday, just out of joy, how well written it is. Your steps were understandable and comprehensible to me and I also learned a bit. Just want say, what you are doing is important and good. Thanks for sharing!

    Open ##2556424