lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Music or Scheme function to Auto Generate glissandos


From: Jay Vara
Subject: Music or Scheme function to Auto Generate glissandos
Date: Wed, 13 Apr 2016 18:51:46 +0100

I have some music where I have Glissandos between each note of a phrase. This happens often enough to warrant a Music of Scheme function that takes a piece of music and adds glissandos between the notes.

In the example code below, for example, such a function would take music and convert it musicsl.

%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.39"
music = \relative c' {c8 (d e f g)}

musicsl = \relative c' { c8 (\glissando d \glissando e \glissando f \glissando g)}

\new Staff { \music}

\new Staff {\musicsl}

%%%%%%%%%%%%%%%%%%%%%%%%

I tried working with the snippet that adds articulations http://lsr.di.unimi.it/LSR/Snippet?id=82, but was not sure how to proceed. Is there a function already that does this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]