[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: list of accordion registers as a single markup
From: |
Thomas Morley |
Subject: |
Re: list of accordion registers as a single markup |
Date: |
Sat, 23 Jan 2021 20:08:42 +0100 |
Am Sa., 23. Jan. 2021 um 19:48 Uhr schrieb Davide Bonetti <db@davidebonetti.it>:
>
>
> Hi!
> I need to obtain a list of accordion registers.
>
>
> I know I can engrave them using:
>
> #(use-modules (scm accreg))
>
> \markup \line {
> \discant "1"
> \discant "10"
> \discant "101"
> \discant "121"
> \discant "21"
> \discant "11"
> \discant "120"
> \discant "110"
> \discant "1+0"
> \discant "100"
> \discant "11+0"
> }
>
> But I want to pass them in a markup function as a list.
>
> regList = #'("1" "10" "101" "121" "21" "11" "120" "110" "1+0" "100" "11+0")
>
>
>
> I've tried map, for-each, do, let loop.... but I can't find a way to do this.
> Someone can help me?
>
> thanks
> Davide
>
How about below?
#(use-modules (scm accreg))
\markup
$(map
make-discant-markup
'("1" "10" "101" "121" "21" "11" "120" "110" "1+0" "100" "11+0"))
Cheers,
Harm