Vorlage:Jazzakkorde/doc

Zur Navigation springen Zur Suche springen
Bearbeiten · Raw · Versionen · Cache leeren · Messages · Seiteninformation · Vorlage bearbeiten · Seiteninformation Vorlage
Diese Seite ist die Dokumentations-Unterseite der Vorlage Jazzakkorde

Die Vorlage {{Jazzakkorde}} erzeugt den Lilypond-Score für die wichtigsten Jazz-Durakkorder auf einen bestimmten Grundton.

Parameter

x
NameBeschreibungStandardStatus
pitchGrundtoncoptional
scaleTonart, in die die einbindende Seite kategorisiert wirdleeroptional
hoheBildhöhe600pxoptional
breiteBildbreite800pxoptional
beschreibungBeschreibungstext, auch textleeroptional
nopicnopic=y unterdrückt die Bildanzeigeleeroptional
tocInhaltsverzeichnis, toc/leer/leeroptional

Kopiervorlagen

{{Jazzakkorde|pitch=|scale=|hohe=|breite=|beschreibung=|nopic=|toc=}}
{{Jazzakkorde|pitch=|scale=|hohe=|breite=|beschreibung=|nopic=|toc=}}
{{Jazzakkorde
|pitch=
|scale=
|hohe=
|breite=
|beschreibung=
|nopic=
|toc=}}
{{Jazzakkorde
|pitch=
|scale=
|hohe=
|breite=
|beschreibung=
|nopic=
|toc=}}

Code

<includeonly>

<onlyinclude>{{#switch:{{NAMESPACENUMBER}} |0=<!-- Main -->{{#switch:{{lc:{{{toc|}}}}} |toc={{TOV}} |leer= |#default={{Incl}}}}<!-- -->{{#if:{{{beschreibung|}}}|{{Infobox|1={{{text|{{{beschreibung|}}} }}} }} }} {{#if:{{{nopic|}}}||{{Bildteil|height={{{hohe|600px}}}|1={{{png|{{{bild|{{PAGENAME}}.png}}}}}}|bildbreite={{{breite|800px}}}}}}} {{#if:{{{dur|y}}}|{{Jazz Dur Akkorde|pitch={{{pitch|c}}}}}}} == Scheme-Code == {{TabCode|1=<syntaxhighlight lang="scheme" style="display: inline-block">#(define (pitch-alteration-semitones pitch) (inexact->exact (round (* (ly:pitch-alteration pitch) 2)))) #(define (conditional-string-downcase str condition) (if condition (string-downcase str) str)) %% Notenname als Markup mit deutschen Notennamen #(define (note-name->my-markup pitch lowercase?) (let* ((name (ly:pitch-notename pitch)) (alt-semitones (pitch-alteration-semitones pitch)) (n-a (if (member (cons name alt-semitones) `((6 . -1) (6 . -2))) (cons 7 (+ 1 alt-semitones)) (cons name alt-semitones)))) (make-line-markup  ;(make-simple-markup (list (string-append (conditional-string-downcase (list-ref '("C" "D" "E" "F" "G" "A" "H" "B") (car n-a)) lowercase?) (if (or (equal? (car n-a) 2) (equal? (car n-a) 5)) (list-ref '( "ses" "s" "" "is" "isis") (+ 2 (cdr n-a))) (list-ref '("eses" "es" "" "is" "isis") (+ 2 (cdr n-a)))))))))</syntaxhighlight>|header=Lilypond Code}} |14=<!-- Kategorie -->{{Bat}}{{Lilypond}} |6={{#ifeq:{{lc:{{#sub:{{PAGENAME}}|-3}}}}|pdf|{{Bildteil|height={{{hohe|500px}}}|1={{{bild|{{#sub:{{PAGENAME}}|0|-4}}.png}}}|bildbreite={{{breite|1000px}}} }}} }} }} {{Cats|Jazz Akkorde}}{{#if:{{{scale|}}}|{{Cats|{{{scale}}}}}}}

</onlyinclude></includeonly>{{Dokumentation}}<onlyinclude>{{Cats|Jazz Akkorde|Jazz|sort=Y}}</onlyinclude>