Jens Haug wrote:

> I'd like to add some symbols for jazz articulations to my notes.
> The most important ones are the fall (like a slow glissando
> from the note down to nowhere), the opposite of this (kind of a
> glissando from nowhere up to the note), and the bend (dropping
> the the tone by relaxing the lips).

What does a bend look like?

> How can this be done?

Well, in 1.8 it will probably be possible (and perhaps even in an easy 
way) - but in 1.6 there is afaics not much you can do.
The attached kludge does something like what you request. (raise and 
fall, that is). Please comment on the layout.
Problems are:
- Syntax is ugly
- You cannot have a raise and a fall on the same note.
- Nor can you attach any other textscripts to the note
- For some reason it does not work on chords


-Rune

raise = #"\\embeddedps{0.2 setlinewidth 0.2 -0.2 moveto 0 -1 -0.7 -1.8 -1.2 -2 
rcurveto stroke}"

fall =  #"\\embeddedps{0.2 setlinewidth -0.2 -0.2 moveto 0.5 -0.2 1.2 -1 1.2 -2 
rcurveto stroke}"

sleft = {
    \once \property Voice.scriptHorizontal = ##t
    \once \property Voice.TextScript \override #'direction = #left
    \once \property Voice.TextScript \override #'X-extent-callback = ##f
}

sright = {
    \once \property Voice.scriptHorizontal = ##t
    \once \property Voice.TextScript \override #'direction = #right
}


\score {
  \notes \relative c'' {
      \sleft a-\raise
      \sright a-\fall
  }
  \paper { linewidth = -1 }
}

Reply via email to