Thank you to everybody for your code !!
... and especially to Valentin for the comments about my code.
g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
On 2019-04-02 11:15 pm, Gianmaria Lari wrote:
The following "test" function adds parallel thirds to the notes of a
melody:
\version "2.21.0"
scale = {c d e f g a b}
test =
#(define-music-function (music) (ly:music?)
#{
\partCombine $music \modalTranspose c e \scale $music
#})
\test
At 07:15 on 03 Apr 2019, Gianmaria Lari wrote:
> The following "test" function adds parallel thirds to the notes of a
> melody:
>
> \version "2.21.0"
> scale = {c d e f g a b}
> test =
> #(define-music-function (music) (ly:music?)
>#{
> \partCombine $music \modalTranspose c e \scale $mus
On 4/3/19, Gianmaria Lari wrote:
> I don't have lilypond programming experience and I would like to know:
> - if there are hidden mistakes
No, that’s quite clean actually!
> - if it is better to write the function in a different way
I think in this case, simpler is better.
> - how I could avoi
The following "test" function adds parallel thirds to the notes of a melody:
\version "2.21.0"
scale = {c d e f g a b}
test =
#(define-music-function (music) (ly:music?)
#{
\partCombine $music \modalTranspose c e \scale $music
#})
\test {\voiceOne a b c'}
I don't have lilypond progra