ToDo

Aus Lilypond Wiki
Wechseln zu: Navigation, Suche

Offene Fragen

Wie kriege ich die Symbolleiste

zum Editieren, wo ich z.B. die eckigen Klammern eingeben kann?

Magic Words

Die  Kategorie LILYPOND enthält derzeit 41 Seiten.
41 Elemente insgesamt

4 Seiten

37 Unterkategorien

0 Files

* ToDo Pagename
* ToDo BASEPAGENAME
* ToDo FULLPAGENAME


* ToDo FULLPAGENAMEE
* ToDo     PAGENAMEE
* ToDo BASEPAGENAMEE
* ToDo  SUBPAGENAMEE
* ToDo SUBJECTPAGENAMEE
* ToDo ARTICLEPAGENAMEE
* Diskussion:ToDo TALKPAGENAMEE
* ToDo ROOTPAGENAMEE

Versionsgeschichte löschen

ergänzen: Seite löschen, nur aktuelle Version wieder herstellen

Einklammern

Including accidental and dots in a parenthesized note

Repeat sign in stanzas below score

http://lilypond.1069038.n5.nabble.com/Repeat-sign-in-stanzas-below-score-td202583.html

repeatBarMarkupClose =
\markup {
   \raise #.6
   \with-dimensions #'(-.5 . .8) #'(-1.6 . 1.6)
   \score {
     \layout {
       indent = -7
	   %#(layout-set-staff-size 9)
     }
     \new Staff \with {
       \hide StaffSymbol
       \remove Clef_engraver
       \remove Note_heads_engraver
       \remove Time_signature_engraver
       \remove Key_engraver
	   \override StaffSymbol.staff-space = #0.6
     } \repeat volta 2 { \once\omit BarLine s }
   }
}
repeatBarMarkupOpen = \markup \rotate #180 \repeatBarMarkupClose

\markup \fontsize #1 {
   \repeatBarMarkupOpen
   test
   \repeatBarMarkupClose
}

sizeContext

https://github.com/openlilylib/openlilylib/tree/master/input-shorthands/sizeContext

sizeContext =
#(define-scheme-function (ps)(number?)
   #{ \with {
     fontSize = #s
     \override StaffSymbol #'staff-space = #(magstep s)
     \override StaffSymbol #'thickness = #(magstep s)
   } #})

easy-custom-dynamics (erledigt)

https://github.com/openlilylib/openlilylib/tree/master/input-shorthands/easy-custom-dynamics

#(use-modules (ice-9 regex))

dynamic =
#(define-event-function (text) (markup?)
   (if (string? text)
       (let* ((underscores-replaced
               (string-map
                (lambda (x) (if (eq? x #\_) #\space x))
                text))
              (split-text (string-split underscores-replaced #\space))
              (formatted (map
                          (lambda (word)
                            (if (string-match "^[mrzfps]*$" word)
                                (markup #:dynamic word)
                                (markup #:normal-text #:italic word)))
                          split-text)))
         #{
           #(make-dynamic-script (make-line-markup formatted))
         #})
       ;; user provided a full-blown markup, so we don't mess with it:
       #{
         #(make-dynamic-script (markup #:normal-text text))
       #}))

Articulations not aligned to notes

https://github.com/openlilylib/openlilylib/tree/master/input-shorthands/articulations-not-aligned-with-notes

at =
#(define-music-function (t e m)
   (ly:duration? ly:music? ly:music?)
   #{ << #m { \skip $t <>$e } >> #})

Unnumbered List - Abstände zwischen den Absätzen vergrößern

https://lilypondforum.de/index.php/topic,71.0.html

\version "2.19.61"

\paper
{
#(include-special-characters)
}

\markuplist {
  \override #'(padding . 0.5)
  \override #'(baseline-skip . 5)
  \table
    #'(1 -1)
    {
      & bull; \override #'(baseline-skip . 3)
  \wordwrap { Lorem ipsum dolor sit amet,
	  consetetur sadipscing elitr,
	  sed diam nonumy eirmod tempor
	  invidunt ut labore et dolore magna aliquyam erat,
	  sed diam voluptua.
	   }
      & bull; \override #'(baseline-skip . 3)
      \wordwrap {At vero eos et accusam et justo duo dolores
	  et ea rebum. Stet clita kasd gubergren,
	  no sea takimata sanctus est
	  Lorem ipsum dolor sit amet. }
     }
}

ChordNames zentrieren (erledigt)

Akkordbezeichnungen zentrieren

Pausenzeichen ändern

https://lilypondforum.de/index.php/topic,72.0.html

#(define (ly:rest-interface::dot-rests grob)
  (let ((duration (ly:grob-property grob 'duration-log))
        (circle (ly:stencil-translate-axis (make-circle-stencil 0.55 0.1 #t) 0.3 X)))
    (case duration
      ((2) ly:percent-repeat-item-interface::beat-slash)
      ((3) (ly:stencil-add
               circle
               (make-filled-box-stencil '(-0.275 . 0.9) '(-1.35 . -1.0))))
      (else (ly:rest::print grob)))))

Markup Beispiele

\markup \box \column { xx \line { yy zz } {  pp qq } }
\markup \rotate #10 \box { xx \line { yy zz } \concat { pp qq } }
\markup \rotate #10 \box { xx yy zz pp qq }
\markup \box \rotate #10 \box \line { xx yy zz pp qq }

Lilypond Codebeispiele

http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=tree;f=Documentation/ly-examples;h=4eab3f8de7d5612d45b4818d7fc1ab077eeed080;hb=HEAD

Vertical Spacing

https://github.com/openlilylib/openlilylib/tree/master/input-shorthands/vertical-spacing

simplespace =
#(define-scheme-function
  (parser location bdist mdist padd stret)
  (number? number? number? number?)
  `((basic-distance . ,bdist)
    (minimum-distance . ,mdist)
    (padding . ,padd)
    (stretchability . ,stret))
  )
\markup \bold \huge "Vertical Spacing"

\paper {
  % instead of a large construction, these four values
  % define the vertical spacing:
  system-system-spacing = \simplespace 25 2 3 60
  annotate-spacing = ##t  % only for demonstration
}

{ c1 \break c1 }

Links

Tabelle

Name Familienname Geburtsjahr Todesjahr Info gemeinfrei (ab)
Georg Freundorfer Freundorfer 1881 1940 Infos zu Georg Freundorfer ja
Ernst Arnold Arnold 1890 1962 ab 1.1.2033
Josef Bayer Bayer 1852 1913 ja

Liste von Akkordeonkomponisten

Age in Days

  • Tage bis zum 23.9.2017: -80
  • Tage seit 23.9.2016: 445

Transponieren

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

https://archiv.lilypondforum.de/index.php/topic,1916.msg10916.html#msg10916

https://lilypondforum.de/index.php/topic,99.0.html

Punktierte Halbe + Viertel

\version "2.19.48"

oT = \once \override NoteHead.transparent = ##t
tT = \tweak transparent ##t \etc

<<
  \relative c {
    \override NoteColumn.ignore-collision = ##t
    c2.
  }
  \\
  \relative c {
    \tT
    c4 c c
  }
>>

Markus' Wiki Test

Eingefügt von seinen Schnipseln

Hier gibt's zu allen möglichen Themen Code-Schnipsel, Übersichtstabellen, was-auch-immer-für-Schnipsel die man im Alltag so gebrauchen kann.


LinuxSampler & hold

Das hier ist ein kleines Skript, das alle Programme des LinuxSampler-Projekts (Stand: Februar 2012) auf hold setzt. Verwendung auf eigene Gefahr!

  • kopiere den Text in einen Texteditor wie medit oder nano
  • speichere die Datei als ls-hold ab
  • gehe in das Verzeichnis /usr/local/bin und kopiere die Datei ls-hold dort mit root-Rechten hinein
  • mache die Datei in diesem Verzeichnis ausführbar: sudo chmod a+x ls-hold

Nun kannst Du dieses kleine, hilfreiche Skript ausführen, indem Du einfach ls-hold ins Terminal eintippst. Da die Datei in /usr/local/bin liegt, ist es egal, in welchem Ordner Du Dich gerade befindest.

# apt-get, dpkg
echo linuxsampler hold |sudo dpkg --set-selections
echo qsampler hold |sudo dpkg --set-selections
echo liblscp6 hold |sudo dpkg --set-selections
echo liblscp-dev hold |sudo dpkg --set-selections
echo liblinuxsampler-dev hold |sudo dpkg --set-selections
echo liblinuxsampler hold |sudo dpkg --set-selections
echo gigedit hold |sudo dpkg --set-selections
echo libgig7 hold |sudo dpkg --set-selections
echo libgig-dev hold |sudo dpkg --set-selections
echo gigtools hold |sudo dpkg --set-selections
# aptitude
sudo aptitude hold linuxsampler
sudo aptitude hold qsampler
sudo aptitude hold liblscp6
sudo aptitude hold liblscp-dev
sudo aptitude hold liblinuxsampler-dev
sudo aptitude hold liblinuxsampler
sudo aptitude hold gigedit
sudo aptitude hold libgig7
sudo aptitude hold libgig-dev
sudo aptitude hold gigtools

MIDI-Instrumentennamen Lilypond

Diese MIDI-Instrumenten-Namen verwendet LilyPond. Denke daran, dass die MIDI-Zahlen manchmal bei 0, manchmal bei 1 anfängt. Dann entsprechend addieren.

0 acoustic grand            43 contrabass           86 lead 7 (fifths)
1 bright acoustic           44 tremolo strings      87 lead 8 (bass+lead)
2 electric grand            45 pizzicato strings    88 pad 1 (new age)
3 honky-tonk                46 orchestral harp      89 pad 2 (warm)
4 electric piano 1          47 timpani              90 pad 3 (polysynth)
5 electric piano 2          48 string ensemble 1    91 pad 4 (choir)
6 harpsichord               49 string ensemble 2    92 pad 5 (bowed)
7 clav                      50 synthstrings 1       93 pad 6 (metallic)
8 celesta                   51 synthstrings 2       94 pad 7 (halo)
9 glockenspiel              52 choir aahs           95 pad 8 (sweep)
10 music box                53 voice oohs           96 fx 1 (rain)
11 vibraphone               54 synth voice          97 fx 2 (soundtrack)
12 marimba                  55 orchestra hit        98 fx 3 (crystal)
13 xylophone                56 trumpet              99 fx 4 (atmosphere)
14 tubular bells            57 trombone             100 fx 5 (brightness)
15 dulcimer                 58 tuba                 101 fx 6 (goblins)
16 drawbar organ            59 muted trumpet        102 fx 7 (echoes)
17 percussive organ         60 french horn          103 fx 8 (sci-fi)
18 rock organ               61 brass section        104 sitar
19 church organ             62 synthbrass 1         105 banjo
20 reed organ               63 synthbrass 2         106 shamisen
21 accordion                64 soprano sax          107 koto
22 harmonica                65 alto sax             108 kalimba
23 concertina               66 tenor sax            109 bagpipe
24 acoustic guitar (nylon)  67 baritone sax         110 fiddle
25 acoustic guitar (steel)  68 oboe                 111 shanai
26 electric guitar (jazz)   69 english horn         112 tinkle bell
27 electric guitar (clean)  70 bassoon              113 agogo
28 electric guitar (muted)  71 clarinet             114 steel drums
29 overdriven guitar        72 piccolo              115 woodblock
30 distorted guitar         73 flute                116 taiko drum
31 guitar harmonics         74 recorder             117 melodic tom
32 acoustic bass            75 pan flute            118 synth drum
33 electric bass (finger)   76 blown bottle         119 reverse cymbal
34 electric bass (pick)     77 shakuhachi           120 guitar fret noise
35 fretless bass            78 whistle              121 breath noise
36 slap bass 1              79 ocarina              122 seashore
37 slap bass 2              80 lead 1 (square)      123 bird tweet
38 synth bass 1             81 lead 2 (sawtooth)    124 telephone ring
39 synth bass 2             82 lead 3 (calliope)    125 helicopter
40 violin                   83 lead 4 (chiff)       126 applause
41 viola                    84 lead 5 (charang)     127 gunshot
42 cello                    85 lead 6 (voice)

Font: LilyJAZZ für Lilypond

Hier werden demnächst für die aktuelle Lilypond-Version alle nötigen otf, text, chord und .ily Dateien hinterlegt sein um den LilyJAZZ-Font für Lilypond einbinden und voll nutzen zu können.

Vertical Spacing StaffGrouper

\version "2.19.62"
\language "deutsch"

Mus = \relative { c''4 c c c }

myMus = \relative c'' { \voiceOne \repeat unfold 20 \Mus }
myMusII = \relative c' { \voiceTwo \repeat unfold 20 \transpose c g, \Mus }
Akk = \chordmode { c1 }
Dyn = { s1\p }

Struktur = {
  %\repeat unfold 5 { s1 s s \break }
  %\override Staff.VerticalAxisGroup.staff-staff-spacing.basic-distance = #14
  %\override Staff.VerticalAxisGroup.staff-staff-spacing.minimum-distance = #8
  %\override Staff.VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #12
  %\override Staff.VerticalAxisGroup.default-staff-staff-spacing.padding = #5
  \override Score.StaffGrouper.staff-staff-spacing.padding = #30
  \override Score.StaffGrouper.staff-staff-spacing.basic-distance = #10
  \override PianoStaff.StaffGrouper.staffgroup-staff-spacing.basic-distance = #3

}

\paper {
  print-all-headers = ##f
  ragged-bottom = ##t
  ragged-last-bottom = ##t
  %system-system-spacing.basic-distance = #13
  %system-system-spacing.minimum-distance = #10
  score-system-spacing= #system-system-spacing
  annotate-spacing = ##f
  tagline = ##f
}

\include "_layout.ly"

\score
{
  \new PianoStaff="leadsheet" \with {
    instrumentName = \markup {
      \center-column { \caps "Intro" }
    }
    shortInstrumentName = ""
  }
  <<
    \new ChordNames \Akk
    \new Staff="up"
    <<
      \new Voice {
        \myMus
      }
      \new Voice {
        \myMusII
      }
    >>
    \new Dynamics \Dyn
    \new Staff="down"
    <<
      \new Voice {
        \clef bass
        \transpose c c,, \myMus
      }
      \new NullVoice \Struktur
    >>
  >>
}


\version "2.19.62"

\paper {
  print-all-headers = ##f
  ragged-bottom = ##t
  ragged-last-bottom = ##t
  %system-system-spacing.basic-distance = #13
  %system-system-spacing.minimum-distance = #10
  score-system-spacing= #system-system-spacing
  annotate-spacing = ##f
  tagline = ##f
}

%{
\layout {
  \context {
    \Score
    \override StaffGrouper.staff-staff-spacing.padding = #-15
    \override StaffGrouper.staff-staff-spacing.basic-distance = #15
  }
}
%}

Struktur =
{
  \override Score.StaffGrouper.staff-staff-spacing.padding = #0
  \override Score.StaffGrouper.staff-staff-spacing.basic-distance = #12
  \override PianoStaff.StaffGrouper.staffgroup-staff-spacing.basic-distance = #3
}

<<
  \new PianoStaff <<
    \new Staff { c'1 }
    \new Staff <<
      { c'1 }
      \new NullVoice \Struktur
    >>
  >>

  \new StaffGroup <<
    \new Staff { c'1 }
    \new Staff { c'1 }
  >>
>>

<<
  \new PianoStaff <<
    \new Staff { c'1 }
    \new Staff <<
      { c'1 }
    >>
  >>

  \new StaffGroup <<
    \new Staff { c'1 }
    \new Staff { c'1 }
  >>
>>

http://lilypond.org/doc/v2.19/Documentation/notation/vertical-spacing

Benutzterinformation

7-note segment of C5

Source

<noinclude>
Parameters to this template:
* Description
* Source
* Flickr – ''optional''
* Date
* Author – ''optional''
* Permission – ''optional;'' must include license template or equivalent
* OtherVersions – ''optional''
* Other fields – ''optional''
* License
* License2 – ''optional''
* License3 – ''optional''

Handy copy-and-fill-in template:
<pre>{{User:Bdesham/Information
| Description = 
| Source = Taken by [[User:Bdesham|bdesham]] with a Canon PowerShot S3.
| Date = 
| License = photo
}}</pre>
</noinclude>

{{Information
| Description = {{{Description}}}
| Source = {{{Source}}}
{{ #if: {{{Flickr|}}} | <br /><br /><span style="color:#0063DB; font-weight:bold">●</span><span style="color:#FF0084; font-weight:bold">●</span>  {{ucfirst:{{from loc}}}} [http://www.flickr.com/photos/bdesham/{{{Flickr}}} Flickr].}}
| Date = {{{Date}}}
| Author = {{ #if: {{{Author|}}} | {{ #switch: {{{Author}}} | mom = Katie Rommel-Esham (contact via [[User:Bdesham|bdesham]]) | {{{Author}}} }} | Benjamin D. Esham ([[User:Bdesham|bdesham]]) }}
| Permission = ''As a courtesy (but not a requirement), please [[Special:Emailuser/User:Bdesham|e-mail me]] or leave a note on [[User talk:Bdesham|my talk page]] if you use this image outside of Wikipedia.  Thanks!'' {{ #if: {{{Permission|}}} | {{{Permission}}} |
	{{self
		| {{ #switch: {{{License}}} | photo = cc-by-sa-3.0-us | {{{License|}}} }}
		| {{ #if: {{{License2|}}} | {{ #switch: {{{License2}}} | photo = cc-by-sa-3.0-us | {{{License2}}} }} | }}
		| {{ #if: {{{License3|}}} | {{ #switch: {{{License3}}} | photo = cc-by-sa-3.0-us | {{{License3}}} }} | }}
		| author = {{ #if: {{{Author|}}} | {{ #switch: {{{Author}}} | mom = Katie Rommel-Esham | {{{Author}}} }} | Benjamin D. Esham }}
		| attribution = {{ #if: {{{Author|}}} | {{ #switch: {{{Author}}} | mom = Katie Rommel-Esham | {{{Author}}} }} | Benjamin D. Esham / Wikimedia Commons }}
	}}
}}
| Other_versions = {{ #if:{{{OtherVersions|}}} | {{{OtherVersions}}} | }}
| Other fields = {{{Other fields|}}}
}}

Scheiße

Griffschrift