dotfiles/.config/doom/snippets/LilyPond-mode/__

42 lines
673 B
Plaintext
Raw Normal View History

2022-05-31 23:01:20 +00:00
# -*- mode: snippet -*-
# name: LilyPond Scaffold
2022-05-31 23:01:20 +00:00
# --
\header {
title = "${1:`(upcase-initials (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`}"
%%subtitle = ""
2023-05-09 12:03:21 +00:00
%%composer = "Janek Fischer"
arranger = "Janek Fischer"
2022-05-31 23:01:20 +00:00
}
2023-05-09 12:03:21 +00:00
\version "2.24.1"
2022-05-31 23:01:20 +00:00
\score {
<<
\time 4/4
%%% Chords
\new ChordNames {
\set chordChanges = ##t
2023-05-09 12:03:21 +00:00
\set majorSevenSymbol = \markup { maj7 }
2022-05-31 23:01:20 +00:00
\chordmode {
c,,1\p
}
}
%%% Melody
\new Staff {
\key c \major
\tempo 4 = 80
\relative c' {
$0
}
\addlyrics {
}
}
%%% Bass
\new Staff {
\key c \major
\clef bass
\relative c {
}
}
>>
\midi { }
\layout { }
}