But of course, for this example, this will work without any added file
av = #(define-music-function (parser location x) (ly:pitch?)
  #{
    $x 8 ~ $x 4
  #})

... but it will fail with chords
[ ly:pitch? return false of course, for <ees g> ]

\new Staff \relative c' {
       c4. \av <es g> f4  % error
   }


Well ... stop of experimentations for me, for this evening.

--
Gilles

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

Reply via email to