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

40 lines
599 B
Plaintext
Raw Normal View History

2022-05-31 23:01:20 +00:00
# -*- mode: snippet -*-
# name: LilyPond Foundation
# --
\header {
title = "${1:`(upcase-initials (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`}"
%%subtitle = ""
composer = "Janek Fischer"
}
\version "2.22.2"
\score {
<<
\time 4/4
%%% Chords
\new ChordNames {
\set chordChanges = ##t
\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 { }
}