[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {g,, g'' g g}
From: |
David Kastrup |
Subject: |
Re: {g,, g'' g g} |
Date: |
Fri, 12 Jun 2015 16:27:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Klaus Blum <address@hidden> 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
- {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 <=
- Re: {g,, g'' g g}, Simon Albrecht, 2015/06/12
- Re: {g,, g'' g g}, Klaus Blum, 2015/06/12
- Re: {g,, g'' g g}, Gianmaria Lari, 2015/06/12