Hi Lucas, this sounds absolutely possible, but can you please give more details or - better still - an example of what you want to achieve?
Lukas Lucas Cavalcanti <lucaspi...@gmail.com> schrieb am Do., 20. März 2025, 02:05: > Hello! I'm in need of help in regards to writing a music function that has > conditions inside it: I need my argument (a number between 1 to 12) to be > evaluated by an if statement, so that it can run "\transpose c someNote". > This function would reduce a lot of code to a project of mine. > I've only found one Stack Exchange post > <https://music.stackexchange.com/questions/124792/using-conditionals-in-lilypond-scheme-functions> > but it uses #define-scheme-function, something of which I don't know if it > affects the function or not. >