Adding parallel thirds to the notes of a melody

2019-04-02 Thread Gianmaria Lari
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

Re: Adding parallel thirds to the notes of a melody

2019-04-03 Thread Valentin Villenave
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

Re: Adding parallel thirds to the notes of a melody

2019-04-03 Thread Mark Knoop
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

Re: Adding parallel thirds to the notes of a melody

2019-04-03 Thread Aaron Hill
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

Re: Adding parallel thirds to the notes of a melody

2019-04-04 Thread Gianmaria Lari
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