Am 21.02.2018 um 15:40 schrieb Joshua Stutter:
[…]

fun = #(define-music-function (parser location note dur) (ly:pitch? ly:duration?)
#{ $note$dur #})

and create notes from pitches and durations within #{ #}. I explained that, to the best of my knowledge, this is not possible and new notes must be constructed within Scheme and cannot be concatenated like this.
That’s not true, you simply need a space between $note and $dur:

\version "2.19.81"

fun = #(define-music-function (parser location note dur) (ly:pitch? ly:duration?)
#{ $note $dur #})

\fun c' 4

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to