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




_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to