Textspanner for one note

2009-09-12 Thread Helge Kruse

Hello,

I have to notate a piece of music where I need a TextSpanner for playing 
instructions. One voice has to repeat a measure again and again, so I 
want to use faulenzer. But I also need the TextSpanner.


The problem is, that the TextSpanner needs different notes to begin and 
end. With the faulenzer there is only one music item (note) and I dont 
find a place to put the start/start of TextSpanner.


Can you help me to add the spanner to the third measure?

Regards,
Helge
#(ly:set-option 'delete-intermediate-files #t)
#(ly:set-option 'point-and-click #f)

\version "2.13.0"

configureTextSpanners = {
	\override TextSpanner #'dash-period = #1
	\override TextSpanner #'dash-fraction = #0.5
	\override TextSpanner #'(bound-details right text) =
		\markup { \draw-line #'(0 . -1) }
	\override TextSpanner #'(bound-details right padding) = #-1
}

\relative c''
{
	\time 3/4
	\configureTextSpanners
	
	% play with damped strings
	\override TextSpanner #'(bound-details left text) = "Xylo "
	8[ \startTextSpan d] [ d] [ d] \stopTextSpan |

	R2. |

	% repeat first measure
	\repeat tremolo 3 { 8 d8 }  |
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: centered textspanner dynamics

2009-09-08 Thread Helge Kruse

Neil,

you kicked me ;-)

I admit, it was too silly. But your advise showed that's simple.

Tanks,
Helge

Neil Puttock schrieb:

2009/9/8 Helge Kruse :


Has anybody any suggestion what I could do to include this text in piano
staff dynamics?


You'll probably kick yourself (if it's any consolation, I looked at
the file for quite a bit before realizing what's wrong :), but you're
typesetting a decrescendo while setting the properties for a
crescendo:

dynamicsOne = {
  \set Voice.crescendoText = \markup { \italic { poco a poco di - mi -
nu - en - do - - - - } }
  \set Voice.crescendoSpanner = #'text

These should be decrescendoText/decrescendoSpanner.

Regards,
Neil





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: centered textspanner dynamics

2009-09-08 Thread Helge Kruse

Sorry for re-send.
Has anybody any suggestion what I could do to include this text in piano 
staff dynamics?


Helge


Hello,

I am using centered dynamics for some scores (id=357). Now I need to use 
a text for a dynamic change spread over several measures. I found an 
appropriate snippet in LSR (id=456).


But I failed to combine both snippets. The hairpin is not replaced by 
the text. What's going wrong here?


I attach a minimal example that can be compiled directly.




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


centered textspanner dynamics

2009-09-06 Thread Helge Kruse

Hello,

I am using centered dynamics for some scores (id=357). Now I need to use 
a text for a dynamic change spread over several measures. I found an 
appropriate snippet in LSR (id=456).


But I failed to combine both snippets. The hairpin is not replaced by 
the text. What's going wrong here?


I attach a minimal example that can be compiled directly.


Regards,
Helge
#(ly:set-option 'delete-intermediate-files #t)
#(ly:set-option 'point-and-click #f)

\version "2.13.0"

voiceOne = \relative c' {
	\clef treble	\time 3/4
	g4 g g | g g g | g g g
}

voiceTwo = \relative c {
	\clef bass	\time 3/4
	f4 f f | f f f | f f f
}

dynamicsOne = {
  \set Voice.crescendoText = \markup { \italic { poco a poco di - mi - nu - en - do - - - - } }
  \set Voice.crescendoSpanner = #'text
  \override DynamicTextSpanner #'style = #'dotted-line
  		s2.\> s2. s2 s8\!
}

\book {
 	\score {
		<<
		\new StaffGroup
			<<
			\new Staff \voiceOne
			\new Dynamics = "Dynamics" \dynamicsOne
			\new Staff \voiceTwo
			>>
		>>
		\layout {
			% define dynamics context like http://lsr.dsi.unimi.it/LSR/Item?id=357
			% to re-use it, put it in file to #include
			\include "dynamicsContext.ly"
			\context {
\StaffGroup
\accepts Dynamics
			}
		}
	}

	%% LSI snippet: http://lsr.dsi.unimi.it/LSR/Item?id=456	
	\score {
		\relative c'' {
			\set crescendoText = \markup { \italic { cresc. poco } }
			\set crescendoSpanner = #'text
			\override DynamicTextSpanner #'style = #'dotted-line
			a2\< a
			a2 a
			a2 a
			a2 a\mf
		}		
	}
}

% define Dynamics context

%dynamicsContext = 
\context 
{
  \type "Engraver_group"
  \name Dynamics
  \alias Voice
  \consists "Output_property_engraver"
  \consists "Piano_pedal_engraver"
  \consists "Script_engraver"
  \consists "New_dynamic_engraver"
  \consists "Dynamic_align_engraver"
  \consists "Text_engraver"
  \consists "Skip_event_swallow_translator"
  \consists "Axis_group_engraver"

  pedalSustainStrings = #'("Ped." "*Ped." "*")
  pedalUnaCordaStrings = #'("una corda" "" "tre corde")
  \override DynamicLineSpanner #'Y-offset = #0
  \override TextScript #'font-size = #2
  \override TextScript #'font-shape = #'italic
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: quality of lilypond outputs of different WYSIWIG software

2009-08-03 Thread Helge Kruse

Daryna Baikadamova schrieb:

There are many WYSIWIG software capable of opening and saving lilypond
files, such as MuseScore, Denemo and Canorus.  However what are the
quality of their Lilypond inputs and outputs?

Also when we talk about "quality", we often mean the accuracy, how
well the features are preserved, and how easy for a *human* to read
and manually maintain the Lilypond output in the future.

Thanks!

Daryna


I tried MuseScore 0.9.4. I save a simple file in Lilypond format and 
open the file again. MuseScore hung. There is a newer version 0.9.5 but 
the release notes does not say anything about bug fixing in .ly file 
handling. I think, as long as the program cannot read its own files, the 
human readibility doesn't care.


But MuseScore works quite nice on the other hand.

Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do you move a note horizontally?

2009-08-03 Thread Helge Kruse

Jonathan Wilkes wrote:

Ok, trying it right now...

--- On Wed, 7/29/09, Nick Payne  wrote:


From: Nick Payne 
Subject: RE: How do you move a note horizontally?
To: "'Jonathan Wilkes'" , lilypond-user@gnu.org
Date: Wednesday, July 29, 2009, 10:25 PM
\once \override NoteColumn
#'force-hshift = #x

Set x to negative to move to the left, positive to the
right.

Nick



Hi Nick,
 I can't get it to work:

\version "2.12.2"

\relative c' {
c \once \override NoteColumn #'force-hshift = #8 d e f
}

Am I using it correctly?

I also tried the NonMusicalPaperColumn thingy that's listed in the NR, and 
it won't do anything either.


-Jonathan


Searching the Snippet Repository I think, that the force-hshift works 
only in polyphonic music. I get this feeling, since in this example


<< {
g4 a
} \\ {

c,4
\once \override NoteColumn #'force-hshift = #1
d e f
} >>


the horizontal shift vanishes when you remove the second note (a) in the 
upper voice. Is force-hshift intended for such a fine-tuning?


The sample above is mimiced from "Forcing horizontal shift of notes" 
found in LSR.


Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


solving dynamics clash

2009-07-14 Thread Helge Kruse

Hello,

I write a piece with a StaffGroup where the bar lines should connect the 
 staves indicating the staves that define one instrument. The dynamics 
are written in a separat "voice".


The problem is, that the dynamics clash with the bar lines. This occurs 
at many locations.


Is there a way to adjust the dynamics a bit more right? Since there are 
a lot of dynamics in the piece: Is there a way to adjust this automatically?


A (minimal) example is attached.

Regards,
Helge
#(ly:set-option 'delete-intermediate-files #t)
#(ly:set-option 'point-and-click #f)

\version "2.13.0"

\book {
	\score {
		\new StaffGroup
			<<
			\new Staff \relative c' {
\clef treble \time 2/4
R2 c4 c c c
			}
			\new Dynamics = "Dynamics_pf" {
s2 s2\mp s2\mf
			}
			\new Staff \relative c {
\clef bass \time 2/4
c2 c c
			}
			>>
		\layout {
			\context {
			  \type "Engraver_group"
			  \name Dynamics
			  \alias Voice
			  \consists "Output_property_engraver"
			  \consists "Piano_pedal_engraver"
			  \consists "Script_engraver"
			  \consists "New_dynamic_engraver"
			  \consists "Dynamic_align_engraver"
			  \consists "Text_engraver"
			  \consists "Skip_event_swallow_translator"
			  \consists "Axis_group_engraver"
			
			  \override DynamicLineSpanner #'Y-offset = #0
			  \override TextScript #'font-size = #2
			  \override TextScript #'font-shape = #'italic
			  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
			}
			\context {
\StaffGroup \accepts Dynamics
			}
		}
	}
}


dynamics.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notation Editor with MIDI

2009-06-10 Thread Helge Kruse

Jan,

I hesitated to answer this, since I have great respect for the authors 
of Lilypond. But I feel I have to respond.


Jan Nieuwenhuizen wrote:
You may want to give some of these programs another try.  For 
example,


apt-get install skype

You are right, you find one point on the list, that is ported to Linux.


works fine [but it is not open source, of course, so you get
the same crap as on other platforms.]
Maybe it's crap or any other thing. But should I stop to talk with other 
Skype users because it's not open source?





 you have ported i.e.


"you" have ported?
I don't say that you, Jan, should port any of theses programs. I 
understand "you" as "you, outside in the world". Sorry if this was 
misleading.



Let me give you a reality check.  Open Source is not about
making others run for you without paying them; it is about
being able to solve your own problems, without depending on
a proprietary software vendor.
Does this mean that I have to use Open Source exclusively and have no 
possibility to pay for a good software job anymore?





  Platform Builder 6.0


This is a joke right?

No.


I never heard of this thing but google says

About Platform Builder
Microsoft® Platform Builder is an integrated development
environment (IDE) for building customized embedded platforms
based on the Microsoft Windows® CE .NET operating system (OS).

didn't you read the memo, mobile is going Linux ;-)
What memo? And even if some cellphones are equipped with WinCE, I have 
nothing to do with mobile devices. I use this software and just asked 
how Grammostola would run it with ubuntu or any other Linux.


to ubuntu. Please keep in mind: Despite Lilypond is a great software, a 
lot of readers


Please speak for yourself...
Yep. The OP asked for MIDI file generating. I write harp scores for my 
friends and me. I use Lilypond, since I get the best score even with 
special requirements. As you can guess I am a software developer and so 
I am accustomed to use this compiler thing to get a graphical output.




...you don't know that!

Who knows?


Best regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notation Editor with MIDI

2009-06-09 Thread Helge Kruse

Grammostola Rosea wrote:

btw why don't you install ubuntu 9.04? It has all you want.
Lilypond
Musescore
Nted
Rosegarden
Frescobaldi

I would install ubuntu x.xx when you have ported i.e.
 Platform Builder 6.0
 The Nokia PC Suite
 Skype
to ubuntu. Please keep in mind: Despite Lilypond is a great software, a 
lot of readers use the PC also for other tasks than generating fine 
scores or MIDI files.


Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: thanks to whomever put this in the LSR...

2009-06-03 Thread Helge Kruse


chip wrote:
I was just browsing around in the LSR and found this very useful bit 
that is just fantastic, I hadn't come across it in any docs - LM, NR, or 
IR (I did a browser Edit/Find for output-suffix on all of those) -


#(define output-suffix "you-put-something-here")


It's for use in a multi-bookpart .ly file that generates multiple .pdf 
files. Typically the file names are appended with -1, -2, -3, etc which 
isn't very helpful. That little bit of code lets you append any bit of 
text to the file name, so instead of


filename-1.pdf

you get

filename-you-put-something-here-1.pdf


Is there a way to omit the -1 -2 ... suffix? I would like to specify the 
pdf file name in the .ly file.


Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs lilypond-mode

2009-06-01 Thread Helge Kruse

Moin Thomas,

Error codes are created by the operating system and reported by the 
application. The error code may be dependent on the context.


The context that you reported looks like a CreateFile 
"http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx" context. 
In this case it means ERROR_FILE_NOT_FOUND 
"http://msdn.microsoft.com/en-us/library/ms681382.aspx";, the system 
cannot find the file specified. That's in contrast to error code 3 
ERROR_PATH_NOT_FOUND, so only your file name is incorrect.


Regards,
Helge

Thomas wrote:

PS
somebody out there must know what "error code 2" in the lilypond-context 
means ... I even searched the .el files, but no result
or is this an emacs error? would be at least interesting, if not helpfull to 
find that out...

cheers
thomas 






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Special markups

2009-05-21 Thread Helge Kruse

Graham Percival wrote:

On Tue, May 19, 2009 at 07:35:00AM +0200, Helge Kruse wrote:
For me each is confusing as the other, since I don't understand scheme.  
Is there any "Scheme in a nutshell", probably especially for Lilypond?


You mean "in addition to LM appendix B. Scheme tutorial", or
"instead of LM appendix B. Scheme tutorial" ?



To be honest, I didn't read LM appendix B before. It's a good starting 
point even if it's not a nutshell to cross the daily work ocean. But it 
answers a lot of questions, i.e. where Scheme ends and Lilypond starts 
(#), as well as syntax fundamentals. More details are found in the NR 
chapter 6.



Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Shrinking score size

2009-05-21 Thread Helge Kruse

Wilbert Berendsen wrote:

Op donderdag 21 mei 2009, schreef Helge Kruse:

Hello,

I have a choir score that originally fit on one page. After writing it
with Lilypond the last measure is on an additional page. How do I shrink
the size? I think there should be room for shrink at the lower part.


I fixed some errors (- without space) in the lyrics so the notes were better 
spaced out, and set global-staff-size to 18, which is nicer than the default 
20 for multi-staff scores. And removed the ragged-right setting.


btw: using -- instead of single - in the lyrics gives nice centered hyphens 
between syllabes.





Wilbert,

many thanks for reply. Now I get it on the paper. With your's and 
Francisco's help I have now a satisfying layout.


Tanks,
Helge
% Created on Thu May 21 13:18:02 CEST 2009
#(ly:set-option 'midi-extension "midi") 
#(ly:set-option 'delete-intermediate-files #t)
\version "2.13.0"

#(set-global-staff-size 18)
\header {
	title = "Evening Rise"
	composer = "trad. indianisch"
	arranger = "Satz: Meinhard Ansohn"
	tagline = ""
}

\include "deutsch.ly"

verseSopran= \lyricmode {
	Eve ning ri -- ses, Spi -- rit come, sun goes down, the day is done.
	Moth -- er Earth a -- wa -- kens me, with the heart -- beat of the sea.
}

verseSopranMeldody = \lyricmode {
	Eve ning rise, Spi -- rit come, sun goes down, when the day is done.
	Moth -- er Earth a -- wa -- kens me, with the heart -- beat of the sea.
}

verseAltI= \lyricmode {
	Eve ning rise, Spi -- rit come, sun goes down, when the day is done.
	Moth -- er Earth a -- wa -- kens me, heart -- beat of the sea.
}

verseAltII= \lyricmode {
	Eve ning rise, Spi -- rit come, sun goes down, when the day is done.
	Moth -- er Earth a -- wa -- kens me, with the heart -- beat of the sea.
}

verseTenor= \lyricmode {
	Eve ning rise, Spi -- rit come, sun goes down, when the day is done.
	Moth -- er Earth a -- wa -- kens me, with the heart -- beat of the sea.
}

verseBass= \lyricmode {
	Eve ning rise, Spi -- rit come, sun goes down, day is done.
	Moth -- er Earth a -- wa -- kens me, heart -- beat of the sea.
}

staffSopranoI = \new Staff  {
	\time 4/4
	\set Staff.instrumentName= \markup { \column { "Sopran" "Oberstimme" } }
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodySop" {
			\dynamicUp		
 % Type notes here 
 		e8(^\markup{ \box{ 6 } } fis) g( a) h4 h8( c) |
		h4 a8( g) a2 |
		d4 d a4. d8 |
		d4 c h2 |
		h8 c h2 a8( g) |
		a8 h a2 h8 a |
		g8( fis) e4 a g8( fis) |
		fis1
		}

	\bar "|."
	}

}
staffSopranoII = \new Staff  {
	\set Staff.instrumentName= \markup { \column {"Sopran" "Melodie" } }
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodySopB" {
			\dynamicUp		
 % Type notes here 
 		e4^\markup{ \box{ 1 } } h'4 h2 |
		a4 h e,2 |
		g4 g fis g8 fis |
		e4 h' h2 |
		e,4 h'4 h4. h8 |
		a4 h e, e8 fis |
		g4 g fis g8( fis) |
		e1
		}

	\bar "|."
	}

}
staffAltoI = \new Staff  {
	\set Staff.instrumentName="Alt I"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodyAlt" {
			\dynamicUp		
 % Type notes here 
 		e4^\markup{ \box{ 3 } } g fis2 |
		g4 g e2 |
		e4 d d e8 d |
		h4 g'8( fis) dis2 |
		e4 g fis4. fis8 |
		g4 g8(fis) e2 |
		e4 e d d |
		h1
		}

	\bar "|."
	}

}
staffAltoII = \new Staff  {
	\set Staff.instrumentName="Alt II"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodyAltB" {
			\dynamicUp		
 % Type notes here 
 		e4^\markup{ \box{ 2 } } e dis2 |
		d?4 d cis2 |
		c?4 c d h8 d |
		e4 e fis2 |
		e4 e dis4. dis8 |
		d?4 d cis cis8 cis |
		c?4 c d h |
		e1
		}

	\bar "|."
	}

}
staffTenorI = \new Staff  {
	\set Staff.instrumentName="Tenor"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef "G_8"
	\relative c' { 	
		\context Voice = "melodyTen" {
			\dynamicUp		
 % Type notes here 
 		e,4^\markup{ \box{ 5 } } e fis2 |
		g8( fis) g(a) h2 |
		c8( h) g4 a g8 a |
		h4 h a2 |
		g4 e fis4. h8 |
		h4 g h e,8 e |
		e4 g c8( h) a4 |
		h1
		}

	\bar "|."
	}

}
staffBassI = \new Staff  {
	\set Staff.instrumentName="Bass"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef bass
	\relative c' { 	
		\context Voice = "melodyBas" {
			\dynamicUp		
 % Type notes here 
 		e,4^\markup{ \box{ 4 } } e8( d) h2 |
		d4 h a2 |
		c4 e d2 |
		g8( fis) e4 h2 |
		e4 e8( d) h4. cis8 |
		d4 g, fis2 |
		c'4 c d d |
		e1
		}

	\bar "|."
	}

}

harmonies =  \new ChordNames \chordmode {
	\germanChords
	
}

\sc

Textspanner too short

2009-05-21 Thread Helge Kruse

Hello,

I use a TextSpanner to indicate playing instructions, commonly used on 
the harp. I found that the TextSpanner sometime does not include the 
notes, when a line break occurs. I found no way to extend the spanner in 
to the D in measure 11.


Another problem with TextSpanners is that they include the whole 
measure, when the measure is at the end of line (measure 10) but only to 
the end of the note (measure 15). Can I set the spanner end 
individually? Currently I would prefer to include the whole measure.


Regards,
Helge
#(ly:set-option 'delete-intermediate-files #t)

\version "2.13.0"

voiceOne = \relative c'' {
	\clef treble
	\time 2/4
	\key f \major

	 \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
	 \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)

	\override TextSpanner #'dash-period = #1
	\override TextSpanner #'dash-fraction = #0.5
	\override TextSpanner #'(bound-details right text) =
		\markup { \draw-line #'(0 . -1) }

	r2 | r2 | r2 | r2 | r2 | r2 |  
	
	\override TextSpanner #'(bound-details left text) = "Pdlt. "
	d8 \startTextSpan e f e |
	f8 g a4 |
	f8 e d a |
	f4 e |
	d2 \stopTextSpan \clef bass |
	
	\override TextSpanner #'(bound-details left text) = "Bas de la corde "
	f,4.\startTextSpan c'8 |
	f,4. c'8 |
	f,4 a8 g |
% #30
	f4 g \stopTextSpan |
	r2 | r2 | r2 | r2 | r2 | r2 | 
}


 	\score {
		<<
		\new PianoStaff 
			<<
			\new Staff \voiceOne
			>>
		>>
	
		\layout { }
	}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Shrinking score size

2009-05-21 Thread Helge Kruse

Hello,

I have a choir score that originally fit on one page. After writing it 
with Lilypond the last measure is on an additional page. How do I shrink 
the size? I think there should be room for shrink at the lower part.


Regards,
Helge
% Created on Thu May 21 13:18:02 CEST 2009
#(ly:set-option 'midi-extension "midi") 
#(ly:set-option 'delete-intermediate-files #t)
\version "2.13.0"
\paper{ ragged-right=##t }

\header {
	title = "Evening Rise"
	composer = "trad. indianisch"
	arranger = "Satz: Meinhard Ansohn"
}

\include "deutsch.ly"

verse= \lyricmode {
	Eve ning ri- ses, Spi- rit come, sun goes down, the day is done.
	Moth- er Earth a- wa- kens me, with the heart- beat of the sea.
}

verseSopranMeldody = \lyricmode {
	Eve ning rise, Spi- rit come, sun goes down, when the day is done.
	Moth- er Earth a- wa- kens me, with the heart- beat of the sea.
}

verseAltI= \lyricmode {
	Eve ning rise, Spi- rit come, sun goes down, when the day is done.
	Moth- er Earth a- wa- kens me, heart- beat of the sea.
}

verseAltII= \lyricmode {
	Eve ning rise, Spi- rit come, sun goes down, when the day is done.
	Moth- er Earth a-wa-kens me, with the heart-beat of the sea.
}

verseTenor= \lyricmode {
	Eve ning rise, Spi- rit come, sun goes down, when the day is done.
	Moth- er Earth a- wa- kens me, with the heart- beat of the sea.
}

verseBass= \lyricmode {
	Eve ning rise, Spi- rit come, sun goes down, day is done.
	Moth- er Earth a- wa- kens me, heart- beat of the sea.
}

staffSopranoI = \new Staff  {
	\time 4/4
	\set Staff.instrumentName="Sopr I"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodySop" {
			\dynamicUp		
 % Type notes here 
 		e8( fis) g( a) h4 h8( c) |
		h4 a8( g) a2 |
		d4 d a4. d8 |
		d4 c h2 |
		h8 c h2 a8( g) |
		a8 h a2 h8 a |
		g8( fis) e4 a g8( fis) |
		fis1
		}

	\bar "|."
	}

}
staffSopranoII = \new Staff  {
	\set Staff.instrumentName="Sopr II"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodySopB" {
			\dynamicUp		
 % Type notes here 
 		e4 h'4 h2 |
		a4 h e,2 |
		g4 g fis g8 fis |
		e4 h' h2 |
		e,4 h'4 h4. h8 |
		a4 h e, e8 fis |
		g4 g fis g8( fis) |
		e1
		}

	\bar "|."
	}

}
staffAltoI = \new Staff  {
	\set Staff.instrumentName="Alto I"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodyAlt" {
			\dynamicUp		
 % Type notes here 
 		e4 g fis2 |
		g4 g e2 |
		e4 d d e8 d |
		h4 g'8( fis) dis2 |
		e4 g fis4. fis8 |
		g4 g8(fis) e2 |
		e4 e d d |
		h1
		}

	\bar "|."
	}

}
staffAltoII = \new Staff  {
	\set Staff.instrumentName="Alto II"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef treble
	\relative c' { 	
		\context Voice = "melodyAltB" {
			\dynamicUp		
 % Type notes here 
 		e4 e dis2 |
		d4 d cis2 |
		c4 c d h8 d |
		e4 e fis2 |
		e4 e dis4. d8 |
		d4 d cis cis8 cis |
		c4 c d h |
		e1
		}

	\bar "|."
	}

}
staffTenorI = \new Staff  {
	\set Staff.instrumentName="Tenor I"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef "G_8"
	\relative c' { 	
		\context Voice = "melodyTen" {
			\dynamicUp		
 % Type notes here 
 		e,4 e fis2 |
		g8( fis) g(a) h2 |
		c8( h) g4 a g8 a |
		h4 h a2 |
		g4 e fis4. h8 |
		h4 g h e,8 e |
		e4 g c8( h) a4 |
		h1
		}

	\bar "|."
	}

}
staffBassI = \new Staff  {
	\set Staff.instrumentName="Bass I"
	\set Staff.midiInstrument="choir aahs"
	\key g \major
	\clef bass
	\relative c' { 	
		\context Voice = "melodyBas" {
			\dynamicUp		
 % Type notes here 
 		e,4 e8( d) h2 |
		d4 h a2 |
		c4 e d2 |
		g8( fis) e4 h2 |
		e4 e8( d) h4. cis8 |
		d4 g, fis2 |
		c'4 c d d |
		e1
		}

	\bar "|."
	}

}

harmonies =  \new ChordNames \chordmode {
	\germanChords
	
}

\score {
	<<
		\harmonies
		\staffSopranoI
		\context Lyrics = "lmelodySop" \lyricmode  { \lyricsto "melodySop" \verse }
		
		\staffSopranoII
		\context Lyrics = "lmelodySopB" \lyricmode  { \lyricsto "melodySopB" \verseSopranMeldody }
		
		\staffAltoI
		\context Lyrics = "lmelodyAlt" \lyricmode  { \lyricsto "melodyAlt" \verseAltI }
		
		\staffAltoII
		\context Lyrics = "lmelodyAltB" \lyricmode  { \lyricsto "melodyAltB" \verseAltII }
		
		\staffTenorI
		\context Lyrics = "lmelodyTen" \lyricmode  { \lyricsto "melodyTen" \verseTenor }
		
		\staffBassI
		\context Lyrics = "lmelodyBas" \lyricmode  { \lyricsto "melodyBas" \verseBass }
		
	>>
	
	\midi {
	}

	\layout  {
	}
}


\paper {
	#(set-paper-size "a4")
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Special markups

2009-05-18 Thread Helge Kruse

Carl D. Sorensen wrote:


Perhaps for maximum clarity, we should write this as:

#(define-markup-command (fingernail layout props) ()
  (ly:make-stencil
   (list 'bezier-sandwich
 (list 1.6 1.5 0.4 1.5 0 0 2 0
0.4 0.75 1.6 0.75 2 0 0 0)
 0.15)
   (cons 0  2)
   (cons 0  1.75)))


I think we just had a discussion where we decided that the '(A . B) syntax
was more confusing than (cons A B) because the period could be overlooked.


For me each is confusing as the other, since I don't understand scheme. 
Is there any "Scheme in a nutshell", probably especially for Lilypond?



I would like to be able to write such functions. Now I will always have 
to ask others for such fine support.


Many thanks to all, who give help with my special markups.

Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Special markups

2009-05-18 Thread Helge Kruse

Brett Duncan wrote:

Helge Kruse wrote:
The notes are written as f pitch, but they sound as knocking or 
tapping at the sound board. This is a short fragment in the voice. I 
would like to "patch" the MIDI output for these notes. How to insert 
MIDI commands in the output? This does NOT work:


\override NoteHead #'style = #'cross
\set Staff.midiInstrument = #"synth drum"
f16 \startTextSpan f f f  f8 f |
f16 f f f  f8 f |
f16 f f f  f4 \stopTextSpan |
\revert NoteHead #'style
\set Staff.midiInstrument = #"acoustic grand"


Your code works for me!

When you say it does not work, do you mean that the voice remains 
'acoustic grand' throughout? Or do the notes not sound at all?



Well the code works to generate "X" note heads. But the code doesn't
change the MIDI instrument on the fly. It's always the "acoustic grand"
in the ear. I replaced "synth drum" by "woodblock" and it works! I don't
understand why it didn't before.

But I don't need "synth drum", there is no matching MIDI instrument
anyway. I would need the sounds of knocking and tapping on the harp 
body. And I would like to set the instrument for the other notes to 
"harp" (MIDI channel 146).



Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Special markups

2009-05-17 Thread Helge Kruse

Always a good idea to attach the announced files...

Helge


Helge Kruse wrote:

Hello,

I want to add markups as shown in the attachment. The circled T and the 
half-moon are playing instruction as described here: 
http://hornandharp.com/publications/images/andresNotations.pdf (point 9b 
and 7). How do I add such special markups?


The notes are written as f pitch, but they sound as knocking or tapping 
at the sound board. This is a short fragment in the voice. I would like 
to "patch" the MIDI output for these notes. How to insert MIDI commands 
in the output? This does NOT work:


\override NoteHead #'style = #'cross
\set Staff.midiInstrument = #"synth drum"
f16 \startTextSpan f f f  f8 f |
f16 f f f  f8 f |
f16 f f f  f4 \stopTextSpan |
\revert NoteHead #'style
\set Staff.midiInstrument = #"acoustic grand"


Regards,
Helge



<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Special markups

2009-05-17 Thread Helge Kruse

Hello,

I want to add markups as shown in the attachment. The circled T and the 
half-moon are playing instruction as described here: 
http://hornandharp.com/publications/images/andresNotations.pdf (point 9b 
and 7). How do I add such special markups?


The notes are written as f pitch, but they sound as knocking or tapping 
at the sound board. This is a short fragment in the voice. I would like 
to "patch" the MIDI output for these notes. How to insert MIDI commands 
in the output? This does NOT work:


\override NoteHead #'style = #'cross
\set Staff.midiInstrument = #"synth drum"
f16 \startTextSpan f f f  f8 f |
f16 f f f  f8 f |
f16 f f f  f4 \stopTextSpan |
\revert NoteHead #'style
\set Staff.midiInstrument = #"acoustic grand"


Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: jEdit changes file unexpectedly

2009-05-17 Thread Helge Kruse
Yes, setting the Encoding in Global Options to UTF-8 allows saving and 
re-loading of UTF-8 files. Dunno if this will hit me at any other place, 
since it's a global option, where I would need it only for files with a 
specific extension. But I'll wait until I get the problem, if any.


Regards,
Helge

Chip wrote:

Bertalan Fodor wrote:
It might be opened not in UTF-8. See in the lower right corner. You 
can make sure it is loaded in the correct encoding, by using File > 
Open with encoding...
I've had the same problem with one file as well - the title of a song is 
Cariño Nuevo. The ñ gets changed to n everytime. I finally gave up on 
changing it and just leave it as a regular n. BTW, my files are all 
opened/saved as UTF-8, everytime, so I thought. After all, in the bottom 
corner it showed UTF-8. I then went to File/Open/Commands/Encoding, and 
it always defaulted to Auto and cP1252. I'd change it, but found that I 
had to do that every time I opened a file. I finally found in 
Utilities/Global Options/Encodings that that is what the default was set 
to. I changed it to UTF-8 and now it opens the files correctly.

Helge, maybe that is your issue as well?
--
Chip



Cheers,

Bert

Helge Kruse írta:

Hello,

I have found a problem with jEdit (probably LilypondTool). I just 
write a .ly source that contains the word "Pincé". I saved the file 
yesterday. Today I wanted to continue and see that this word has been 
changed to "Pincé". That's a bit annoying. The "Pincé" is a playing 
instruction and should be a markup.


Do you know a way to save the spelling of it? Since it appears at 
several places, it's not easy to fix it every time I re-open the file.


Regards,
Helge 






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ottava brackets abuse

2009-05-16 Thread Helge Kruse

Kieren MacMillan wrote:

Hi Helge,


thanks for hint to TextSpanner. I suspect ottava brackets to use TextSpanner. 
;-)


Clever... but too complicated in this case!  =)


I read the manual and searched at LSR. The sample in LSR looks
promisingly. But I don't get the expected results:
1) The text is missing.


The LSR example is outdated -- the syntax for TextSpanner has changed. In 
particular, you should use

\override TextSpanner #'(bound-details left text) = "Pincé"

Read the manual section on TextSpanners for more information.


2) The falling edge at the end is missing.


I don't know this one off the top of my head -- perhaps the manual or another 
list member will help?


My bad, I used an old documentation! Updated to new docs incl. 
lilypond-snippets.pdf and found, that the ending edge must be drawn. The 
complete example is attached.


Regards,
Helge

#(ly:set-option 'point-and-click #f)
\version "2.13.0"
\include "deutsch.ly"
\relative c' {
	\clef treble
	\time 2/4
	\key f \major

	\override TextSpanner #'(bound-details left text) = "Pincé"
	\override TextSpanner #'dash-period = #1
	\override TextSpanner #'dash-fraction = #0.5
	\override TextSpanner #'(bound-details right text) =
		\markup { \draw-line #'(0 . -1) }

  	d8 \startTextSpan e f d |
	f8 g a d \stopTextSpan |
	\revert TextSpanner #'style
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ottava brackets abuse

2009-05-16 Thread Helge Kruse

Kieren MacMillan wrote:

Hi Helge,

 > I need to write something that looks like ottava brackets, but must not
 > affect the pitch. With _#(set-ocatavation 1)_ I can create a bracket
 > that yields to _#(set-ocatavation 0)_ and I would also change the text
 > to i.e. _\set Staff.ottavation = #"Pincé"_ after several measures.
 >
 > But how do I keep the pitch for these notes?

Why can you not just use a TextSpanner?


Kieren,

thanks for hint to TextSpanner. I suspect ottava brackets to use 
TextSpanner. ;-)


I read the manual and searched at LSR. The sample in LSR looks 
promisingly. But I don't get the expected results:

1) The text is missing.
2) The falling edge at the end is missing.

What's wrong? (Complete example and result attached)


Regards,
Helge

#(ly:set-option 'point-and-click #f)
\version "2.13.0"
\include "deutsch.ly"
\relative c' {
	\clef treble
	\time 2/4
	\key f \major

	\override TextSpanner  #'edge-text = #'("Pincé" .  ",")
	\override TextSpanner  #'dash-period = #1
	\override TextSpanner  #'dash-fraction = #0.5
	\override TextSpanner  #'edge-height = #'(1 . -2)
	\override TextSpanner  #'thickness = #1
  
  	d8 \startTextSpan e f d |
	f8 g a d \stopTextSpan |
	\revert TextSpanner #'style
}



span.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Ottava brackets abuse

2009-05-16 Thread Helge Kruse

Hello,

I need to write something that looks like ottava brackets, but must not 
affect the pitch. With _#(set-ocatavation 1)_ I can create a bracket 
that yields to _#(set-ocatavation 0)_ and I would also change the text 
to i.e. _\set Staff.ottavation = #"Pincé"_ after several measures.


But how do I keep the pitch for these notes?

Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: One and a half voice

2009-05-16 Thread Helge Kruse

Francisco Vila wrote:

2009/5/16 Helge Kruse :

Hello,

I want to write a fragment as shown in the attachment. I wrote it as

   \clef treble
   \time 2/4
   \key f \major
   << { f8 a g a  f a g a  f a g a g b 4 } \\
   { d4 e  d e  d e  d c } >>

This gives the same notes but the stem does not connect the notes. The lower
voice in introduced only for a few measures and indicates that these notes
are to be played with a bit accent. So it's not really a voice by it's own.

How would you write it in Lilypond to get closer to the original?


Add the lower notes as chords to the upper voice, noteheads merge automatically.

<< { 8 a  a   a  a   a  a  b 4 } \\


Thanks for reply. This approach has also the advantage that I can ignore 
the intentional lower "voice" and add everything in the chords. So I can 
give away a preliminary version without the lower stems for proof 
reading of the pitches and add the lower voice when I add all the 
dynamics, ottava brackets and playing instructions in the second phase.


Thanks,
Helge




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


jEdit changes file unexpectedly

2009-05-15 Thread Helge Kruse

Hello,

I have found a problem with jEdit (probably LilypondTool). I just write 
a .ly source that contains the word "Pincé". I saved the file yesterday. 
Today I wanted to continue and see that this word has been changed to 
"Pincé". That's a bit annoying. The "Pincé" is a playing instruction 
and should be a markup.


Do you know a way to save the spelling of it? Since it appears at 
several places, it's not easy to fix it every time I re-open the file.


Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Tool in jEdit

2009-04-22 Thread Helge Kruse

if you use the build in system console of jEdit, make sure to clear it
berfore running LaTeX again. LaTeX writes a lot of output and this has
to be buffered for that console.

Exactly in this case jEdit hangs. It seams like I have to make sure that 
LaTeX has terminated, but it doesnt always in case of errors in the TEX 
file. When I clear the buffer, I probably sometimes forget to terminate 
latex before I start the next run.


Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Tool in jEdit

2009-04-21 Thread Helge Kruse

I also write in LaTeX and tried to use jEdit for this purpose. But jEdit
hangs several times per hour when running LaTeX. I argue that it would
be better to use the stable version 4.2 of jEdit. But there's no LPT
available


I haven't used LaTeX for some years, that was before I used jEdit.
You may consider starting LaTeX from the DOS prompt?


Yes it's possible, but jEdit has some nice features, like jump to the next 
error found in compiler (Lilypond,LaTeX) output.


Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond Tool in jEdit

2009-04-21 Thread Helge Kruse

Hello,

I installed jEdit and LilyPondTool (LPT) at Windows XP.
Unfortunately LPT could not be installed with the Plugin Manager of jEdit 
4.2. So I choosed to install jEdit 4.3pre16 (the development version) and 
LPT.


I also write in LaTeX and tried to use jEdit for this purpose. But jEdit 
hangs several times per hour when running LaTeX. I argue that it would be 
better to use the stable version 4.2 of jEdit. But there's no LPT 
available


Do you have similar problems with jEdit 4.3pre16?
Would it be possible to make LPT available for jEdit 4.2?

Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypondtool mirror

2009-04-12 Thread Helge Kruse

Tim,

thanks for reply. Meanwhile I got it.

It was a typo in the mail. But you get the link 
http://lilypondtool.organum.hu/fileadmin/lilypondtool/LilyPondTool.zip 
at http://lilypondtool.organum.hu/ -> Install -> LilyPondTool.zip

that gives 404 too.

Reading the LilyPondTool documentation I found that it is not useful to 
manually download it but use the jEdit Plugin Manager. I tried to 
download it manually, since it has not been listed in jEdit (stable 
version). I realized that I have to use the latest development version 
of jEdit to be able to use the download manager. I think it's a pity 
that the (older) stable jEdit version doesn't find an (probably older) 
version of LilyPondTool. But now I have a working environemt as 
mentioned above.


Regards,
Helge

Tim Reeves wrote:


Helge,

Maybe you got that error because your spelling was incorrect 
(lilipondtool vs. lilypondtool)


If that was not the reason, you can also install it from within jEdit, 
by going to the Plug-in Manager and selecting it from the list and 
clicking on Install (IIRC).



Hope this helps.



Tim Reeves




 > Message: 3
 > Date: Fri, 10 Apr 2009 19:41:43 +0200
 > From: Helge Kruse 
 > Subject: Lilypondtool mirror
 > To: "lilypond-user@gnu.org" 
 > Message-ID: <49df84d7.1040...@gmx.net>
 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 >
 > Hello,
 >
 > I tried to download
 > http://lilypondtool.organum.hu/fileadmin/lilypondtool/LiliPondTool.zip
 > but got HTTP response 404: not found.
 >
 > Is there any mirror of this tool?
 >
 > Regards,
 > Helge
 >
 >




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypondtool mirror

2009-04-10 Thread Helge Kruse

Hello,

I tried to download 
http://lilypondtool.organum.hu/fileadmin/lilypondtool/LiliPondTool.zip 
but got HTTP response 404: not found.


Is there any mirror of this tool?

Regards,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Avoiding slur collision with other voice

2009-04-05 Thread Helge Kruse

Forgotten sample file attached...

Helge


Helge Kruse wrote:

Hello,

with help by Trevor I got forward a lot with my scores. Currently I 
still have a little issue with slurs. The original score, that I want to 
mimic, has slurs _above_ the noteheads: http://dj1na.gmxhome.de/pg-0009.JPG


Lilypond puts the slurs below the beams per default. This can be 
confusing with the triplet indication (see attached slur.ly, measure 
two, first two triplets). So I want to place them above the notedheads 
like it's done in the original source.


I am uncertain if these slurs are legato slurs or phrasing slurs. I 
tried them both and did not found an important difference, probably I am 
too unexperienced ;-) Should I use () or \(\) ?


Independent of the kind of slurs I get collisions between the slurs and 
the stems of the other voice. (see attached slur.ly, measure one) There 
are two pages only with such triplets, so I think it's hard to do this 
per slur manually.

Can I tell lilypond to avoid these collisions with other voice?


Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user



\score {
  \relative c'' {
\clef treble \key as \minor \time 2/4
#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)
\set Staff.beatLength = #(ly:make-moment 1 8)

<< { s8 ces r ces }
   \\
   {
	 \slurUp
	 \phrasingSlurUp
	 \times 2/3 { r16 as\( b\) }
	 \times 2/3 { ces( b as) }
	 \times 2/3 { r as( b) }
	 \times 2/3 { ces( b as) }
   }
 >> |

<< { s8 des[ es des] } \\
   { \times 2/3 { r16( b ces) }
	 \times 2/3 { des( ces b) }
	 \times 2/3 { es( des ces) }
	 \times 2/3 { des( ces b) } 
   }>> |
 }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Avoiding slur collision with other voice

2009-04-05 Thread Helge Kruse

Hello,

with help by Trevor I got forward a lot with my scores. Currently I 
still have a little issue with slurs. The original score, that I want to 
mimic, has slurs _above_ the noteheads: http://dj1na.gmxhome.de/pg-0009.JPG


Lilypond puts the slurs below the beams per default. This can be 
confusing with the triplet indication (see attached slur.ly, measure 
two, first two triplets). So I want to place them above the notedheads 
like it's done in the original source.


I am uncertain if these slurs are legato slurs or phrasing slurs. I 
tried them both and did not found an important difference, probably I am 
too unexperienced ;-) Should I use () or \(\) ?


Independent of the kind of slurs I get collisions between the slurs and 
the stems of the other voice. (see attached slur.ly, measure one) There 
are two pages only with such triplets, so I think it's hard to do this 
per slur manually.

Can I tell lilypond to avoid these collisions with other voice?


Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Automatic beaming

2009-04-05 Thread Helge Kruse

Thanks,

this doesnt work with lilypond 2.11.63 at all. The beams dont end at the
triplet boundaries. I try to update to a newer version

Yep, 2.11.65 fixed this behavior. Still trying versions 2.13.0-0
does it too.

Many thanks,
Helge

Trevor Daniels wrote:

Helge

This works with 2.11.65:

% "real score", automatic beaming, does NOT work
% Works with added revert  -td
\score {
 \relative c'' {
   \clef treble \key as \minor \time 2/4
   #(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)
   \set Staff.beatLength = #(ly:make-moment 1 8)
%\set Staff.beatGrouping = #'(2 2 2 2 2 2 2 2 )
%\set Staff.beatGrouping = #'(8 8 8 8)

   << { r8 ces r ces }
  \\
  { \times 2/3 { r16 as b }
 \times 2/3 { ces b as }
 \times 2/3 { s as b }
 \times 2/3 { ces b as }
  }
>>
 }
 \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

Trevor

- Original Message - From: "Helge Kruse" 


To: "Trevor Daniels" 
Cc: 
Sent: Sunday, April 05, 2009 9:10 AM
Subject: Re: Automatic beaming



Trevor Daniels wrote:


Helge Kruse wrote Sunday, April 05, 2009 7:22 AM


I write a piece with where are a lot of triplets in one variation. It
looks nice to have the beaming in the same length as the triplets as it
is done in the hand writing original.

I found in the manual (1.2.4 Beams) that I can manually set beaming. 
But
since the piece has a regulare structure (almost only triples), I 
wanted

to use automatic beaming. Unfortunately I did get i working. I attach
the samples in one file (tuplet.ly) with some samples. The handwritten
original score is placed here: http://dj1na.gmxhome.de/pg-0009.JPG


Sample:1 got from the manual works, shows the use of beatGrouping.

Sample:2 I modified it using beatLength, shows that automatic beaming
works with triplets.

Sample:3 This is an excerpt of the "real score", but using manual
beaming. The object is to setup automatic beaming, that it produces the
same output.

Sample:4 My Playground, where no combination of beatLength and
beatGrouping gave any acceptible result.


Can you tell we, what must I do to fix this?


Setting beatLength to 1/8 will work fine, but you
must revert all the beam-ending rules for that time
signature and beam duration which are set in auto-beam.scm,
otherwise setting beatLength will not work.  There
is no need to use beatGrouping here.

In your example the required revert command is

#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)

This can be reverted in Voice, Staff or Score contexts.
If you use 32nd beams there are also two more rules
to revert.

You can read about this in section 1.2.4 in the Notation
Reference under Setting sutomatic beam behaviour.



Best Regards,
Helge



Trevor



Trevor,

thanks for reply. I added the line you mentioned -- it didnt show any
change. So I added these lines

#(set-time-signature 2 4 '(1 1))
#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)

assuming I have a 2/4 measure. This gives an NULL pointer exception in
lilypond.exe at address 0x00762a59 accessing memory at address
0x000d. I can use these settings:

#(set-time-signature 8 16 '(2 2 2 2))
#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)

But this changes the display time signature, what is not wanted. I
attached a sample that can be compiled with lilypond as it is. Could you
change the last score in the file to give an appropriate result, please?


Thanks,
Helge




 





\version "2.11.63"
\include "deutsch.ly"

% sample:1
% from snippet repository, two explicit voices, works fine
\score {
 \new Staff <<
   \time 7/8
   \new Voice {
 \relative c'' {
\set Staff.beatGrouping = #'(2 3 2)
a8 a a a a a a
 }
   }
   \new Voice {
 \relative c' {
\voiceTwo
\set Voice.beatGrouping = #'(1 3 3)
f8 f f f f f f
 }
   }
 >>
%  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

% sample:2
% based on snippet repository shows beatGrouping with triplets, works 
fine

% but give unexpected behavior, when the \time is changed to 4/8 or 2/4
\score {
 \new Staff <<
   \time 7/8
   \new Voice {
 \relative c'' {
\voiceTwo
\set Staff.beatLength = #(ly:make-moment 1 8)
\times 2/3 { a16 a a } \times 2/3 { a a a }
 }
   }
 >>
%  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

% sample:3
% "real score", manual beaming, works
% but this requires manual beaming for all measures
\score {
 \relative c'' {
   \clef treble \key as \minor \time 2/4

   << { r8 ces r ces }
  \\
  { \times 2/3 { r16 as[ b] }
\times 2/3 { ces[ b as] }
\times 2/3 { s as[ b] }
\times 2/3 { ces[ b as] }
  }
>>
   }
 \la

Re: Automatic beaming

2009-04-05 Thread Helge Kruse

Trevor Daniels wrote:


Helge Kruse wrote Sunday, April 05, 2009 7:22 AM


I write a piece with where are a lot of triplets in one variation. It
looks nice to have the beaming in the same length as the triplets as it
is done in the hand writing original.

I found in the manual (1.2.4 Beams) that I can manually set beaming. But
since the piece has a regulare structure (almost only triples), I wanted
to use automatic beaming. Unfortunately I did get i working. I attach
the samples in one file (tuplet.ly) with some samples. The handwritten
original score is placed here: http://dj1na.gmxhome.de/pg-0009.JPG


Sample:1 got from the manual works, shows the use of beatGrouping.

Sample:2 I modified it using beatLength, shows that automatic beaming
works with triplets.

Sample:3 This is an excerpt of the "real score", but using manual
beaming. The object is to setup automatic beaming, that it produces the
same output.

Sample:4 My Playground, where no combination of beatLength and
beatGrouping gave any acceptible result.


Can you tell we, what must I do to fix this?


Setting beatLength to 1/8 will work fine, but you
must revert all the beam-ending rules for that time
signature and beam duration which are set in auto-beam.scm,
otherwise setting beatLength will not work.  There
is no need to use beatGrouping here.

In your example the required revert command is

#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)

This can be reverted in Voice, Staff or Score contexts.
If you use 32nd beams there are also two more rules
to revert.

You can read about this in section 1.2.4 in the Notation
Reference under Setting sutomatic beam behaviour.



Best Regards,
Helge



Trevor



Trevor,

thanks for reply. I added the line you mentioned -- it didnt show any 
change. So I added these lines


#(set-time-signature 2 4 '(1 1))
#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)

assuming I have a 2/4 measure. This gives an NULL pointer exception in 
lilypond.exe at address 0x00762a59 accessing memory at address 
0x000d. I can use these settings:


#(set-time-signature 8 16 '(2 2 2 2))
#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)

But this changes the display time signature, what is not wanted. I 
attached a sample that can be compiled with lilypond as it is. Could you 
change the last score in the file to give an appropriate result, please?



Thanks,
Helge
\version "2.11.63"
\include "deutsch.ly"

% sample:1
% from snippet repository, two explicit voices, works fine
\score {
  \new Staff <<
\time 7/8
\new Voice {
  \relative c'' {
	\set Staff.beatGrouping = #'(2 3 2)
	a8 a a a a a a
  }
}
\new Voice {
  \relative c' {
	\voiceTwo
	\set Voice.beatGrouping = #'(1 3 3)
	f8 f f f f f f
  }
}
  >>
%  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

% sample:2
% based on snippet repository shows beatGrouping with triplets, works fine
% but give unexpected behavior, when the \time is changed to 4/8 or 2/4
\score {
  \new Staff <<
\time 7/8
\new Voice {
  \relative c'' {
	\voiceTwo
	\set Staff.beatLength = #(ly:make-moment 1 8)
	\times 2/3 { a16 a a } \times 2/3 { a a a } 
  }
}
  >>
%  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}   

% sample:3
% "real score", manual beaming, works
% but this requires manual beaming for all measures
\score {
  \relative c'' {
\clef treble \key as \minor	\time 2/4

<< { r8 ces r ces } 
   \\
   { \times 2/3 { r16 as[ b] }
	 \times 2/3 { ces[ b as] }
	 \times 2/3 { s as[ b] }
	 \times 2/3 { ces[ b as] }
   } 
 >>
}
  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

% "real score", automatic beaming, does NOT work 
\score {
  \relative c'' {
\clef treble \key as \minor	

%\set Staff.beatLength = #(ly:make-moment 1 8)
%\set Staff.beatGrouping = #'(2 2 2 2 2 2 2 2 )
%\set Staff.beatGrouping = #'(8 8 8 8)

%  causes exception
%#(set-time-signature 1 4 '(1 1))

% cases wrong time signature
#(set-time-signature 8 16 '(2 2 2 2))

#(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff) 

<< { r8 ces r ces } 
   \\
   { \times 2/3 { r16 as b }
	 \times 2/3 { ces b as }
	 \times 2/3 { s as b }
	 \times 2/3 { ces b as }
   } 
 >>
  }
  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Combining autochange and normal notation

2009-04-05 Thread Helge Kruse

Hello,

I have a variation of a piece, where the first lines are played single 
voice over two staves and the other lines are normal upper/lower staves. 
To avoid a lot of silent rests I want to use the \autochange in the 
PianoStaff for the first lines and append the other in the same score.


At first I have a problem, to setup the environment for the \autochange 
as described in 2.2.1 (Common notation for keyboards/Changing staff 
automatically). Instead of settng the low staff key I get an additional 
one. Why do I get it and how it's done correct?


Second I want to combine both parts. I tried it as show in the third 
score. This doesnt compile. Therefore I have commented it out. Can you 
show me, how to write both, normal notation and \autochange in one 
score? I would prefer to use the musical expression definitions used in 
\score since these are in \included files.



Thanks,
Helge
\version "2.11.63"

%
% \autochange requires to write all in one line
%
changingStaff = {
\autochange \relative c {
  \clef treble \key as \minor \time 2/4
  as32 ces es as ces es as ces   as,,32 ces es as ces es as ces |
  g,,32 b des fes g b des fes g b des fes g b des fes |
}
}

%
% for horizontal notation define the staves seperately
%
up = \relative c' {
  \clef treble \key as \minor \time 2/4
  r32 es g ces es ces g es  r es g ces es ces g es 
}

low = \relative c {
  \clef bass \key as \minor \time 2/4
  4 r |
}

\book {
  % part 1 using autochange
  \score {
\new PianoStaff <<
  \new Staff = "up" {
	\new Voice = "melOne" {
	  \changingStaff
	}
  }
  \new Staff = "down" {
	\key as \minor \clef bass
  }
  >>
  }

  % part 2 normal piano notation
  \score {
\context PianoStaff <<
  \new Staff = "upper" \up
  \new Staff = "lower" \low
>>
\layout {
}
  }

  % poth parts in one score
  \score {
\new PianoStaff <<
  \new Staff = "up" {
	\new Voice = "melOne" {
	  \changingStaff
	}
  }
  \new Staff = "down" {
	\key as \minor \clef bass
  }
>>
\new PianoStaff <<
  \new Staff = "upper" \up
  \new Staff = "lower" \low
>>
}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Automatic beaming

2009-04-04 Thread Helge Kruse

Hello,

I sent this mail yesterday with the graphics attached, but it did not 
appear in the mailing list. I resend it with an link to the graphic at a 
web server. Hope this passes the moderation.


I write a piece with where are a lot of triplets in one variation. It 
looks nice to have the beaming in the same length as the triplets as it 
is done in the hand writing original.


I found in the manual (1.2.4 Beams) that I can manually set beaming. But 
since the piece has a regulare structure (almost only triples), I wanted 
to use automatic beaming. Unfortunately I did get i working. I attach 
the samples in one file (tuplet.ly) with some samples. The handwritten 
original score is placed here: http://dj1na.gmxhome.de/pg-0009.JPG



Sample:1 got from the manual works, shows the use of beatGrouping.

Sample:2 I modified it using beatLength, shows that automatic beaming 
works with triplets.


Sample:3 This is an excerpt of the "real score", but using manual 
beaming. The object is to setup automatic beaming, that it produces the 
same output.


Sample:4 My Playground, where no combination of beatLength and 
beatGrouping gave any acceptible result.



Can you tell we, what must I do to fix this?


Best Regards,
Helge
\version "2.11.63"
\include "deutsch.ly"

% sample:1
% from snippet repository, two explicit voices, works fine
\score {
  \new Staff <<
\time 7/8
\new Voice {
  \relative c'' {
	\set Staff.beatGrouping = #'(2 3 2)
	a8 a a a a a a
  }
}
\new Voice {
  \relative c' {
	\voiceTwo
	\set Voice.beatGrouping = #'(1 3 3)
	f8 f f f f f f
  }
}
  >>
%  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

% sample:2
% based on snippet repository shows beatGrouping with triplets, works fine
% but give unexpected behavior, when the \time is changed to 4/8 or 2/4
\score {
  \new Staff <<
\time 7/8
\new Voice {
  \relative c'' {
	\voiceTwo
	\set Staff.beatLength = #(ly:make-moment 1 8)
	\times 2/3 { a16 a a } \times 2/3 { a a a } 
  }
}
  >>
%  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}   

% sample:3
% "real score", manual beaming, works
% but this requires manual beaming for all measures
\score {
  \relative c'' {
\clef treble \key as \minor	\time 2/4

<< { r8 ces r ces } 
   \\
   { \times 2/3 { r16 as[ b] }
	 \times 2/3 { ces[ b as] }
	 \times 2/3 { s as[ b] }
	 \times 2/3 { ces[ b as] }
   } 
 >>
}
  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}

% "real score", automatic beaming, does NOT work 
\score {
  \relative c'' {
\clef treble \key as \minor	\time 2/4

%\set Staff.beatLength = #(ly:make-moment 1 8)
%\set Staff.beatGrouping = #'(2 2 2 2 2 2 2 2 )
\set Staff.beatGrouping = #'(8 8 8 8)

<< { r8 ces r ces } 
   \\
   { \times 2/3 { r16 as b }
	 \times 2/3 { ces b as }
	 \times 2/3 { s as b }
	 \times 2/3 { ces b as }
   } 
 >>
  }
  \layout { \context { \Staff \consists "Measure_grouping_engraver" } }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple scores with common layout setup

2009-04-02 Thread Helge Kruse

Anthony W. Youngman wrote:

Any other suggestions are welcome.


If it's all the same code, just bung it in a \include!

Ok, I placed the lines in the layout block into a .ly file and include
it wherever I would repeat the lines. I also tried to define an expression

dynamicsContext = {
  %% all the things that are in the include
}

But this failed to compile.
error: syntax error, unexpected CONTEXT_DEF_IDENTIFIER
when I try to use \dynamicsContext.


If it's similar code, look at using tags.
I started reading, but need to understand. It looks like a conditional 
construct in a definition. Will play around it...



Thanks,
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Multiple scores with common layout setup

2009-04-01 Thread Helge Kruse

Hello,

I have a "Theme and Variations" questions. I started notating a piece 
what could be handled with (3.1.2 "Multiple scores in a book", see also 
http://lsr.dsi.unimi.it/LSR/Item?id=310). But I need a lot of layout 
setup in the PianoStaff, that is bound to the \score. Further I would 
like to write the Upper, Lower and Dynamics of the three variations in a 
similar way as I did for the theme.


What is a convinient way to continue this notation work? I would like to 
 avoid duplicating text group by copy and paste.


Any other suggestions are welcome.


Best regards,
Helge
\version "2.10.4"
\include "deutsch.ly"
\include "pedal.ly"

upperStaff = \relative c' {
	\clef treble	\key ces \major	\time 2/4
	\set Staff.midiInstrument = "harp"

	\tempo 4=60
	
 	\repeat volta 2 {
		\set fingeringOrientations = #'(left)
		4(^"Andante"_\markup \harp-pedal #"^^^|^^^-" ) |
		<< { ces'4\>\arpeggio( b4-2) } \\ { 2\arpeggio } >> |
		4( ) |
		
		<< { b'4\arpeggio( as) } \\ {
			\set fingeringOrientations = #'(left)
			\once \override Staff.Arpeggio #'padding = #-0.2
			2\arpeggio } >>  |
		< es as ces es>4( < es as ces es>) |
		<< { es'4.\arpeggio des8 } \\ { 2\arpeggio } >>  |
		4  |
		2\accent |
	}
	\repeat volta 2 {
		8.[\arpeggio des'16(-2 ces8.)-3 es16](-2 |
		ges2) |
		8.[\arpeggio b'16-2 as8.-3 ces16-2] |
		es2 |
		4\arpeggio \arpeggio |
		4\arpeggio 8.-1\arpeggio  des'16-2 |
		4-1\arpeggio 8.-1 b16-2 |
		4-1\arpeggio es-3 |
		4( ) |
		<< { ces'4\arpeggio( b) } \\ { 2\arpeggio } >> |
		4( 4) |
		<< {
			\set fingeringOrientations = #'(left)
			b'\arpeggio( as) 
			} \\ { 2\arpeggio } >> |
		4( ) |
		<< { 4.\arpeggio 8 } \\ { 2\arpeggio } >> |
		4  |
		2
	}
}

dynamic = {
	% line 1
	s4\p\< s\! s\> s\! | 
	s4\< s\! | 
	s4\> s\! |
	s4\< s\! | 
	s2 |
	
	% line 2
	s4\> s | s2\! |
	s2 | s2 | s2 | s2 |
	
	% line 3
	s2 | s2 | s4\> s | s4 s\! |
	s4\p\< s\! | s4\> s\! |

	% line 4
	s4\< s\! | 
	s4\> s\! |
	s4\< s\! | 
	s4 s\> | s s | s2\! |
}

lowerStaff = \relative c {
	\clef bass	\key ces \major	\time 2/4
	\set Staff.midiInstrument = "harp"
	\repeat volta 2 {
		4  |
		2 |
		4 4 |
		2
		4 4 |
		2 
		es4 es, |
		as'4 as, |
	}
	\repeat volta 2 {
		4\arpeggio 
		4  |
		4\arpeggio  |
		4  |
		4\arpeggio \arpeggio |
		4\arpeggio \arpeggio |
		4  |
		4 r |
		4  |
		2 |
		4  |
		2 |
		4  |
		2 |
		es4 es, |
		as'4 as, |
	}
	a b c
}

\book {
	\header {
		title = \markup { \italic "Thema"  }
		subtitle = " "
		composer = \markup { "John Thomas" }
		dedication = { }
		tagline = \markup { "" }
	}
	\score {
		\context PianoStaff <<
			\set PianoStaff.connectArpeggios = ##t
			\set PianoStaff.instrumentName = "Harfe" 
			\new Staff = "upper" \upperStaff
			\new Dynamics = "Dynamics_pf" \dynamic
			\new Staff = "lower" \lowerStaff
		>>
		\layout {
			% define Dynamics context
			\context {
			  \type "Engraver_group"
			  \name Dynamics
			  \alias Voice
			  \consists "Output_property_engraver"
			  \consists "Piano_pedal_engraver"
			  \consists "Script_engraver"
			  \consists "New_dynamic_engraver"
			  \consists "Dynamic_align_engraver"
			  \consists "Text_engraver"
			  \consists "Skip_event_swallow_translator"
			  \consists "Axis_group_engraver"

			  pedalSustainStrings = #'("Ped." "*Ped." "*")
			  pedalUnaCordaStrings = #'("una corda" "" "tre corde")
			  \override DynamicLineSpanner #'Y-offset = #0
			  \override TextScript #'font-size = #2
			  \override TextScript #'font-shape = #'italic
			  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
			}
			% modify PianoStaff context to accept Dynamics context
			\context {
\PianoStaff
\accepts Dynamics
			}
		}
	}
	\score {
		\unfoldRepeats {
		\context PianoStaff <<
			\context Staff = upper \upperStaff
			\context Staff = lower \lowerStaff { a b c d e f g }
		>>
		}
		\midi { }
	}
}
% The following defines a new markup command 
%  \harp-pedal #"^-v|--v^" 
% for harp pedal diagrams. Possible values in the string are:
%   ^ ... pedal is up
%   - ... pedal is neutral
%   v ... pedal is down
%   | ... vertical divider line
% The function does not check if the string has the typical form of three
% pedals, then the divider and then the remaining four pedals. Instead it 
% simply prints each symbol in the order as given. This means you can place
% the divider (even multiple dividers) anywhere you want.
% 
% There is also a \harp-pedal-verbose version, which 
% takes a list of directions and a possible |. Unfortunately, it has some
% caveats:
%   1) the | cannot be given as a string "|", but as a character #\|
%   2) if one wants to use directions like UP, CENTER or DOWN, one cannot use
%  '(UP DOWN CENTER #\| ), because the contents of that list are 
%  never evaluated. Instead one has to explicitly create a list like
%  (list UP DOWN CENTER #\| )

#(define-markup-command (harp-pedal-verbose layout props pedal-list) (list?)
  "Make a harp pedal diagram containing the directions indicated in @var{pedal-list}.

  For example,

@example
\

Re: Vim with LP syntax coloring on Mac OSX

2009-03-16 Thread Helge Kruse

Jonathan Kulp wrote:
I'm having trouble getting vim to do Lilypond syntax coloring on OSX.  I 
have it all working fine on my Linux machines but I'm doing something 
wrong on the Macs. 


Does anybody know a good vim version for windows (including coloring, 
syntax help, etc.)?


Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


inline transposition

2009-01-25 Thread Helge Kruse

Hello,

I write Gounod's Ave Maria for vocal and harp. Since the celtic harp has 
fewer bass strings it is necessary to play one octave higher from 
measure 20 until the end. The playing instruction can be notated with

  #(set-octavation 1)
but the play had to transpose it in mind for all measures. Therefore I 
want to transpose the score. I surrounded all the measures with

  \transpose c c' { ... }
and changed the clef. But this affects the octave of some notes, i.e. in 
measure #22. I attached the excerpt where the \transpose is commented 
out. To see the problem, please remove both % in front the lines.


In measure #22 (fourth in the excerpt) you can read
  a,16 e'
The e is in the wrong pitch, but only when \transpose is enabled.

Is this a bug or did I miss something?


With the midiHarp statement I want to select a "orchestral harp". But 
the MIDI generator ignores it. How can I generate a MIDI file with my 
favorit instrument?



Best regards,
Helge
\version "2.11.63"
\header {
  title = "Ave Maria"
  subtitle = "Meditation on the First Prelude of J. S. Bach"
  composer = "Gounod"
}

midiHarp = { \set Staff.midiInstrument = "orchestral harp" }

harpup = \relative c {
\clef bass
\time 4/4
\key d \major

	\midiHarp

	% 19
	s16 s  d a' d  d, a' d			s16 s  d, a' d  d, a' d |
	
	% 20
% remove comment at front of next line
%\clef treble \transpose c c'
  {
	s16 s  b, d g  b, d g			s16 s  b, d g  b, d g |
	s16 s  b, d g  b, d g			s16 s  b, d g  b, d g |
	s16 s  a, cis g'  a, cis g'		s16 s  a, cis g'  a, cis g' |
  }
}

harplow = \relative c, {
	\clef bass
\time 4/4
\key d \major

	\midiHarp

	fis16 a s4.	fis16 a s4. |
	
	% 20 
% remove comment at front of next line
%\clef treble \transpose c c'
  {
	fis16 g s4.	fis16 g s4. |
	e16 g  s4.	e16 g  s4. |
	a,16 e' s4.	a,16 e' s4.	|
  }
}

\score {
	\new PianoStaff 
	<<
		\new Staff = "up" \harpup
		\new Staff = "low "\harplow
	>>
  
	\midi {
		\context {
			\Score
			tempoWholesPerMinute = #(ly:make-moment 60 4)
		}
	}

	\layout {
		interscoreline = 0.8\cm
	}
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The behavior of a \score block

2008-11-05 Thread Helge Kruse


- Original Message - 
From: "Valentin Villenave" <[EMAIL PROTECTED]>

To: "Dany" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, November 04, 2008 8:52 PM
Subject: Re: The behavior of a \score block



2008/11/4 Dany <[EMAIL PROTECTED]>:
 ... what is the

difference between entering a \score block and writing \new Score? I haven't
found anything about it in the documentation except concerning its use within a
markup expression.


A \score block is a top-level expression, like \book or \paper.

A \score block may include its own \header or a \layout block, whereas
\new Score won't allow you to do so.


Besides, it seems that this \score block is delimited with braces, but when you
want to enter music inside, you have to put a music expression inside the block,
with braces once again. Is this correct?


\score does not automatically create contexts (whereas \new Score
does) ; therefore you have to create one inside it.

{ c } is equivalent to \new Score {  \new Staff {  \new Voice { c } } }


The learning manual starts with examples like "{ a b c }" that gives you a valid score. There are a lot examples that gives you this 
easy start with lilypond.


On the other hand this does not discovers, what I am typing with "{ a b c }". I am a programmer and would like to understand why I 
get the help from the mailing list "write \new score { }" when I read somewhere in the manual "\score { }".


Your comments to this mail gives me a clue, what lilyponds does behind the scene. But I would like more documentation, that helps me 
to understand the action behind the scene. There is an internals documentaion, but this is a bit deep. I would appreciate if the 
documentation could include more details as you describe.


Regards,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Repeat volta: how many times to repeat?

2008-11-01 Thread Helge Kruse


- Original Message - 
From: "Daniel Hulme" <[EMAIL PROTECTED]>

To: "Anthony W. Youngman" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, November 01, 2008 4:37 PM
Subject: Re: Repeat volta: how many times to repeat?



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Nov 01, 2008 at 02:15:12PM +, Anthony W. Youngman wrote:

The usual cause of this is a broken mailer using "alternative". I
sometimes suffer from that, but haven't seen an empty message ...

Not in this case: it's multipart/signed. I guess that Windows Mail
doesn't understand this type of message, which seems like a serious
shortcoming.


Daniel,
this message is much more readable. I suggest to use the settings you used for this mail. This will allow, that more subscribers of 
this mailing list can read your mails.


Probably you're right and there are programs that handle multipart/signed messages in another (better) way than the Mircosoft mail 
programs. But I wont install Opera or the other apps to read such messages.


Best regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Repeat volta: how many times to repeat?

2008-11-01 Thread Helge Kruse

Hello,

Am I alone. Or is there really no text in the mail?

Best regards,
Helge


- Original Message - 
From: "Daniel Hulme" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, November 01, 2008 1:11 AM
Subject: Re: Repeat volta: how many times to repeat?



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem running LP on win32.

2008-10-31 Thread Helge Kruse

Yes, I got the same error and with my installation it was a false positive.

See: http://tinyurl.com/6khe3y


Regards,
Helge

- Original Message - 
From: "David Picón Álvarez" <[EMAIL PROTECTED]>

To: 
Sent: Friday, October 24, 2008 10:14 AM
Subject: Re: Problem running LP on win32.



From: "Helge Kruse" <[EMAIL PROTECTED]>

What version of antivirus software are you using. I have got a infected
message too. I have Avira Antivir installed.


Same. Updated Avira AntiVir. Maybe (hopefully) this is a false positive. Do you 
also get same error when trying to run lilypond?

--David.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Arpeggio collision

2008-10-29 Thread Helge Kruse

Frirerich,

I have seen a similar problem. Your Lilypond output should show a line:
foo.ly:27:56: Warnung: no heads for arpeggio found?

   { g16 d'  d' d d' g4.
   \arpeggio }

Arpeggio obviously needs a chord. I tried to extend the note to a chord with an 
invisble note, but this trial failed:

{ g16 d'  d' d d' 4.\arpeggio }

The \hideNotes is not accepted inside a chord. As a workaround you could write the one note of the chord in the other voice. I know 
that's not intuitive and the stem crosses the staves, but it gives a more readable output.


 <<
   { r4 r8 4.\arpeggio }
 \\
   { g16 d'  d' d d' s4. }
 >>


Regards,
Helge

- Original Message - 
From: "Friedrich Fischer" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, October 29, 2008 11:51 AM
Subject: Arpeggio collision



Would you please help me to solve the collision problem between note and
arpeggio.
Regards Fischer

%%
\version "2.11.63"
\new Staff \with { \consists "Span_arpeggio_engraver" }
{ \time 6/8
\transposition c
\key g \minor
\clef treble
\set Staff.connectArpeggios = ##t {
  <<
{ R2. }
\\
{ g16 d'  d' d d' g d'  d' d d' }
>>
  <<
{ r4 r8 4.\arpeggio }
\\
{ g16 d'  d' d d' g4.\arpeggio }
>>
\bar "|."
}
}
%%

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


No virus found in this outgoing message
Checked by PC Tools AntiVirus (5.0.0.10 - 10.100.048).
http://www.pctools.com/free-antivirus/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fingering orientation

2008-10-28 Thread Helge Kruse
Thanks for reply. I didnt found in the documentation how long the fingeringOrientations are active. I expected they are global from 
the point they occure. But it looks like they are reset, when I open a new voice.


I have another question with the example. I want to add dynamics. I already added the \p (piano). But I also need an \< (crescendo) 
and \> (descrescendo) in the first and second measure respectively. But I never got any dynamics except the piano. Can you say me 
how to do?


Best regards,
Helge

- Original Message - 
From: "Jonathan Kulp" <[EMAIL PROTECTED]>

To: "Helge Kruse" <[EMAIL PROTECTED]>
Cc: "Lilypond-User" 
Sent: Tuesday, October 28, 2008 11:54 AM
Subject: Re: fingering orientation


It looks as though the command to set fingeringOrientations was not affecting the lower voice when you created multiple voices 
using <<{ \\ }>>.  If you put the \set fingeringOrientations command inside the {} of the voice that actually contains the 
fingerings, then you get the orientation you want.  This, however, makes the spacing messy as there's a documented bug having to 
do with the spacing of fingerings to the left of arpeggios.  Here's the working code (with the buggy spacing):


\version "2.11.62"
\include "deutsch.ly"

upperStaff = \relative c' {
\clef treble \key as \minor \time 2/4

\repeat volta 2 {
\set fingeringOrientations = #'(left)
4(\p^"Andante" ) |

<<
{ b'\arpeggio( as) }
\\
{ \set fingeringOrientations = #'(left) 2\arpeggio }
>> |
}
}

lowerStaff = \relative c {
\clef bass \key as \minor \time 2/4
as | as
}


\book {
\score {
\context PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\context Staff = upper \upperStaff
\context Staff = lower \lowerStaff
>>
\layout { }
}
}


Hope that helps,

Jon


Helge Kruse wrote:

Hello,

I write a piece for harp. I need sometimes fingering information for the player.
While sometimes fingering above the staff is ok, I need it at the left side under some circumstances. In the example I want to 
write the fingering number for the notes "ces" and "es" at the left side of the arpeggio, but I did not succeed.


How can I achieve this request?

Best regards,
Helge




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
Jonathan Kulp
http://www.jonathankulp.com 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


fingering orientation

2008-10-28 Thread Helge Kruse

Hello,

I write a piece for harp. I need sometimes fingering information for the player.
While sometimes fingering above the staff is ok, I need it at the left side under some circumstances. In the example I want to write 
the fingering number for the notes "ces" and "es" at the left side of the arpeggio, but I did not succeed.


How can I achieve this request?

Best regards,
Helge

\version "2.10.4"
\include "deutsch.ly"


upperStaff = \relative c' {
	\clef treble	\key as \minor	\time 2/4
	
	\repeat volta 2 {
		\set fingeringOrientations = #'(left)
		4(\p^"Andante" ) |
		
		\set fingeringOrientations = #'(left)
		<< { b'\arpeggio( as) } \\ { 2\arpeggio } >> |
	}
}

lowerStaff = \relative c {
	\clef bass	\key as \minor	\time 2/4
	as | as
}


\book {
	\score {
		\context PianoStaff <<
			\set PianoStaff.connectArpeggios = ##t
			\context Staff = upper \upperStaff
			\context Staff = lower \lowerStaff
		>>
		\layout { }
	}
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Cross staff notation

2008-10-26 Thread Helge Kruse

Jonathan,

thanks for reply. Do you also know a kind of function, where I can pass the note(s) that should be notated in the upper system as a 
parameter? The function should

- save current stem direction
- change the staff to upper
- write the passed note(s)
- change the staff to lower
- restore the original stem direction
I think this must be defined with a scheme function. But I have a hige lack of 
knowledge how to write this.

Regards,
Helge

- Original Message - 
From: "Jonathan Kulp" <[EMAIL PROTECTED]>

To: "Helge Kruse" <[EMAIL PROTECTED]>
Cc: "Lilypond-User" 
Sent: Friday, October 24, 2008 2:53 PM
Subject: Re: Cross staff notation



The way I dealt with this issue was just to put the \change Staff command into 
variables:


csu = \change Staff = u  % change staff upper
csl = \change Staff = l  % change staff lower

Then issue the \csu or \csd commands when necessary.  You still have to make it change staves a lot, but at least the code looks 
cleaner. Here's one of your lines done this way:


\stemUp d8 a' d \csu \stemDown fis \csl

You could also add the stem-direction commands to the variables if they're 
always associated with the same staff-change commands.

Jon

Helge Kruse wrote:

Hello,

I want to write a piece that has a lot of cross staff notes. I have to switch the staff and keep care for the stemp direction. 
This is a repeated task and annoying.

How can I manage this in an easy and error proof way? I attach the original to 
show how it should look like.

Best regards,
Helge


\version "2.10.4"
\include "deutsch.ly"

upperHarp = \relative c' {
\clef treble  \key d \major  \time 4/4
fis'2 e | d cis |
}

lowerHarp = \relative c {
\clef bass  \key d \major \time 4/4
\stemUp d8 a' d \change Staff = u \stemDown fis \change Staff = l \stemNeutral
a,, e' cis' \change Staff = u e \change Staff = l |
h, fis' h \change Staff = u d \change Staff = l |
fis,, cis' a' cis |
}

\book
{ \score
{
 { <<
  \new GrandStaff
  <<
   \new Staff = u \upperHarp
   \new Staff = l \lowerHarp
  >>
 >>
 }
 \layout { }
}
}






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
Jonathan Kulp
http://www.jonathankulp.com


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Problem running LP on win32.

2008-10-24 Thread Helge Kruse
David,

What version of antivirus software are you using. I have got a infected
message too. I have Avira Antivir installed.

Regards,
Helge

From: "Nick Payne" <[EMAIL PROTECTED]>
> On my system (same Lilypond version) that file is in C:\Program
Files\LilyPond\usr\share\guile\1.8\ice-9. Is it there on your system?

It is there. When I decided to check if there was any trouble with it, I
realized my antivirus is detecting guile.exe as infected. This might be a
piece of the problem. I am hoping that this is a false positive.

--David.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond installation

2008-10-22 Thread Helge Kruse

Sorry, I pressed the send-button too early.


- Original Message - 
From: "Helge Kruse" <[EMAIL PROTECTED]>

To: "Lilypond-User" 
Sent: Wednesday, October 22, 2008 6:42 PM
Subject: Lilypond installation



Hello,

I just installed lilypond 2.11.62 at my Windows XP SP3 box. I ran lilypond before, but I installed the latest lilypond version and 
Windows installed the Service Pack 3. Now lilypond doesnt run anymore. Is the version 2.11.62 known to have problems or what 
should I do in this case. Here the output of some tests:




C:\Documents and Settings\Helge\My Documents>lilypond --version
GNU LilyPond 2.11.62

Copyright (c) 1996--2007 by
 Han-Wen Nienhuys <[EMAIL PROTECTED]>
 Jan Nieuwenhuizen <[EMAIL PROTECTED]>
 and others.

This program is free software.  It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions.  Invoke as `lilypond --warranty' for more
information.


C:\Documents and Settings\Helge\My Documents>lilypond z.ly
GNU LilyPond 2.11.62
programming error: cannot find absolute argv0
continuing, cross fingers
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path

C:\Documents and Settings\Helge\My Documents>

Regards,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond installation

2008-10-22 Thread Helge Kruse

Hello,

I just installed lilypond 2.11.62 at my Windows XP SP3 box. I ran lilypond before, but I installed the latest lilypond version and 
Windows installed the Service Pack 3. Now lilypond doesnt run anymore. Is the version 2.11.62 known to have problems or what should 
I do in this case. Here the output of some tests:




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


XEmacs 21.4.21

2008-10-17 Thread Helge Kruse

Hello,

I want to use Lilypond mode in XEmacs 21.4.21 with Lilypond 2.11.57. I 
configured the XEmacs init.el so:

(setq load-path (append (list (expand-file-name "~/site-lisp")) load-path))
(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))

and copied the files from lilypond to "C:\Documents and Settings\Helge\site-lisp". The Lilypond mode is active, when I load a .ly 
file. But I this errors.


When I try the run lilypond with C-c C-l lilypond fails:
 cd c:\Documents and Settings\Helge\My Documents\
 lilypond ./c:\Documents and Settings\Helge\My Documents\z.ly
 programming error: cannot find absolute argv0
 continuing, cross fingers
 ERROR: In procedure primitive-load-path:
 ERROR: Unable to find file "ice-9/boot-9.scm" in load path

I also want to learn, how to use Lilypond-mode.


Regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Changing Staff

2008-09-27 Thread Helge Kruse

Hello,

I want to typeset a score and want to keep close to the original in some aspects. The original uses heavly staff changes that look 
nice to me.


I tried to use the technic from the lilypond manual pg. 189, but I dont know how to place the beams between the staves. Can you tell 
me how I get closer to the original? http://dj1na.gmxhome.de/bd-0062.JPG


This is my try:

\score {
\new PianoStaff <<
 \new Staff = "up" {
  \key es \major  \clef treble  \time 3/8
  \relative c'' {
   es4.
  }
 }
 \new Staff = "down" {
  \key es \major  \clef bass  \time 3/8
  \relative c {
   c16 g' c \change Staff = "up" es g r
  }
 }
>>
}


Best regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tons de psaume

2008-01-27 Thread Helge Kruse

The page is ok. But you probably just ckick at the link. You need to copy the 
complete URL to your browser.

/Helge

- Original Message - 
From: "LEDOCQ-BOCCART" <[EMAIL PROTECTED]>

To: "Kurt Kroon" <[EMAIL PROTECTED]>
Cc: "Sr Catherine" <[EMAIL PROTECTED]>; 
Sent: Sunday, January 27, 2008 6:03 PM
Subject: Re: Tons de psaume


Bonjour,

Kurt Kroon a écrit :

Comme ceci (voyez l'exemple au fond de la page) :

http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Ancient-notation-t
emplates#Ancient-notation-templates



Ce lien abouti a une page

404 not found

...?

Est-ce normal?

Charlie






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi in windows

2008-01-15 Thread Helge Kruse

Mats,

The three words in Czech I know are not sufficient to read the page. Is there 
and English (or German) page about the program?

/Helge

- Original Message - 
From: "Stefan Thomas" <[EMAIL PROTECTED]>

To: "Mats Bengtsson" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, January 15, 2008 7:52 PM
Subject: Re: midi in windows



Dear Mats,
I don't mean a program wich can read midifiles and can convert it to
lilypond. My idea is an tool for step-time-input. Luckily, after a
longer search I found one. It is LilypondMidi, and can be downloaded
at http://www.slunecnice.cz/sw/lilypond-midi/. But maybee there exist
other tools like this?
Mats Bengtsson schrieb am 15.01.2008:

Exactly what is your question? Yes, midi2ly is available in the
LilyPond
installation on Windows just as well as on all other operating
systems, 
even

though there is some strange bug that appears on certain MIDI files,
which
seems to be Windows specific.

However, if your question is if there are free sequencers that can
be used
to obtain MIDI files, then the answer is probably yes but I don't
know
anything about them.

   /Mats

Stefan Thomas wrote:

Dear Lilypond-users,
is there a programm which can be used in windows for midi-input in
Lilypond?
If there is one, I would be very interested.
Stefan



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
  


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


Stefan Thomas
Siebengebirgsallee 9
50939 Koeln
Tel.Fax:0049(0)221/412529
mail: [EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Layout integrating LaTeX and music

2007-12-29 Thread Helge Kruse

Patrick,

as you can see with the framebox, the space is not added by LaTeX. This is a 
question for the Lilypond gurus.
I also noticed this additional space, but did not made any tries to remove 
it, although it is annoying in this circumstance.


Regards, Helge

- Original Message - 
From: "Patrick Schmidt" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, December 29, 2007 5:14 PM
Subject: Re: Layout integrating LaTeX and music



Thank you Helge,

the baseline of the lilypond fragment is now identical with the letter's 
baseline. Have you got any idea why there is so much horizontal space in 
between the round brackets and the fragment: ( fragment   )?


All the best,

PLS

Hi Ole,

I don*t know which platform you use (Windows, Linux or MacOs)

If you have a Mac than it should work as follows:

Open the terminal then type:

cd /
cd /Users/Ole/ %(your user name)
vi .profile%(editor)

i  %(insert)

PATH=$PATH:"/Applications/LilyPond.app/Contents/Resources/bin/"
export PATH %(set the path)

:wq%(to save and quit)

Now you have to run a script cslled lilypond-book. It is described in the 
manual.


If you use the terminal then enter the following commands (but not the 
comments):


mkdir -p out/   %this creates a new file called "out"

lilypond-book --output=out --psfonts yourfile.tex %name of your latex-file

cd out %go to the file "out"

latex yourfile %name of your latex-file instead od "yourfile"

dvips -o -Ppdf -h yourfile.psfonts yourfile %substitute "yourfile"
ps2pdf yourfile.ps

It makes your life easier if you install a script in your latex-editor. I 
use Texshop and there is a little plugin called Lilypond-LaTeX. You can 
find it here:


http://users.dimi.uniud.it/~nicola.vitacolonna/download/software/latex/Lilypond-LaTeX.engine.txt

Hope this helps,

PLS







--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Layout integrating LaTeX and music

2007-12-29 Thread Helge Kruse

Patrick,

(La)TeX just sets boxes of objects on a base line. You can see this when you 
change your sample in this way:


Bli bla blub, bla bla bla bla bla bla bla (%
\frame{\lilypond[fragment,staffsize=6]{
 \override Staff.TimeSignature #'style = #'() \time 4/4
 \override NoteHead #'style = #'cross f''4 f''8 f'' f''4 f''8 f''
}}) bla bla bla bla bla bla bla bla, bli bla blub!

The base line of the lilypond fragment is identical with the letter's base 
line. When you add some lines of text before the snippet you see that the 
snippet is a bit too high and the distance to preceeding line is to large.


You can lower the lilypond fragment in this way:

Bli bla blub, bla bla bla bla bla bla bla (%
\lower2.5pt\hbox{\lilypond[fragment,staffsize=6]{
 \override Staff.TimeSignature #'style = #'() \time 4/4
 \override NoteHead #'style = #'cross f''4 f''8 f'' f''4 f''8 f''
}}) bla bla bla bla bla bla bla bla, bli bla blub!


Regards,
Helge

- Original Message - 
From: "Patrick Schmidt" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, December 29, 2007 12:23 PM
Subject: Layout integrating LaTeX and music



Dear all,

I'm trying to integrate Lilypond fragments (Version 2.11.34) in a LaTeX 
document. Here is a minimal example:



\documentclass[a4paper]{article}
\begin{document}

Bli bla blub, bla bla bla bla bla bla bla 
(\lilypond[fragment,staffsize=6]{\override Staff.TimeSignature #'style = 
#'()\time 4/4 \override NoteHead #'style = #'cross f''4 f''8 f'' f''4 f''8 
f''}) bla bla bla bla bla bla bla bla, bli bla blub!


\end{document}

Everything works fine apart from some details concerning the layout.

1) There is too much space between the brackets and the fragment

2) The fragment itself seems to be typeset higher than the text level

Does anybody know a solution to this? Is it a LaTeX or a Lilypond 
"problem"?


Thanks very much for your help and a happy new year!

PLS



--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs lilypond-mode

2007-12-19 Thread Helge Kruse

Thanks for reply. The lilypond manual (13.6) was not clear with this:
Emacs has a 'lilypond-mode', which provides keyword autocompletion, 
indentation,



LilyPond specific parenthesis matching and syntax coloring, handy compile


short-cuts and reading LilyPond manuals using Info. If 'lilypond-mode' is 
not



installed on your platform, then read the installation instructions.


The Windows installer doesnt install a lilypond installation instruction, so 
I searched for emacs' installation instructions, since "Emacs has a ...". 
Ok, I retrieved the lilypond sources and got the INSTALL.txt.




Editing now works except "reading LilyPond manuals using Info". I cannot 
find any info file installed with the Windows installation.




Regards, Helge


- Original Message - 
From: <[EMAIL PROTECTED]>

To: "Helge Kruse" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, December 19, 2007 8:19 AM
Subject: Re: emacs lilypond-mode



"H" == Helge Kruse <[EMAIL PROTECTED]> writes:


   H> I installed emacs-22.1 at my Windows XP SP2 system, but I
   H> cannot find any lilypond-mode. I search for the
   H> lilypond-mode.el file and entered in emacs "M-x lilypond-mode"
   H> and got the reponse "[No match]".

   H> How can I get and install lilypond-mode (manually)?

For some odd reason the symbol used in lilypond-mode.el is in
camelcase.  Try typing 'M-x LilyPond-mode'.

If this doesn't work check that lilypond-mode.el (or
lilypond-mode.elc) is in fact installed somewhere in emacs' load-path.
Check by typing 'M-x locate-library' - and respond with
'lilypond-mode' at the prompt.

If you have the file lilypond-mode.el(c) but not in your load-path,
add the path by typing in your .emacs-file:

(add-to-list 'load-path "/my/lilypond/elisp/lib/")

and possibly

(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))

to make emacs automagically recognize .ly-files as LilyPond-files.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond-mode

2007-12-18 Thread Helge Kruse

Hello, the manual states in section 13.6

Emacs has a 'lilypond-mode', which provides keyword autocompletion, 
indentation, LilyPond specific parenthesis matching and syntax coloring, 
handy compile short-cuts and reading LilyPond manuals using Info. If 
'lilypond-mode' is not installed on your platform, then read the 
installation instructions.



I installed emacs-22.1 at my Windows XP SP2 system, but I cannot find any 
lilypond-mode. I search for the lilypond-mode.el file and entered in emacs 
"M-x lilypond-mode" and got the reponse "[No match]".




How can I get and install lilypond-mode (manually)?



Best regards,

Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


emacs lilypond-mode

2007-12-18 Thread Helge Kruse

Hello, the manual states in section 13.6

Emacs has a 'lilypond-mode', which provides keyword autocompletion, 
indentation, LilyPond specific parenthesis matching and syntax coloring, 
handy compile short-cuts and reading LilyPond manuals using Info. If 
'lilypond-mode' is not installed on your platform, then read the 
installation instructions.



I installed emacs-22.1 at my Windows XP SP2 system, but I cannot find any 
lilypond-mode. I search for the lilypond-mode.el file and entered in emacs 
"M-x lilypond-mode" and got the reponse "[No match]".




How can I get and install lilypond-mode (manually)?



Best regards,

Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-12-01 Thread Helge Kruse

True! but only in Windows. In Linux it is almost instantaneous.

Maybe true, but this doesn't help any Windows user.

/Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Tweaking mandoline tabulatur

2007-11-18 Thread Helge Kruse

Hello,

I write for mandoline with LaTeX and lilypond-book. The book includes a lot 
of small pieces included in this way:


\begin{lilypond}
mel = \relative c' {
 e\upbow f\downbow g a b c d e f g a g fis e d c b a g f e d c b
}
\header { title = \markup { "Hänschen Klein"  } }
\score { <<
 \context Staff \mel
 \context TabStaff << \set TabStaff.stringTunings = #mandolin-tuning 
\stemDown \mel >>

>> }
\end{lilypond}

This gives a tabulatur, but I would like to tweak the result a bit.

1) How can I shrink the length of th stems in the tabulatur?

2) I would like to add some up- and down arrows above the tabulatur. When I 
append \upbow and \downbow in the meldoy "mel" I get them both in the notes 
as well as in the tabulatur. How can I set this only abot the tabulatur? How 
can I define other (smaller) arrows instead of the guitar


3) The stemDown is obviously ignored. There is no further hint in section 
7.5.2. of the Lilypond manual. What my be wrong?


4) The Umlaut ä does not appear in the output. But I get a lot of 
assertions:

Pango-CRITICAL **: pango_coverage_get: assertion `index >= 0' failed
How can I use Umlaut?

5) Is there a way to set the stringTunings property globally, so that I dont 
have to set it in each pieces


6) How can I write notes without staves? The following excerpt shows the 
idea, but I need only the notes, no pitch, no key, no staves.


Statt
\begin[fragment,notime,staffsize=10]{lilypond}  { c''8 c'' }
\end{lilypond}
dann fast
\begin[fragment,notime,staffsize=10]{lilypond} { c''8. c''16 }
\end{lilypond}.


Hmm,  these are a lot f questions at once. I have tried to solve them by my 
selve, but get stuck. Honestly, I gathered the problems and put them in one 
or two small samples. I hope you can help me.


Best regards,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond in MikTeX

2007-11-17 Thread Helge Kruse

Graham,

Thanks for reply. You're right I have to read
But the example in the lilypond manual looked so similar like plain LaTeX 
and tempting, that I just used copy&paste. Now I realized thank lily-pond 
book is not an alternative book a tool to integrate lilypond in LaTeX.


Best regards,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond in MikTeX

2007-11-15 Thread Helge Kruse

Hello,

I tried the LaTeX example from the Lilypond manual and ran it with MikTeX on 
Windows XP.


Unfortunately LaTeX doesn't know lilypond at all.

   ! LaTeX Error: Environment lilypond undefined.

   See the LaTeX manual or LaTeX Companion for explanation.
   Type  H   for immediate help.
...

   l.3 \begin{lilypond}

Does anybody know how to fix this?

Best regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: searching score

2007-10-18 Thread Helge Kruse

Hi I am still searching,

I did google around, but find only versions with a violin or human voice. I 
had no luck with the piano solo version. Do you have seen the piano solo.


Sorry for bothering.

Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: searching score

2007-10-13 Thread Helge Kruse

Wilbert,

many thanks for reply. I wasn't specific enough in my question. I was 
looking for a piano version ("the original") or a piano solo version. I used 
google, but I didn't found anything I like. Phil could send me a version, he 
edited. I dont know, if there is any piano solo version, even if it's 
possible to play the long voice notes in anyway on a piano.


Cheers,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


searching score

2007-10-12 Thread Helge Kruse

Hello,

I just wonder, if you know, if the Ave Maria by Schubert has been notated 
with Lilypond. I did not found it at Mutopia.


Sorry, if this is off-topic.

Best regards,
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fwd: Users' Manual

2007-09-25 Thread Helge Kruse
Interesting. For 451 page you get a price of ~ $20. I think twice about 
"selling" the user manual, but a paper manual would be nice.


But currently a new edition of the manual is prepared. I would wait before 
"sell" the book (to me).


/Helge

- Original Message - 
From: "Mark Knoop" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, September 25, 2007 4:28 PM
Subject: Re: Fwd: Users' Manual


Perhaps something like this?

http://www.cafepress.com/cp/info/sell/products/books





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Size

2007-09-16 Thread Helge Kruse

Downloade ~18 MByte, installed ~60 MBytes at a Windows XP system.

Hope you have enough hard disk space. ;-)

/Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Guitar tabs and fret diagram

2007-09-09 Thread Helge Kruse

Hello,

writing a piece for guitar I include tabs. At some difficult I want 
additionally write a fret diagram to show, how to set the fingers. Maybe 
most guitar players think that's overkill, but the player should see as fast 
as possible how to set the left hand fingers.


When I add fret diagrams to the melody. It will be display above the score 
as well as above the tabs. That is overkill. How can I achieve my goal?


Is there a way to "filter out" the fret diagrams? If I watn to generate a 
PDF without the, can I define a function or set any variable to suppress 
them?


Best regards,
Helge


\version "2.11.32"

halfnote = {\once \override NoteHead #'duration-log = #1 }

melody = \relative c
{
\key d \major
\time 4/4

\halfnote d8 ^\markup \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-2;"
a' d fis
\halfnote a,, ^\markup  \fret-diagram #"6-o;5-o;4-2;3-2;2-2;1-o;"
e' a cis |
}

\score {
<<
 \context Staff = Guit
 <<
  \clef "G_8"
  \new Voice \melody
 >>
 \context TabStaff = Tab
 {
  \override TabStaff.Stem #'transparent = ##t
  \override TabStaff.Beam #'transparent = ##t
  <<
   \new TabVoice \melody
  >>
 }
>>
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: String numbers

2007-09-08 Thread Helge Kruse

Hello,

I have the opposit problem. Lilypond will put string numbers on notes in 
chords. But I dont want them. How can I suppress them in this example?


\version "2.11.32"

melody = \relative c'' {
\key d \major
\time 4/4
\voiceOne
b8 d,, b' g   a' e\2 cis\3 |
}

bass = \relative c {
g2 d |
}

\score {
<<
 \context Staff = Guit
 <<
  \clef "G_8"
  \new Voice \melody
  \new Voice \bass
 >>
 \context TabStaff = Tab
 {
  \override TabStaff.Stem #'transparent = ##t
  \override TabStaff.Beam #'transparent = ##t
  <<
   \new TabVoice \melody
   \new TabVoice \bass
  >>
 }
>>
}

By the way, this example generates some warnings, I dont understand:
sn.ly:9:22: Warnung: zu viele kollidierende Notenspalten werden ignoriert


/Helge

- Original Message - 
From: "Julian Vincent" <[EMAIL PROTECTED]>

To: "Lily Pond" 
Sent: Monday, September 03, 2007 7:33 PM
Subject: String numbers



Got it!

LilyPond will happily put string numbers on notes which are part of a 
chord, but doesn't think it's worth while doing for single strings.   But 
when you get into the more arcane areas of arranging for plectrum- played 
instruments, it can actually make a difference to have  fingering and 
string usage made explicit.  Is there a workaround, or  is this something 
which has to be implemented?


Julian Vincent

Laburnum Cottage
48 Frome Road
Odd Down
BATH
BA2  2QB
tel: 01225 835076
Mob: 07941 933 901
[EMAIL PROTECTED]

Organiser - Bath Banjo Festival at The Little Theatre.
Next Bath Banjo Festival - June 27-29 2008
http://www.bathbanjofest.co.uk
Publisher - The Banjoists' Broadsheet
Download free copies from:
http://people.bath.ac.uk/ensjfvv/BB



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Why can't I get this to work (viola tuning)

2007-09-07 Thread Helge Kruse
You can try an update. see 
http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00133.html


/Helge

- Original Message - 
From: "Julian Vincent" <[EMAIL PROTECTED]>

To: "Lily Pond" 
Sent: Friday, September 07, 2007 3:42 PM
Subject: Why can't I get this to work (viola tuning)



\version "2.10.0"
\new TabStaff <<
  \set TabStaff.stringTunings = #'( 9 2 -5 -12)
  { c g d' a'}
>>

This is the open tuning for a viola.
I've tried all sorts of combinations and I can't get the bottom C to 
register as an open string, though if I put in an extra string, even  with 
the same value (-12) then I get the bass string registering as  open. 
What am I doing wrong??





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


guitar polyphony

2007-09-06 Thread Helge Kruse

Hello,

I want to write my first guitar notes with tabs after finishing some harp 
scores.


While I found most guitar specific points, I have problem with polyphony.

The "normal" polyphony gives a problem with tabs. The notes are written to 
the staff instead of tab. (see meaure 4). What's wrong?


The bass notes in the first three measures (d, a, b, d, g, d, g, a) should 
be printed as half notes but stick with the beams. This is normally not 
correct but usual in guitar notation. How can this be done?


Best regards,
Helge
\version "2.11.25"

melody = \relative c {

\key d \major
\time 4/4

d8 a' d fis  a,, e' a cis | b, fis' b d  d,, fis' a cis |
g, d' g b  d,, fis' a d  | g,, g' b d  a, e' a cis |

<< { d,,2 a' } \\ { fis''8 d, a' d   e a, cis e, } >>


}

\score {
	<<
		\context Staff = Guit {	\clef "G_8" \melody	}		
		\context TabStaff = Tab	{
			\set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -22)
			\melody 
		}
	>>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics

2007-08-29 Thread Helge Kruse
Yes, you can include lyrics. You read this: 
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Printing-lyrics#Printing-lyrics, 
didn't you?


/Helge

- Original Message - 
From: Rhodel Jacobson

To: lilypond-user@gnu.org
Sent: Tuesday, August 28, 2007 12:08 AM
Subject: lyrics


Hello,
Is there a way to put lyrics in the sheet music?

Thanks,
Rhodie

Rhodie Jacobson
Pastor, Community United Methodist Church
9225 Jason Ave. NE
PO Box 5
Monticello, MN 55362
(763) 295-2652




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Music Fragments, HOWTO

2007-07-03 Thread Helge Kruse

Rune,

I saw your log and suspected something with locale problems.
But I got no problems with Lilypond 2.11.25 at a German Windows XP.

|  GNU LilyPond 2.11.25
|  »rune.ly« wird verarbeitet
|  Analysieren...
|  Interpretation der Musik...
|  Vorverarbeitung der grafischen Elemente...
|  Zeilenumbr├╝che werden berechnet...
|  Drawing systems...
|  Interpretation der Musik...
|  Vorverarbeitung der grafischen Elemente...
|  Zeilenumbr├╝che werden berechnet...
|  Drawing systems...
|  Interpretation der Musik...
|  Vorverarbeitung der grafischen Elemente...
|  Zeilenumbr├╝che werden berechnet...
|  Drawing systems...
|  Finding the ideal number of pages...
|  Fitting music on 1 page...
|  Drawing systems...
|  Layout nach »rune.ps« ausgeben...
|  Konvertierung nach »rune.pdf«...

Best regards,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Decorated scores

2007-06-18 Thread Helge Kruse

Arjen,

for some ornaments this sounds great. Even if this a bit offtopic, I dont 
have a program to convert a bitmap graphic (TIFF, JPG,...) to EPS. Does 
anbody knows any program that runs with Windows XP?


/Helge

- Original Message - 
From: "Arjen Bax" <[EMAIL PROTECTED]>

To: 
Sent: Friday, June 15, 2007 1:22 PM
Subject: Re: Decorated scores



Helge Kruse  gmx.net> writes:

I would like to include some graphics in the score like celtic ornaments 
at

the page borders. What are best practices in an MS Windows environment?


Occasionally, I use \epsfile to insert ornamental graphics between 
\score{}
blocks. To convert any graphics file to eps, I use Imagemagick's 
'convert':

convert ornament.jpg EPS2:ornament.eps




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: EPS output

2007-06-14 Thread Helge Kruse

Graham,

Where can I get a copy of this file NEWS. I have searched: until now
- the "C:\Program Files\Lilypond" tree
- the Documentation page at lilylond.org
- the Download page at lilypond.org

The /usr/share/doc/lylipond as mentioned at the site unfortunately doesn't 
exist.


Best regards,
Helge

- Original Message - 
From: "Graham Percival" <[EMAIL PROTECTED]>

To: "Helge Kruse" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, June 14, 2007 8:58 PM
Subject: Re: EPS output



Helge Kruse wrote:
I have installed Lilypond 2.11.25 at MS Windows. I want to produce an EPS 
file for further layout work as suggested in the manual, chapter 14.10 . 
But Lilypond doesn't accept -b eps, it's even not listed with the --help 
command.


Are there some secrets to generate EPS?


Yes, the secret is reading the NEWS file.  Specifically,
"
The following options are now changed as a -d 
sub-option: --backend, --safe, --preview and --no-pages (which 
became -dno-print-pages). The -b option does not exist any more.

"

so try
lilypond -dhelp

- Graham 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


EPS output

2007-06-14 Thread Helge Kruse

Hi,

I have installed Lilypond 2.11.25 at MS Windows. I want to produce an EPS 
file for further layout work as suggested in the manual, chapter 14.10 . But 
Lilypond doesn't accept -b eps, it's even not listed with the --help 
command.


Are there some secrets to generate EPS?


Best regards,
Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Decorated scores

2007-06-11 Thread Helge Kruse

Hello,

I would like to include some graphics in the score like celtic ornaments at 
the page borders. What are best practices in an MS Windows environment?


/Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: break in measure

2007-06-11 Thread Helge Kruse

Joe,

ragged-last-bottom did it. I ignored it before, since it is described in 
"Fitting music onto fewer pages" what is the opposit to my wishes. All other 
tweaks from "Horizontal Spacing" did not give any satisfying result.


But finally it looks ok.

Thank you, Helge

- Original Message - 
From: "Joe Neeman" <[EMAIL PROTECTED]>

To: "Helge Kruse" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, June 07, 2007 7:59 AM
Subject: Re: break in measure



On 6/7/07, Helge Kruse <[EMAIL PROTECTED]> wrote:

Hello,

Lilypond formats a score and tries to fit as much as possible at the 
first
page. Unfortunately the piece is too long and I have one remaining line 
at
the last page. Therefore I would like to relax the lines at the pages 
before
without entering manual breaks. How can I say "not more than x measures 
per

line" or just "use more space"?


If you set ragged-last-bottom to ##f in the paper block, then Lilypond
will try to avoid the situation you describe. Alternatively, you can
set system-count to a number in the paper block to force Lilypond to
use that many systems. Finally, you can look at the chapter on
horizontal spacing in the manual to see how to get Lilypond to prefer
more widely spaced lines. 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


break in measure

2007-06-06 Thread Helge Kruse

Hello,

Lilypond formats a score and tries to fit as much as possible at the first 
page. Unfortunately the piece is too long and I have one remaining line at 
the last page. Therefore I would like to relax the lines at the pages before 
without entering manual breaks. How can I say "not more than x measures per 
line" or just "use more space"?


/Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: voltas

2007-06-03 Thread Helge Kruse

Mats,

Thanks for advise. The workaround does it.

/Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


voltas

2007-06-02 Thread Helge Kruse

Hello,

I have a score, that begins without upbeat. After some measures (in the 
example four) a second part begins. The second part has an upbeat. Therefor 
the last measure of the first part has less notes (3/4). The second part has 
also a volta repeat.


Lilypond produces this as expected including the first \alternative of the 
repeat. The second \alternative part is wrong.


How should I write this stuff?

Best regards, Helge

\version "2.11"
\include "deutsch.ly"

mbreak = \break

upOne = \relative c''' {
\key c \minor

| g4 g8 as g4. f8
| es4 d c2
| f4 f d b
| c8 d es d c4
\mbreak

\repeat volta 2 {
  g'8 f
| g4 c c, g'8 f
| g4 c d,2
| f4 f d b
\mbreak

}
\alternative {
 { c8 d es d c4 }
 { c8 d es d c2 }
}

| c4 b8 d d2
}

\score {
\new Staff=upOne \upOne
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Java, was: etf2ly

2007-05-28 Thread Helge Kruse

The PluginManager was not able to download/install the files.

Why?
I dont know. After playing around I found the Download Options. After I 
changed the setting from "Plugin central default" to "SWITCH", plugins are 
downloaded.


That would install dependencies like the Console, ErrorList, Templates 
plugin, now you must do it yourself, see http://lilypondtool.organum.hu 
for the requirements.
I've downloaded the jar files and copied them to C:\Programme\jEdit\jars 
until jEdit started without any error.


I assumed that the Download Manager would do some additional setup. 
Therefore I deleted ErrorList.jar and started jEdit again. It complained 
about the missing plugin as expected. Since the PluginManager now is 
configured, it could download ErrorList.jar. jEdit and LilypondTool started 
fine, but with errors display in Console and not in ErrorList. No way to 
point and click to get to the error in the .ly file.


Best regards, Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Java, was: etf2ly

2007-05-28 Thread Helge Kruse

Bert,

thanks for your advise. I installed JRE and got LilypondTool running after 
fiddling with a lot of error messages like


C:\Programme\jEdit\jars\LilyPonToo.jar:
Requieres version 1.4.2. or later of errorlist.Error.ListPlugin,
but errorlist.ErrorListPlugin is not installed

C:\Programme\jEdit\jars\LilyPonToo.jar:
Requieres version 0.7.2 or later of sidekick.SideKickPlugin,
but sidekick.SideKickPlugin is not installed

etc.

Each message occured after donwloading the plugin and copying the jar file. 
The PluginManager was not able to download/install the files.


Finally I got an editor with syntax highlight and an PDF viewer with a nice 
"point and shot" to go to the note under cursor. The errors in Lilypond 
output are shown in the Console window. But there is no feature to go to the 
source, when Lilypond finds an error?


Will give it further tries.

Best regards, Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


seperated stems

2007-05-27 Thread Helge Kruse

Hello,

I want to write some chords, played with both hands, in one staff. To 
indicate that it's played with two hands, I want to write some of the notes 
with stem and beam up and some other down. The excerpt below combines both 
chord with one stem and one beam.

How do I get one beam above and one beam below?

\version "2.10.4"
\include "deutsch.ly"
\score {
\relative c'' {
 \clef treble
 \key a \minor
 | \repeat "unfold" 8 { << 8  >> }
}
}

Best regards, Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Java, was: etf2ly

2007-05-27 Thread Helge Kruse
Why don't you install jEdit + Java bundle downloadable from the jEdit 
website?


Bert,
I did not found any bundle neither at jEdit.org not SourceForge.net. I 
searched this morning again and it's still not there. Probably this bundle 
was available before.


Best regards, Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Java, was: etf2ly

2007-05-26 Thread Helge Kruse

Carl,

I downloaded LilypondTool as well as JEdit. But JEdit requires Java Runtime, 
that I avoided as long as possible. I think the programmers of LilypondTool 
and JEdit have done a good work, but I cannot see it without this ugly Jave 
Runtime Einvironment JRE 1.3.


At the sun web site I found a lot of Java Studio and at lot of other tools 
or componets like Java EE, Java SE and so on. But no JRE 1.3 has been seen. 
And I fear that I cannot remove this Java thingee, if I want to.


Now I try to setup a Linux in a virtual machine like "colinux". Hope I can 
get easier rid off it, if I like.


Best regards, Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: etf2ly

2007-05-24 Thread Helge Kruse

Valentin,

I installed version 0.2.5 of the program. This program does not run after 
installation, since the runtime msvcrt71.dll is missing, but I could grab it 
from a VS2003 installation. I got the same error message "site import 
failed". The user interface looks a bit different, but only "new score" and 
"new context" is available. Far away from a useable solution. So I fear I 
have to stick with notepad.


Best regards, Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: etf2ly

2007-05-24 Thread Helge Kruse


- Original Message - 
From: "Valentin Villenave" <[EMAIL PROTECTED]>

To: "Helge Kruse" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, May 25, 2007 1:23 AM
Subject: Re: etf2ly



2007/5/24, Helge Kruse <[EMAIL PROTECTED]>:
Is there any other possibility to enter scores graphically before I edit 
and

tweak them for Lilypond? I tried Canorus, but this program starts without
any music edition capability at my Windows XP SP2. So it's currently not
working.


Try Canorus version 2.5, the 3.0 is indeed buggy (windows Qt problem,
I guess). This is the best way I could recommend; besides, Canorus is
being actively developed; think we should see pre-1.0 versions
relatively soon (I'd say in about a year or so). However, the 2.5 is
quite useable and if it's still basic, you can always export LilyPond
code and work on it manually.

Cheers,
Valentin 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: etf2ly

2007-05-24 Thread Helge Kruse
Is there any other possibility to enter scores graphically before I edit and 
tweak them for Lilypond? I tried Canorus, but this program starts without 
any music edition capability at my Windows XP SP2. So it's currently not 
working.


Regards, Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


etf2ly

2007-05-23 Thread Helge Kruse

Hello,

I tried to use a graphical front end at my Windows XP system. Since Finale 
Notepad is free, I wrote a simple song and store the MUS file. When I run 
etf2ly lala.MUS I get always the content


% lily was here -- automatically converted by etf2ly from lala.mus

This is not too much. Can etf2ly accept Finale (Notepad) files anyhow? If 
yes, how?


Best regards, Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Fw: flying beam with crossing fingers

2007-05-19 Thread Helge Kruse

Damian,

thanks for reply. I don't use 2.11, since 2.10 is the "stable" version.

No, I didn't meant it. I want the melody to change to staff "upper", since
- the original (but badly readable) score has the same pattern
- it shows the melody clearly as an arpeggio played with both hands.

I stripped down my first example to show the problem clearly and probably to 
isolate the error. Now I wanted to give you an idea of the environment with 
some measures before and after the problem with some additional measures. I 
found a solution. You find the working file attached. The flying beam 
occurs, when you change this line


  | b,16 d g  r8. \change Staff=lower g,16 b e r8.

to this one

  | b,16 d g  \change Staff=lower r8. g,16 b e r8.


This staff switch is used at several places. But it lets the beam fly only
at this measure. As mentioned above the \change Staff elements are
necessary. Is this a bug fixed in 2.11?

Best regards, Helge
\version "2.10.14"

\score {
<<
	\new GrandStaff
	<<
		\new Staff = upper \relative c'' {
			\clef treble
			\time 6/8
			\partial 8*1
			r8
			\stemUp
			| r8. c16 e g r8. c,16 e g
			| r8. b,16 d g r8. g,16 b e
			| r8. b,16 d g r8. g,16 b e
		}
		\new Staff = lower \relative c' {
			\clef bass
			\time 6/8
			\partial 8*1
			r8
			\stemDown
			\change Staff=upper c16 e g r8. c,16 e g r8.
			| b,16 d g  r8. \change Staff=lower g,16 b e r8.
			d,16 a' d r8. g,16 b d r8.
		}
	>>
>> 
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


flying beam with crossing fingers

2007-05-18 Thread Helge Kruse

Hello,

I found a problem where the beam is not at the end of the stems but flying 
somewhere below them. The score excerpt is below.


There is also an very interesting output, if you remove the \stemDown. It 
looks as the stemDown doesn't make sense in the excerpt, but it does in the 
whole score.


Best Regards, Helge
\version "2.10.14"

\score {
<<
	\new GrandStaff
	<<
		\new Staff = upper \relative c'' {
			\clef treble
			\time 6/8
			\partial 8*1
			r8
			| r8. b,16 d g r8. g,16 b e
		}
		\new Staff = lower \relative c' {
			\clef bass
			\time 6/8
			\partial 8*1
			r8
			\stemDown
			\change Staff=upper 
			| b,16 d g \change Staff=lower r8. g,16 b e r8.
		}
	>>
>> 
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


grouping staffs

2007-05-17 Thread Helge Kruse

Hello,

I want to write a score for three instruments. One instrument has one staff, 
the two other have two staves. I found in the documentation at 6.4.7 some 
system start delimiter for combination of single staff lines. How do I 
combine second to third and fourth to fifth staff?


So it look like this (fixed font pseudo graphic).

   |---|---|---
   |---|---|---
   |---|---|---
   |
 / |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 | |   |   |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 \ |
   |
 / |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 | |   |   |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 \ |

/Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


whole score at two lines

2007-05-17 Thread Helge Kruse

Hello,

I have a problem with Lilyponds automatic line breaking. The attached score
has only one line break. All notes are squeezed and finally run out of page.

What's wrong with the score source?

Best regards, Helge 
\include "deutsch.ly"

upperNotes = \relative c''' {


	g8  d h g  g a h e,4 e8 e4  c'8 a fis d  d e fis  g4 g8 g4  g'8
	d h g  h c d e,4 e8 e4  c'8 a fis d  d e fis  g4 g8 g4 \bar ":|"
		
	g'16 a 
	h8 g h a fis d
	e fis g g fis e
	d h g' d h g
	a fis d d4   	g'16 a 
	h8 g h a fis d
	e fis g g fis e
	fis16 g a8 fis g e a,
	d4 d8 d e f
	e c e d h d
	c a' c, h g' h,
	a c e d h g
	fis a fis d e fis
	g a h e, fis g
	a h c d e fis
	g d h c h fis
	g4 g8 g4.
}

upperStaff = {

	\clef treble
	\key e \minor
	\time 6/8

	\partial 8*1
	\upperNotes
}

lowerNotes = \relative c' {
	r8  4. 
	 
	 
	 
	g g,   c' c   g d   g g,
	
	\clef treble
	r8 
	4. 
	 \clef bass 
	 
	  
	\clef treble
	 
	 \clef bass  \clef treble
	  
	 \arpeggio
% {
	  
	\clef bass
	 
	 
	 
	  
	 
	  
	 \arpeggio
% }
}

lowerStaff = {
	\clef bass
	\key e \minor
	\time 6/8
	
	\partial 8*1
	\lowerNotes
}

\score {
\context PianoStaff <<
		\context Staff = upper \upperStaff
		\context Staff = lower \lowerStaff
	>>
	\layout { }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


grouping staffs

2007-05-17 Thread Helge Kruse

Hello,

I want to write a score for three instruments. One instrument has one staff,
the two other have two staves. I found in the documentation at 6.4.7 some
system start delimiter for combination of single staff lines. How do I
combine second to third and fourth to fifth staff?

So it look like this (fixed font pseudo graphic).

   |---|---|---
   |---|---|---
   |---|---|---
   |
 / |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 | |   |   |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 \ |
   |
 / |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 | |   |   |
 | |---|---|---
 | |---|---|---
 | |---|---|---
 \ |

/Helge 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Spacing with arpeggio

2007-05-14 Thread Helge Kruse

Hello,

I edited a small piece for harp. Everything looks quite nice, except the 
final chord in the last measure.


How do I avoid the nearby collision between arpeggio and previous note (D)?
How can I draw the arpeggio over lower and upper staff?

Best regards, Helge%
%	Give Me Your Hand
%	second harp
%

\include "deutsch.ly"

upperNotes = \relative c' {

	\stemUp
	r8. e16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. g,16 h e r8. g,16 h e
	r8. fis,16 a d r8. g,16 h e
	
	r8. fis,16 a d r8. e,16 g c
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. fis,16 a d r8. g,16 h d
	
	r8. e,16 g c r8. g16 h d 
	r8. g,16 h e r8. g,16 h e
	r8.	fis,16 a d r8. g,16 h e
	r8. fis,16 a d r8. g,16 h e
	r8. g,16 h d r8. g,16 c e
	
	r8. c16 e g r8. d16 fis a
	r8  4\arpeggio 	r8  4\arpeggio 	
	r8  4\arpeggio 	r8. e'16 g h
	r8. e,16 g h r8. e,16 g h
	r8. d,16 fis a r8. d,16 g h
	
	r8 4\arpeggio r8 4\arpeggio
	r8 4\arpeggio r8 4\arpeggio
	r8. e'16 g c r8. g16 h d
	r8. c16 e g r8. c,16 e g
	r8. h,16 d g r8. g,16 h e
	
	r8. fis,16  a d r8. g,16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d r8. fis,16 a d 4.\arpeggio
}


upperStaff = {

	\clef treble
	\key e \minor
	\time 6/8

	\upperNotes
}

lowerNotes = 	\relative c {

	c16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	e,16 h' e r8. g,16 h e r8.
	d,16 a' d r8. e,16 h' e r8.
	
	d,16 a' d r8. c,16 g' c r8.
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	d,16 a' d r8. g,16 h d r8.
	
	c,16 g' c r8. g16 h d r8.
	e,16 h' e r8. g,16 h e r8.
	d,16 a' d r8. e,16 h' e r8.
	d,16 a' d r8. g,16 h e r8.
	g,16 h d r8. g,16 c e r8.
	
	 
	\change Staff=upper \stemDown
	c16 e g r8. d16 fis a r8.
	\change Staff=lower
	g,4. g4.
	g4.	\change Staff=upper \stemDown e'16 g h r8.
	e,16 g h r8. e,16 g h r8.
	d,16 fis a r8. d,16 fis a r8.
	
	\change Staff=lower
	c,4. h4.
	g4. d4.
	c16 g' c r8. g16 h d r8.
	\change Staff=upper c16 e g r8. c,16 e g r8.
	h,16 d g \change Staff=lower r8. g,16 h e r8.
	
	d,16 a' d r8. g,16 h d r8.
	c,16 g' c r8. g16 h d r8. 
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	d,16 a' d r8. 4.\arpeggio
}

lowerStaff = {
	\clef bass
	\key g \major
	\time 6/8
	
	\lowerNotes
}

\book {
	\header {
		title = \markup { \italic "Give Me Your Hand"  }
		subtitle = " "
		arranger = \markup { \column {"Arr. B. Kerscher" " " } }
		dedication = { }
		tagline = \markup { "Give Me Your Hand - abgepinselt von Helge" }
	}
	\score {
		\context PianoStaff <<
			\set PianoStaff.instrumentName = "Harfe 2" 
			\context Staff = upper \upperStaff
			\context Staff = lower \lowerStaff
		>>
		\layout { }
		\midi { }
	}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


midi2ly key and rests

2006-12-26 Thread Helge Kruse
Hello,

 

#include "German.ly" ;-)

 

I have a MIDI file, that with all patches one semitone too high. It sounds
in Cis . I have converted it with midi2ly to Lilypond format and transposed
each voice with \transpose to C so I can play it much better. But this gives
Ces instead of H and Fes instead of E. 

 

I gave the switch --key at midi2ly, but this changed the output of midi2ly
in any way. Also -output has no effect to midi2ly. 

 

Another annoying thing is that all rests are silent rests. This makes it
difficult to read & play the music.

 

What is the best way to get the preferred pitch and readable rests?

 

 

Regards,

Helge

 

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Slant of beams

2006-11-26 Thread Helge Kruse
Hello,

I have an excerpt of my score, that doesn't look nice. The beams are
horizontal in the first measure and I don't know why. The stem's length of D
and C is much too small. To avoid a collision the slur has been blown up and
looks like, ... "blown up".

How can I change the beam's slope (or whatever the correct English word is
;-)?

Regards,
Helge 


\version "2.7.39"
\include "deutsch.ly"

 upper = \relative c' {
\clef treble
\key b \major
\time 6/8
c16 es fis es d a c es fis es d a |
c16 es a ( g fis es d c
\change Staff = "lower" b a g fis |
es8 ) \change Staff = "upper"
r8 r8 r4 d'8  |
 }
 
 lower = \relative c {
\clef bass
\key b \major
\time 6/8
d2.~ |
d4. r4 r8 |
s8 8 |
}
 
\book {
 \score  {
\context PianoStaff <<
   \set PianoStaff.instrument = "HARPE  "
   \context Staff = upper \upper
   \context Staff = lower \lower
>>
\layout { }
 }
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


<    1   2   3   4   5   >