Lilypond sandbox
From www.oscarvandillen.com
Except where otherwise noted, all content is available under Creative Commons License BY-NC-SA 3.0.
For comments, questions, or editing access, please contact oscarvandillen AT gmail DOT com
editing access is subject to permission by the owner of this wiki and may be revoked in case of serious misbehaviour or legal threats
BELOW ARE EXAMPLES: PLEASE EXPERIMENT AND DO NOT WORRY, YOUR EDITS WILL BE REVERTED AT SOME POINT (or you can try to change it back yourself by saving an older version of this page - see history tab above)
Welcome to the special Sandbox to experiment with Lilypond.
Contents |
Example of melody and ossia
Example of percussion notation
Transcription general djembe notation to classical notation
Transcription
Table
| e | 1 | e | 2 | e | 3 | e | 4 | e | 1 | e | 2 | e | 3 | e | 4 | e | ||
| B | O | O | B | S | S | B | O | O | B | S | S | |||||||
| R | R | L | R | R | L | R | R | L | R | R | L |
Tones
Ritme
| e | 1 | e | 2 | e | |
| B | O |
| 2 | e |
| O | O |
or ...
Results into :
Classical notation
Regular notation:
Example useful for teaching: Notation with superfluous strikes added:
Makam bug
<lilymidi>
% Initialize makam settings
\version "2.12.2"
\include "makam.ly"
<<
\relative c' {
\set Staff.keySignature = #`((3 . ,BAKIYE) (6 . ,(- KOMA)))
c4 cc db fk
gbm4 gfc gfb efk
fk4 db cc c
}
>>
</lilymidi>
cf manual "Makam is a type of melody from Turkey using 1/9th-tone microtonal alterations. Consult the initialization file ‘ly/makam.ly’ for details of pitch names and alterations."
what is wrong with the code above? see error message below. oscar 20:24, 26 December 2009 (CET)
LilyPond error:
Processing `your code.ly'
Parsing...
your code.ly:13:9: error: include files are not allowed in safe mode
\include
"makam.ly"
your code.ly:16:29: error: GUILE signaled an error for the expression beginning here
\set Staff.keySignature = #
`((3 . ,BAKIYE) (6 . ,(- KOMA)))
your code.ly:17:5: error: syntax error, unexpected STRING
c4
cc db fk
your code.ly:14:0: error: errors found, ignoring music expression
<<
error: failed files: "your code.ly"
Unbound variable: KOMA
Clefs and staff test
<lilymidi>
\version "2.12.2"
\relative c' {
<<
\new Staff
\with {
\override StaffSymbol #'staff-space = #2
\remove "Time_signature_engraver" }
{
\cadenzaOn
\clef percussion { \override Staff.Stem #'transparent = ##t c4 s s s }
\clef treble { \override Staff.Stem #'transparent = ##t c4 s s s }
\clef bass { \override Staff.Stem #'transparent = ##t c4 s s s }
\clef alto { \override Staff.Stem #'transparent = ##t c4 s s s }
\clef tenor { \override Staff.Stem #'transparent = ##t c4 s s s }
\cadenzaOff { s1 }
}
\addlyrics { "Perc. clef" "G clef" "F clef" "Alto clef" "Tenor clef" }
>>
}
</lilymidi>

![\relative c' {
\new Staff
</p>
<pre>\with {
\override StaffSymbol #'line-count = #3 }
</pre>
<p>\clef percussion
\time 4/4
</p>
<pre>\partial 8
e8
a,4. \grace { e'32 } c8 a4 e'8 e |
a,4. \grace { e'32 } c8 a[ e' e]
\bar "|."
</pre>
<p>}](/images/math/865f6c6007c34c9ad9f84b9d8c2ace04.png)




![\version "2.12.2"
<<
\new Staff
</p>
<pre>\with {
\override StaffSymbol #'line-count = #3
}
\relative c' {
\clef percussion
\time 2/2
c8[ c]
</pre>
<p>% \bar "|."
</p>
<pre>}
</pre>
<p>>>](/images/math/ba831dd9bcba2284c8a28537760a69cf.png)



