Urs Liska writes:
> Well, the problem at hand is that I want to apply some styles, say a
> color, to the music passed into a music function. And depending on the
> type of music this should be done by wrapping the (sequential) music
> in \temporary \override .. \revert statements, by creating \tw
Am 01.07.2018 um 10:04 schrieb David Kastrup:
Urs Liska writes:
Hi,
is there a way to discern whether the ly:music? passed into a music
function is a single note-event or a note within a chord?
\version "2.19.80"
testType =
#(define-music-function (music)(ly:music?)
(ly:message "Music
Am 01.07.2018 um 10:04 schrieb David Kastrup:
Urs Liska writes:
Hi,
is there a way to discern whether the ly:music? passed into a music
function is a single note-event or a note within a chord?
\version "2.19.80"
testType =
#(define-music-function (music)(ly:music?)
(ly:message "Music
Urs Liska writes:
> Hi,
>
> is there a way to discern whether the ly:music? passed into a music
> function is a single note-event or a note within a chord?
>
> \version "2.19.80"
>
> testType =
> #(define-music-function (music)(ly:music?)
>(ly:message "Music type(s): ~a" (ly:music-property mu
Hi,
is there a way to discern whether the ly:music? passed into a music
function is a single note-event or a note within a chord?
\version "2.19.80"
testType =
#(define-music-function (music)(ly:music?)
(ly:message "Music type(s): ~a" (ly:music-property music 'types))
music)
{
\clef