Re: filter out pitches higher/ or lower than a certain pitch

2020-09-24 Thread Stefan Thomas
Dear Aaron, this is really great! I defenitely have to learn scheme! \version "2.20.0" addArticulation = #(define-scheme-function (direction articulation) ((number? #f) string?) (lambda (m) (if (music-is-of-type? m 'note-event) (ly:music-set-property! m 'articulations

Re: filter out pitches higher/ or lower than a certain pitch

2020-09-24 Thread Aaron Hill
On 2020-09-24 5:23 am, Stefan Thomas wrote: Dear community, I would like to achieve , in a certain example, that all pitches will get automatically an accent sign. Like this: Music = { \time 6/8 g 8 r a g c'-> r g d'-> r g e'-> r } MusikwithAccents = { \time 6/8 g 8 r a g c->' r g d'-> r d

filter out pitches higher/ or lower than a certain pitch

2020-09-24 Thread Stefan Thomas
Dear community, I would like to achieve , in a certain example, that all pitches will get automatically an accent sign. Like this: Music = { \time 6/8 g 8 r a g c'-> r g d'-> r g e'-> r } MusikwithAccents = { \time 6/8 g 8 r a g c->' r g d'-> r d e'-> r } Can this be done with lilypond? Has