Jump to content

Glissando written out in small notes: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Sometimes a glissando is written out in smaller notes. This example shows how to do this.
Sometimes a glissando is written out in smaller notes. This example shows how to do this.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=193
%% http://lsr.di.unimi.it/LSR/Item?id=193


Line 36: Line 36:
[[Category:Contemporary notation]]
[[Category:Contemporary notation]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Snippet]]

Latest revision as of 23:19, 21 November 2025

Sometimes a glissando is written out in smaller notes. This example shows how to do this.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=193

\relative c' {
	\clef treble
	\key c \major
	\time 3/8

	fis16.[-> a64 g]

	% Make tuplet markings invisible
	\once \override TupletNumber.stencil = ##f
	\once \override TupletBracket.bracket-visibility = ##f

	% Prepare for small notes
	\override NoteHead.font-size = #-4
	\override Accidental.font-size = #-4

	% Force stem direction down
	\stemDown

	% Tuplet with small notes
	\tuplet 42/3 { fis8[( g gis a bes b c cis d dis e f fis g gis a bes! b c cis d] }

	% Restore normal note size
	\revert NoteHead.font-size
	\revert Accidental.font-size

	es32.[) fis,,64]
}