lilypond-user
[Top][All Lists]
Advanced

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

Abstracting these commands


From: Michiel Sikma
Subject: Abstracting these commands
Date: Sun, 30 Apr 2017 12:48:53 +0900

Hello,

I've got a question about a few commands I've got. They have some duplicate text, and I was wondering if there's a way to maybe simplify or abstract the code a bit.
https://gist.github.com/msikma/a00238a0a6155d080d8c8ca57870f360
I actually wrote this a while ago, so I'm no longer 100% sure if I can do this entirely with regular markup commands, but I recall there was a reason I had to do it this way... at least I remember the tweaks are there to ensure there is no gap in notes until the end of the markup text.
http://i.imgur.com/Hn2l3dG.png
Since I have zero experience with Lisp style programming I'd be super grateful for any tips on this.

Regards,
Michiel

reply via email to

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