Jump to content

Synthetic key signatures with double accidentals: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
If you need to display the synthetic key signature, you can even let DOUBLE-SHARP and DOUBLE-FLAT be printed.
If you need to display the synthetic key signature, you can even let DOUBLE-SHARP and DOUBLE-FLAT be printed.


<lilypond version="2.24.0">
<lilypond version="2.24">
synthetic =  
synthetic =  
   #`((0 . ,NATURAL)  
   #`((0 . ,NATURAL)  
Line 23: Line 23:
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Snippet]]

Latest revision as of 23:22, 21 November 2025

In some contemporary music, you run into synthetic scales with double sharps and flats.
If you need to display the synthetic key signature, you can even let DOUBLE-SHARP and DOUBLE-FLAT be printed.

\version "2.24"

synthetic = 
  #`((0 . ,NATURAL) 
     (1 . ,DOUBLE-SHARP) 
     (2 . ,SHARP)
     (3 . ,NATURAL) 
     (4 . ,FLAT) 
     (5 . ,FLAT) 
     (6 . ,DOUBLE-FLAT))

m = \relative c' { \omit Staff.TimeSignature c8 disis eis f ges aes beses c }

<<
  \new Staff \m
  \new Staff { \key c \synthetic \m }
>>