Re: {g,, g'' g g}
It works perfectly! Thank you! g. -- View this message in context: http://lilypond.1069038.n5.nabble.com/g-g-g-g-tp177750p177783.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: {g,, g'' g g}
Simon Albrecht-2 wrote The problem is integrating this with \relative (as Gianmaria intended, I believe). At least you’d have to spell out the first one. That's true. But if you want to work ONLY in relative mode, a tiny modification to David's solution will work: % -- \version 2.18.2 pat = #(define-music-function (parser location note) (ly:pitch?) #{ % \transpose c $note % define the pattern here: $note ,,16 $note $note ,, $note % here's the difference... #}) \relative c' { % now works in relative mode... \pat g \pat a \pat b \pat c \pat d \pat e \pat f \pat g \pat a } % -- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/g-g-g-g-tp177750p17.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: {g,, g'' g g}
Am 12.06.2015 um 16:27 schrieb David Kastrup: Klaus Blum benbigno...@gmx.de writes: Hi Gianmaria, you could start like this: % -- \version 2.18.2 pat = #(define-music-function (parser location note) (ly:pitch?) #{ \transpose c $note % define the pattern here: { c,,16 c'' c c } #}) { \pat g \pat a \pat b \pat c % etc. } Actually, even \version 2.18.2 pat = #(define-music-function (parser location note) (ly:pitch?) #{ % define the pattern here: $note ,,16 $note '' $note $note #}) { \pat g \pat a \pat b \pat c % etc. } will work. Probably not very flexible though. I tried something similar: The problem is integrating this with \relative (as Gianmaria intended, I believe). At least you’d have to spell out the first one. Yours, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: {g,, g'' g g}
Klaus Blum benbigno...@gmx.de writes: Hi Gianmaria, you could start like this: % -- \version 2.18.2 pat = #(define-music-function (parser location note) (ly:pitch?) #{ \transpose c $note % define the pattern here: { c,,16 c'' c c } #}) { \pat g \pat a \pat b \pat c % etc. } Actually, even \version 2.18.2 pat = #(define-music-function (parser location note) (ly:pitch?) #{ % define the pattern here: $note ,,16 $note '' $note $note #}) { \pat g \pat a \pat b \pat c % etc. } will work. Probably not very flexible though. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: {g,, g'' g g}
Hi Gianmaria, you could start like this: % -- \version 2.18.2 pat = #(define-music-function (parser location note) (ly:pitch?) #{ \transpose c $note % define the pattern here: { c,,16 c'' c c } #}) { \pat g \pat a \pat b \pat c % etc. } % -- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/g-g-g-g-tp177750p177766.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user