Re: guitarist: how write chord names like Gadd5

2011-02-01 Thread Jürgen Ibelgaufts
Many answers. Thanks to everybody. David, Marc, I built my own predefined diagrams, like these: \storePredefinedDiagram \chordmode {g} #guitar-tuning #"3-2;x;o;o;o;x;" \storePredefinedDiagram \chordmode {g'} #guitar-tuning #"3-2;x;o;o;3-3;x;" As you can't have more than one diagram with the sam

Re: guitarist: how write chord names like Gadd5

2011-02-01 Thread Jürgen Ibelgaufts
: > > > Hi, > > On Tue, 1 Feb 2011 07:47:56 -0800 (PST) > Jürgen Ibelgaufts wrote: > >> >> Hello, >> >> When the fret diagram for the G chord is 320003 (not lilypond syntax, >> but you may know what I mean), the G chord with the extra fifth is &g

Re: guitarist: how write chord names like Gadd5

2011-02-01 Thread Jürgen Ibelgaufts
Hello, to be more precisely: no power chords, no slash chords. Just for example an extra fifth to the g major chord (which may be redundant but gives another voicing). When the fret diagram for the G chord is 320003 (not lilypond syntax, but you may know what I mean), the G chord with the extra

guitarist: how write chord names like Gadd5

2011-02-01 Thread Jürgen Ibelgaufts
Hello, I want to write down guitar chords and frets with extra voicings, say a G chord with an extra Fifth on the B string, 3rd fret, or Em chord with an extra G on the treble e string. As these extra notes belong to the chords, you can write g:5, but Lilypond ignores the :5 and prints only G,

Re: How to extract only lyrics and chords, step by step

2011-01-30 Thread Jürgen Ibelgaufts
Hi everybody, here now is a more concise and comprehensive overview of what i had to do to reach my goal, extracting only lyrics and chords from an existing sheet. In detail, he goal can be described as follows: I have two files, the first of them containing only the music, namedly the notes, ch

Re: How to extract only lyrics and chords, step by step

2011-01-28 Thread Jürgen Ibelgaufts
Things can be made easier, but there still are some questions to ask. #4 is not necessary. The lyrics may stay below the staff. #2 is not necessary. It makes no difference whether you shrink the staff or not. #6 By using negative values for the y value in the #extra-offset property, you can mov

How to extract only lyrics and chords, step by step

2011-01-28 Thread Jürgen Ibelgaufts
Hi everybody, here is a first clumsy solution to extract lyrics, chords and guitar frets from an existing score WITHOUT changing the notes, chords and lyrics except optionally add some line breaks for layout reasons. Only remaining disadvantage is that shrinking the staff still seems to occupy

RE: Extracting only lyrics and chords

2011-01-27 Thread Jürgen Ibelgaufts
Hello, thanks for jumping in. Devnull was new to me. I tried, and the notes are invisible, leaving no gap. Very fine so far. But every single syllable leads to a warning "lyric syllable does not have note" and the lyrics still are out of sync. Some syllables even get completely lost. Either ties

Re: Extracting only lyrics and chords

2011-01-27 Thread Jürgen Ibelgaufts
That's what I also thought about. But making objects transparent still lets them occupy their space. This will result in a gap between the lyrics (below the staff) and the chords/frets (above the staff). If it were possible to shrink this gap to zero, using transparency would be a good solution.

Re: Extracting only lyrics and chords

2011-01-26 Thread Jürgen Ibelgaufts
Hello Brett and everybody, Just running into the same problem, making the notes invisible by removing the appropriate engravers seems to REMOVE the notes instead of hiding them. Lilypond gives a warning for every single syllable that there is no note to associate it to. Line breaks still work, bu

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-24 Thread Jürgen Ibelgaufts
Hi Xavier, I gave it a try and it seems that my thoughts were too complicated, your code looks very clean. But... in my case having \voiceOne and \voiceTwo and having them printed in different colors, things get confusing very quickly, and it seems that I still can't omit having several Voices. M

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-23 Thread Jürgen Ibelgaufts
hi, maybe I'm missing something. I did not try your solution, but I suppose it works fine. but how would you append lyrics? \addlyrics gives a syntax error (unexpected \addlyrics), and \lyricsto requires different named voice contexts in which I could not get your solution to work. Cheers Jürgen

Re: How to tie the last note of one variable to the first note of another variable?

2011-01-23 Thread Jürgen Ibelgaufts
Hi, you may tie the e note in partOne to a e1*0 note, like this: partOne = \relative c' { c4 e g e~ e1*0 } I did not yet understand why this works, but it does, even in more complex situations like ties across voices. Note that the e1*0 note must have the same value as the e1 note in partTw

Re: Two voices in two different colors, which color wins in unisono part?

2010-12-28 Thread Jürgen Ibelgaufts
Hi Janek, It wasn't the long slur between measure 3 and 4 that indeed would make no sense with a tie. it was the tie in the second measure (first measure in second line). I used a tie for "historical" reasons. In order to tie the last note of measure 1 to the first note in measure 2 (which can

Re: Two voices in two different colors, which color wins in unisono part?

2010-12-28 Thread Jürgen Ibelgaufts
wow that's it! Very elegant! Am 28.12.2010 17:38, schrieb Neil Puttock: \override NoteHead #'layer = #2 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Two voices in two different colors, which color wins in unisono part?

2010-12-28 Thread Jürgen Ibelgaufts
I must have had hallucinations, too. At one stage, I made a change, and received a different output. then I reverted the change, and received a different output again, but not the same that I had before the change. Seems that using notes with zero length and/or slurs instead of ties opens an ar

Re: Two voices in two different colors, which color wins in unisono part?

2010-12-28 Thread Jürgen Ibelgaufts
Am 28.12.2010 16:43, schrieb Jan Warchoł: Hi Jurgen, the strange coloring interested me, but your snippet failed to produce any output on my computer... Also it collapsed into a continous stream of characters (see below) which renders it totally unreadable :( Perhaps something is wrong with yo

Re: Two voices in two different colors, which color wins in unisono part?

2010-12-28 Thread Jürgen Ibelgaufts
eOne \melodyBOne } \new Voice = "melodyBTwo" { \setNotesColor \voiceTwo \melodyBTwo } >> } } } \layout{ragged-right=##t} * End of snippet ** Phil Holmes-2 wrote: > > - Or

Re: Two voices in two different colors, which color wins in unisono part?

2010-12-27 Thread Jürgen Ibelgaufts
How quick you are! I deleted my message, corrected and posted it again, but you were faster! Yes you are right, that is exactly what I meant. Jürgen Phil Holmes-2 wrote: > > - Original Message - > From: "Jürgen Ibelgaufts" > To: > Sent: Monday, December 27

Two voices in two different colors, which color wins in unisono part?

2010-12-27 Thread Jürgen Ibelgaufts
Hello everybody, I have two voices, \voiceOne printed in black, \voiceTwo printed in red. Among others, there are two identical measures (identical notes, chords and lyrics) that are unisono. Here, the two voices use the same note heads with black stems up and red stems down. Now there is the fu

Two voices in two different colors, which color wins in unisono part?

2010-12-27 Thread Jürgen Ibelgaufts
Hello everybody, I have two voices, \voiceOne printed in black, \voiceTwo printed in red. There are two measures with identical notes, chords and lyrics, that are unisono. Here, the two voices use the same note heads with black stems up and red stems down. Now there is the funny effect that in t

Re: moving Tie_engraver to Score

2010-12-25 Thread Jürgen Ibelgaufts
Thank you for the response. I tried this and as you would expect, the notes now were tied together, butI ran into other difficulties that I could not find a solution for. Adding a hidden note extends the measure by the note length and the \break does not work anymore. I tried \cadenzaOn and \cad