1.3.3 Marques expressives en forma de línies

Aquesta secció explica com crear diverses marques d’expressió que segueixen un camí lineal: glissandi, arpegis i refilets.


Glissando

Es crea un glissando afegint \glissando després de la nota:

\relative {
  g'2\glissando g'
  c2\glissando c,
  \afterGrace f,1\glissando f'16
}

[image of music]

Un glissando pot connectar notes d’un pentagrama a un altre:

\new PianoStaff <<
  \new Staff = "right" {
    e'''2\glissando
    \change Staff = "left"
    a,,4\glissando
    \change Staff = "right"
    b''8 r |
  }
  \new Staff = "left" {
    \clef bass
    s1
  }
>>

[image of music]

Un glissando pot connectar les notes dins d’un acord. Si cal fer quelcom que no sigui una connexió d’una nota amb una altra entre els dos acords, les connexions entre les notes venen definides per mitjà de \glissandoMap, on les notes d’un acord se suposen numerades, començant de zero, en l’ordre en el qual apareixen en el codi d’entrada del fitxer ‘.ly’.

\relative {
  <c' e>1\glissando g' |
  <c, e>1\glissando |
  <g' b> |
  \break
  \set glissandoMap = #'((0 . 1) (1 . 0))
  <c, g'>1\glissando |
  <d a'> |
  \set glissandoMap = #'((0 . 0) (0 . 1) (0 . 2))
  c1\glissando |
  <d f a> |
  \set glissandoMap = #'((2 . 0) (1 . 0) (0 . 1))
  <f d a'>1\glissando |
  <c c'> |
}

[image of music]

Es poden crear diversos tipus de glissando. Per veure més detalls, consulteu Estils de línia.

Fragments de codi seleccionats

Contemporary glissando

A contemporary glissando without a final note can be typeset using a hidden note and cadenza timing.

\relative c'' {
  \time 3/4
  \override Glissando.style = #'zigzag
  c4 c
  \cadenzaOn
  c4\glissando
  \hideNotes
  c,,4
  \unHideNotes
  \cadenzaOff
  \bar "|"
}

[image of music]

Adding timing marks to long glissandi

Skipped beats in very long glissandi are sometimes indicated by timing marks, often consisting of stems without noteheads. Such stems can also be used to carry intermediate expression markings.

If the stems do not align well with the glissando, they may need to be repositioned slightly.

glissandoSkipOn = {
  \override NoteColumn.glissando-skip = ##t
  \hide NoteHead
  \override NoteHead.no-ledgers = ##t
}

glissandoSkipOff = {
  \revert NoteColumn.glissando-skip
  \undo \hide NoteHead
  \revert NoteHead.no-ledgers
}

\relative c'' {
  r8 f8\glissando
  \glissandoSkipOn
  f4 g a a8\noBeam
  \glissandoSkipOff
  a8

  r8 f8\glissando
  \glissandoSkipOn
  g4 a8
  \glissandoSkipOff
  a8 |

  r4 f\glissando \<
  \glissandoSkipOn
  a4\f \>
  \glissandoSkipOff
  b8\! r |
}

[image of music]

Making glissandi breakable

Setting the breakable property to #t in combination with after-line-breaking allows a glissando to break if it occurs at a line break:

glissandoSkipOn = {
  \override NoteColumn.glissando-skip = ##t
  \hide NoteHead
  \override NoteHead.no-ledgers = ##t
}

\relative c'' {
  \override Glissando.breakable = ##t
  \override Glissando.after-line-breaking = ##t
  f1\glissando |
  \break
  a4 r2. |
  f1\glissando
  \once \glissandoSkipOn
  \break
  a2 a4 r4 |
}

[image of music]

Extending glissandi across repeats

A glissando which extends into several \alternative blocks can be simulated by adding a hidden grace note with a glissando at the start of each \alternative block. The grace note should be at the same pitch as the note which starts the initial glissando. This is implemented here with a music function which takes the pitch of the grace note as its argument.

Note that in polyphonic music the grace note must be matched with corresponding grace notes in all other voices.

repeatGliss = #(define-music-function (grace)
  (ly:pitch?)
  #{
    % the next two lines ensure the glissando is long enough
    % to be visible
    \once \override Glissando.springs-and-rods
      = #ly:spanner::set-spacing-rods
    \once \override Glissando.minimum-length = #3.5
    \once \hideNotes
    \grace $grace \glissando
  #})

\score {
  \relative c'' {
    \repeat volta 3 { c4 d e f\glissando }
    \alternative {
      { g2 d }
      { \repeatGliss f g2 e }
      { \repeatGliss f e2 d }
    }
  }
}

music =  \relative c' {
  \voiceOne
  \repeat volta 2 {
    g a b c\glissando
  }
  \alternative {
    { d1 }
    { \repeatGliss c \once \omit StringNumber e1\2 }
  }
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \context Voice { \clef "G_8" \music }
    >>
    \new TabStaff  <<
      \context TabVoice { \clef "moderntab" \music }
    >>
  >>
}

[image of music]

Vegeu també

Glossari musical: glissando.

Referència de la notació: Estils de línia.

Fragments de codi: Expressive marks.

Referència de funcionament interno: Glissando.

Advertiments i problemes coneguts

La impressió de text sobre la línia (com a gliss.), no està contemplada.


Arpegi

Un signe de acord arpegiat (conegut també com acord trencat) sobre un acord, es denota annexant \arpeggio a l’acord:

\relative { <c' e g c>1\arpeggio }

[image of music]

Es poden escriure diversos tipus d’acords arpegiats. \arpeggioNormal produeix la volta a l’arpegi normal:

\relative {
  <c' e g c>2\arpeggio

  \arpeggioArrowUp
  <c e g c>2\arpeggio

  \arpeggioArrowDown
  <c e g c>2\arpeggio

  \arpeggioNormal
  <c e g c>2\arpeggio
}

[image of music]

Es poden crear símbols especials d’arpegi amb parèntesis:

\relative {
  <c' e g c>2

  \arpeggioBracket
  <c e g c>2\arpeggio

  \arpeggioParenthesis
  <c e g c>2\arpeggio

  \arpeggioParenthesisDashed
  <c e g c>2\arpeggio

  \arpeggioNormal
  <c e g c>2\arpeggio
}

[image of music]

Les propietats de discontinuïtat del parèntesi de l’arpegi es controlen mitjançant la propietat 'dash-definition, que es descriu a Lligadures d’expressió.

Els acords arpegiats es poden desenvolupar explícitament utilitzant lligadures d’unió. Vegeu Lligadures d’unió.

Instruccions predefinides

\arpeggio, \arpeggioArrowUp, \arpeggioArrowDown, \arpeggioNormal, \arpeggioBracket, \arpeggioParenthesis \arpeggioParenthesisDashed.

Fragments de codi seleccionats

Creating cross-staff arpeggios in a piano staff

In a PianoStaff, it is possible to let an arpeggio cross between the staves by setting the property PianoStaff.connectArpeggios.

\new PianoStaff \relative c'' <<
  \set PianoStaff.connectArpeggios = ##t
  \new Staff {
    <c e g c>4\arpeggio
    <g c e g>4\arpeggio
    <e g c e>4\arpeggio
    <c e g c>4\arpeggio
  }
  \new Staff {
    \clef bass
    \repeat unfold 4 {
      <c,, e g c>4\arpeggio
    }
  }
>>

[image of music]

Creating cross-staff arpeggios in other contexts

Cross-staff arpeggios can be created in contexts other than GrandStaff, PianoStaff and StaffGroup if the Span_arpeggio_engraver is included in the Score context.

\score {
  \new ChoirStaff {
    \set Score.connectArpeggios = ##t
    <<
      \new Voice \relative c' {
        <c e>2\arpeggio
        <d f>2\arpeggio
        <c e>1\arpeggio
      }
      \new Voice \relative c {
        \clef bass
        <c g'>2\arpeggio
        <b g'>2\arpeggio
        <c g'>1\arpeggio
      }
    >>
  }
  \layout {
    \context {
      \Score
      \consists "Span_arpeggio_engraver"
    }
  }
}

[image of music]

Creating arpeggios across notes in different voices

An arpeggio can be drawn across notes in different voices on the same staff if the Span_arpeggio_engraver is added to the Staff context:

\new Staff \with {
  \consists "Span_arpeggio_engraver"
}
\relative c' {
  \set Staff.connectArpeggios = ##t
  <<
    { <e' g>4\arpeggio <d f> <d f>2 }
    \\
    { <d, f>2\arpeggio <g b>2 }
  >>
}

[image of music]

Vegeu també

Glossari musical: arpeggio.

Referència de la notació: Lligadures d’expressió, Lligadures d’unió.

Fragments de codi: Expressive marks.

Referència de funcionament intern: Arpeggio, Slur, PianoStaff.

Advertiments i problemes coneguts

No és possible barrejat arpegis connectats i no connectat a un PianoStaff al mateix moment de temps.

La forma senzilla d’especificar el parèntesis als arpegis de parèntesis no funciona per als arpegis de pentagrama creuat; vegeu Pliques de pentagrama creuat.


Refilets

Els refilets curts sense línia extensora es graven amb \trill; vegeu Articulacions i ornaments.

Els refilets llargs mantinguts, amb línia d’extensió, es fan amb \startTrillSpan i \stopTrillSpan:

\relative {
  d''1\startTrillSpan
  d1
  c2\stopTrillSpan
  r2
}

[image of music]

Un refilet estès que travessa un salt de línia recomença exactament a sobre de la primera nota de la línia nova.

\relative {
  d''1\startTrillSpan
  \break
  d1
  c2\stopTrillSpan
  r2
}

[image of music]

Els refilets estesos consecutius funcionen sense necessitat d’ordres \stopTrillSpan explícites, perquè cada refilet es convertirà automàticament a la vora dreta del refilet anterior.

\relative {
  d''1\startTrillSpan
  d1
  b1\startTrillSpan
  d2\stopTrillSpan
  r2
}

[image of music]

També es poden combinar els refilets amb notes d’adorn. La sintaxi d’aquesta construcció i el mètode per col·locar les notes d’adorn amb precisió es descriuien a Notes d’adorn.

\relative {
  d''1~\afterGrace
  d1\startTrillSpan { c32[ d]\stopTrillSpan }
  c2 r2
}

[image of music]

Els refilets que s’han d’executar sobre notes auxiliars explícites es poden gravar amb l’ordre pitchedTrill. El primer argument és la nota principal, i el segon és la nota refilada, que es grava com un cap de nota, sense plica i entre parèntesis.

\relative {
  \pitchedTrill
  d''2\startTrillSpan fis
  d2
  c2\stopTrillSpan
  r2
}

[image of music]

Cal afegir manualment les alteracions subsegüents de la mateixa nota dins del mateix compàs. Sols s’imprimeix l’alteració del primer refilet amb nota, dins d’un compàs.

\relative {
  \pitchedTrill
  eis''4\startTrillSpan fis
  eis4\stopTrillSpan
  \pitchedTrill
  eis4\startTrillSpan cis
  eis4\stopTrillSpan
  \pitchedTrill
  eis4\startTrillSpan fis
  eis4\stopTrillSpan
  \pitchedTrill
  eis4\startTrillSpan fis!
  eis4\stopTrillSpan
}

[image of music]

Instruccions predefinides

\startTrillSpan, \stopTrillSpan.

Vegeu també

Glossari musical: trill.

Referècia de la notació: Articulacions i ornaments, Notes d’adorn.

Fragments de codi: Expressive marks.

Referència de funcionament intern: TrillSpanner.


Altres idiomes: English, deutsch, español, français, italiano, 日本語.
Quant a la selecció automàtica de la llengua.

LilyPond — Referència de la notació v2.21.0 (branca de desenvolupament).