• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

Chordname sus4

Begonnen von hosios, Samstag, 13. August 2011, 20:14

Vorheriges Thema - Nächstes Thema

hosios

Hallo,

Kann ich den "sus" von ein Guitarrengriif in einer partitur wegfallen lassen? Das lilypond z.B. nur D4 zeigt, und nicht Dsus4?

Danke
Paul

harm6

Hallo Paul,

nach LSR-Snippet 459

\version "2.14.2"

% http://lsr.dsi.unimi.it/LSR/Item?id=459

chExceptionMusic = {
  <c f g>1-\markup { \super "4" }
}

chExceptions = #( append
  ( sequential-music-to-chord-exceptions chExceptionMusic #t)
  ignatzekExceptions)

theMusic = \chordmode {
  c1:sus4 g1:sus4
  \set chordNameExceptions = #chExceptions
  c1:sus4 g1:sus4
}

\layout {
  ragged-right = ##t
}

<< \context ChordNames \theMusic
   %\context Voice \theMusic
>> 


Grüße,
  Harm

hosios

Hallo Harm

Ich habe die snipets alle durchgeschaut, aber ich schaute ja natürlich nur auf meine "sus" Ausnahme. Ich habe diesen auch gesehen, aber nicht genug drauf acht gegeben.

Vielen Dank für deine Hilfe.

Paul

hosios

Hallo nochmal,

ich wollte dasselbe mit den sus2 machen, und nach etwas rumspielen habe ich es rausgefunden. hier der code für diejenigen die sich interessieren:


chExceptionMusic = {
  <c f g>1-\markup { \super "4" }
<c d g>1-\markup { \super "2" }
}