[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: btw, articulation grouping
From: |
Carl Sorensen |
Subject: |
Re: btw, articulation grouping |
Date: |
Sat, 20 Nov 2004 16:03:55 -0700 |
On Sat, 2004-11-20 at 11:24, Giancarlo Niccolai wrote:
> powerMiBeat = \relative do {
> <mi, si'>8 <mi si'> <mi si'> <mi si'> <mi si'> <mi si'> <mi si'> <mi si'> |
> }
> (btw, mi=e, si=b).
>
> Ok, now, the distorted guitar is playing all the time a set of riffs like
> this, but sometimes stopped, other not: it would be quite useful to have
> things like:
>
> \powerMiBeat
> \powerDoBeat
> \powerSolBeat
> \powerFadBeat
>
> {
> \powerMiBeat
> \powerDoBeat
> \powerSolBeat
> \powerFadBeat
> }\stopped
>
This should actually be a quite easy way for you to get started in some
lilypond programming. It should be easy to define a function in scheme
(make-stopped music) which would convert each note to a stopped note.
Then you could do
myRiff = {
\powerMiBeat
\powerDoBeat
\powerSolBeat
\powerFadBeat
}
\score {
myRiff
#(make-stopped myRiff)
}
It's generally easier to get started by implementing things in guile
(scheme), rather than starting off playing with the parser.
Hope this helps,
Carl Sorensen