[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {g,, g'' g g}
From: |
Klaus Blum |
Subject: |
Re: {g,, g'' g g} |
Date: |
Fri, 12 Jun 2015 12:18:05 -0700 (MST) |
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-tp177750p177777.html
Sent from the User mailing list archive at Nabble.com.
- {g,, g'' g g}, Gianmaria Lari, 2015/06/12
- Re: {g,, g'' g g}, Klaus Blum, 2015/06/12
- Re: {g,, g'' g g}, David Kastrup, 2015/06/12
- Re: {g,, g'' g g}, Simon Albrecht, 2015/06/12
- Re: {g,, g'' g g},
Klaus Blum <=
- Re: {g,, g'' g g}, Gianmaria Lari, 2015/06/12