Re: piano centered dynamics

2008-06-05 Thread Valentin Villenave
2008/6/4 Mats Bengtsson <[EMAIL PROTECTED]>:
> This is a known problem that has not made it into the bug tracker, as far as
> I can see.

Now it has:
http://code.google.com/p/lilypond/issues/detail?id=631


Cheers,
Valentin


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


Re: Clef change and rest colliding

2008-06-05 Thread Valentin Villenave
2008/6/5 Benedict Singer <[EMAIL PROTECTED]>:
> Here's a minimal example that produces the collision for me. In the
> meantime, any way to move that clef around which will force more space at
> the end of that line? Is the end-of-line clef change clef symbol referenced
> differently than just Clef?

Actually, you are responsible of this collision since you asked
LilyPond to \noBreak the whole line :-)

I'm not sure there's any way to allow more space for the Clef when the
spacing is forced to be so tight. AFAIK there's no special symbol for
clefs at the end of line; of course you could simply remove this Clef
by using:
 \set Staff.explicitClefVisibility = #end-of-line-invisible
and then
 \unset Staff.explicitClefVisibility

But it's really not convenient for whoever is gonna play your score :(

Cheers,
Valentin


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


Re: Best Text Editor

2008-06-05 Thread Mats Bengtsson
Read the section called "Text editor support" in the Application Usage 
included in the documentation
for version 2.11. If you search the mailing list archives, you will also 
find other suggestions.


  /Mats

stefanozanobini wrote:

I'm looking for the best text editor in Linux for Lilypond usage.
I suppose Kwrite is quite good, it gives me clearly the structure of a 
.ly file (with colors and bolds), but not always.
Is there a text editor with a specific and complete extensive lilypond 
hilighter?

Bye
stezano


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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=



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


Re: Best Text Editor

2008-06-05 Thread Valentin Villenave
2008/6/5 stefanozanobini <[EMAIL PROTECTED]>:

> Is there a text editor with a specific and complete extensive lilypond
> hilighter?

There are many, but if any, you have to have a look at:
http://lilypondtool.organum.hu/

(it's a great LilyPond plugin for the jEdit Java-based text editor)

Cheers,
Valentin


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


Re: markup question

2008-06-05 Thread Mats Bengtsson
As long as you don't have any \key command in your code, no key 
signature at all will be

typeset. Just add a
\key c \major
(or whatever signature) to get the desired symbol.

I hope you know about the built-in capabilities in LilyPond to handle 
non-standard
key signatures. As long as you only want to have normal flat and sharp 
symbols
in your custom key signature, there should be no need to typeset it 
manually using markups.


   /Mats

James E. Bailey wrote:
I'm trying some things and I expected a flat symbol on the bottom line 
but got nothing.

{
\override Staff.Clef #'stencil = #ly:text-interface::print
\override Staff.Clef #'text = \markup \musicglyph #"clefs.C"
\override Staff.KeySignature #'stencil = #ly:text-interface::print
\override Staff.KeySignature #'text = \markup \musicglyph 
#"accidentals.flat"

s1
}

Any ideas as to why?


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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=



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


Re: Best Text Editor

2008-06-05 Thread Graham Percival
On Thu, 5 Jun 2008 11:11:28 +0200
stefanozanobini <[EMAIL PROTECTED]> wrote:

> I'm looking for the best text editor in Linux for Lilypond usage.

vim, of course.

Cheers,
- Graham


PS I've never used it, but the jedit lilypond thing looks quite
nice.  That's probably what you're after.


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


Best Text Editor

2008-06-05 Thread stefanozanobini
I'm looking for the best text editor in Linux for Lilypond usage.
I suppose Kwrite is quite good, it gives me clearly the structure of a .ly
file (with colors and bolds), but not always.
Is there a text editor with a specific and complete extensive lilypond
hilighter?
Bye
stezano
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: note head in denominator - snippet doesn't work

2008-06-05 Thread Mats Bengtsson
As I just reported on the bug mailing list, I finally managed to find 
the culprit,
namely that the property style was set on the TimeSignature grob. Adding 
the line

\override Staff.TimeSignature #'style = ##f
solves the problem!

   /Mats

Valentin Villenave wrote:

2008/5/30 Mats Bengtsson <[EMAIL PROTECTED]>:
  

The same problem appears in 2.10 and 2.11. It's really weird, since the same
markup works
well in other places, even when typeset using the same stencil function,
ly:text-interface::print
as the following example shows. I cannot see any other property setting on
TimeSignature that
might influence it.



OK, I added it as http://code.google.com/p/lilypond/issues/detail?id=628

Cheers,
Valentin
  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=



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


Re: Best Text Editor

2008-06-05 Thread Wilbert Berendsen
Op donderdag 5 juni 2008, schreef stefanozanobini:
> I'm looking for the best text editor in Linux for Lilypond usage.
> I suppose Kwrite is quite good, it gives me clearly the structure of a .ly
> file (with colors and bolds), but not always.
> Is there a text editor with a specific and complete extensive lilypond
> hilighter?

A recent KWrite or Kate (from KDE 3.5.8 or 3.5.9) should have quite good 
syntax highlighting. For older Kate versions, you can download the updated 
syntax definitions for LilyPond from 
http://www.kate-editor.org/syntax/2.5/lilypond.xml .  Put the file in 
~/.kde/share/apps/katepart/syntax/ (create the directory if it does not 
exist) and restart Kate.

There is also a special LilyPond plugin for Kate named LilyKDE (I wrote it 
myself :-) with features such as a quick score wizard and "live" note entry 
using Rumor and a MIDI keyboard (or your computer keyboard). It runs in Kate 
(not KWrite) and it can be found at http://lilykde.googlecode.com/ . LilyKDE 
also contains even more up-to-date syntax highlighting.

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


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


Re: git question

2008-06-05 Thread Reinhold Kainhofer
Am Mittwoch, 4. Juni 2008 schrieb hhpmusic:
> Hi,
>   I have no time to learn GIT. I saw Reinhold's Orchestrallily has a dev
> version, but in git access method. I quickly searched the manual, enter $
> git clone ssh://../orchestrallily.git. The first time I ran it, it
> asked me for password. The second time, It said the dir is already
> existing, and I can't go any further. On the webpage of that package, there
> is a git+ssh://... link, when I pressed enter, the browser can't reach the
> destination. Could someone tell me how to get it? 

Ah, sorry, the SSH-access is only for registered developers. Anonymous 
(read-only) access is available via the git:// protocol, as  Anthony has 
already pointed out. I have now updated the link on the wiki page 
accordingly.

Note, however, that the development version has some extensive changes, so 
that scores written with version 0.02 will not yet work properly (I intend to 
add some legacy settings, to make them work, again, but the code for this is 
not yet there).

Key improvements of the development version over 0.02 are:
-) General support for all different kinds of staves and voices (Drum 
staves/voices and figured bass, RhythmicStaff, etc.)
-) parallel voices in one staff work, 
-) Add *TimeSignature variable
-) implement transpositions
-) interpreting markup using header fields 
-) Auto-created table-of-contents
-) Nice title page (full page) and nicer title header
-) Default clefs and Instrument names for lots of common abbreviations

The current status of the documentation for the next version is available at:
http://kainhofer.com/orchestrallily/orchestrallily-bigpage.html (one big page)
http://kainhofer.com/orchestrallily/ (split into multiple pages)

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


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


lilybond-book staffsize problem

2008-06-05 Thread Johannes Heinecke
Dear all,

I have stumbled over en problem with lilypond-book 2.8.1: 
Using 
\begin[staffsize=11,line-width=128\mm]{lilypond}
\include "../mySong.ly"
  \score {
  \new Staff = devenu <<
\context Voice = "sopranos" \sopranRefrain 
\context Lyrics = sop \lyricsto sopranos \textRefrain  >>
  }
\end{lilypond}

The staff has the desired size (11pt), but the notes, clefs etc. are still at
20pt. When I use lilypond on its own (i.e. not lilypond-book) all is fine. Did I
miss anything to rescale note-symbols as well?

Best regards
Johannes



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


Re: Clef change and rest colliding

2008-06-05 Thread Benedict Singer
I put that in the example to make sure it happened, but in my score  
lilypond put 3 bars on one line like that, with the clef change on the  
next line, without any \noBreaks anywhere. Regardless, it seems it  
should be able to move the rest a bit to make space.


Ben

On Jun 5, 2008, at 0:41, Valentin Villenave <[EMAIL PROTECTED]>  
wrote:



2008/6/5 Benedict Singer <[EMAIL PROTECTED]>:

Here's a minimal example that produces the collision for me. In the
meantime, any way to move that clef around which will force more  
space at
the end of that line? Is the end-of-line clef change clef symbol  
referenced

differently than just Clef?


Actually, you are responsible of this collision since you asked
LilyPond to \noBreak the whole line :-)

I'm not sure there's any way to allow more space for the Clef when the
spacing is forced to be so tight. AFAIK there's no special symbol for
clefs at the end of line; of course you could simply remove this Clef
by using:
\set Staff.explicitClefVisibility = #end-of-line-invisible
and then
\unset Staff.explicitClefVisibility

But it's really not convenient for whoever is gonna play your score :(

Cheers,
Valentin



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


Re: markup question

2008-06-05 Thread James E. Bailey

Oh, thanks, I actually solved my problem.
	\override Staff.Clef #'stencil = #ly:text- 
interface::print

\override Staff.Clef #'text = \markup {
\lower #0.0 {\musicglyph 
#"clefs.C"}
\raise #3.0 {\flat}
\raise #1.0 {\flat}
\raise #2.5 {\flat}
\hspace #0.1
\raise #2.0 {\musicglyph #"clefs.C"}
\raise #1.25 {\rotate #180.0 \semiflat}
\lower #0.25 {\rotate #180.0 \semiflat}
\raise #1.75 {\rotate #180.0 \semiflat}
\hspace #0.1
}

That was what it finally looked like. I had to combine the two to get  
it all together, but I got it. ^_^



Am 05.06.2008 um 11:37 schrieb Mats Bengtsson:

As long as you don't have any \key command in your code, no key  
signature at all will be

typeset. Just add a
\key c \major
(or whatever signature) to get the desired symbol.

I hope you know about the built-in capabilities in LilyPond to  
handle non-standard
key signatures. As long as you only want to have normal flat and  
sharp symbols
in your custom key signature, there should be no need to typeset it  
manually using markups.


  /Mats

James E. Bailey wrote:
I'm trying some things and I expected a flat symbol on the bottom  
line but got nothing.

{
\override Staff.Clef #'stencil = #ly:text-interface::print
\override Staff.Clef #'text = \markup \musicglyph #"clefs.C"
\override Staff.KeySignature #'stencil = #ly:text-interface::print
\override Staff.KeySignature #'text = \markup \musicglyph  
#"accidentals.flat"

s1
}

Any ideas as to why?


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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=





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


Re: Best Text Editor

2008-06-05 Thread Jonathan Kulp
I think Kwrite has the nicest syntax coloring, and for that reason I 
installed the Kubuntu desktop on my Ubuntu machine.  I don't really like 
KDE, though, so most often I end up using Gedit instead, choosing the 
LaTeX coloring (not great).  I might try Kate with LilyKDE, though. 
That sounds promising.


JEdit has a nice Lilypond tool but in my latest install it looks really 
bad.  I think I must have chosen the wrong Java environment or 
something.  It's very grainy and cheap looking.  I like the pdf preview 
function in JEdit, but it's not really necessary for me anymore because 
I wrote a shell script that does essentially the same thing.


Emacs, to me, doesn't look good in a graphical environment (I think it's 
the same problem as JEdit? Grainy and fuzzy-looking), and the 
keybindings are all messed up, too.  Every time I hit Alt+f I end up in 
the file menu instead of moving forward one word.  Maybe there's a way 
to turn this off, but in the meantime the only way I can use Emacs is in 
a command-line-only environment.


Jon


Wilbert Berendsen wrote:

Op donderdag 5 juni 2008, schreef stefanozanobini:

I'm looking for the best text editor in Linux for Lilypond usage.
I suppose Kwrite is quite good, it gives me clearly the structure of a .ly
file (with colors and bolds), but not always.
Is there a text editor with a specific and complete extensive lilypond
hilighter?


A recent KWrite or Kate (from KDE 3.5.8 or 3.5.9) should have quite good 
syntax highlighting. For older Kate versions, you can download the updated 
syntax definitions for LilyPond from 
http://www.kate-editor.org/syntax/2.5/lilypond.xml .  Put the file in 
~/.kde/share/apps/katepart/syntax/ (create the directory if it does not 
exist) and restart Kate.


There is also a special LilyPond plugin for Kate named LilyKDE (I wrote it 
myself :-) with features such as a quick score wizard and "live" note entry 
using Rumor and a MIDI keyboard (or your computer keyboard). It runs in Kate 
(not KWrite) and it can be found at http://lilykde.googlecode.com/ . LilyKDE 
also contains even more up-to-date syntax highlighting.


best regards,
Wilbert Berendsen



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


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


Slur in wrong place: rests too high: adjust stave separation for just one system

2008-06-05 Thread Frederick Dennis
Dear All,
I'm using version 2.10.33
In the following extract, the slur from b to a is too high. Is there a
remedy for this? Also, why are the quaver rests so high? Do I have
to write c8\rest or something for each one? I started doing this but
this caused unexpected changes elsewhere so I gave up. Last question:
I'm fine getting the dynamics between the piano staves. Centered is
not really the right word as if a chord is on many leger lines, the dynamic
has to be lower down. However, when there are no dynamics or leger lines,
is it possible to bring the piano staves closer together for just one
system,
or do you have to set this distance for the entire score?
I have looked at the docs but may have missed something.
Thank you for your attention.

\relative c'
<<
{ r8  r8 d'~ d16( c a g) \bar "||" } \\

{ s4 s8\< ^( )\![ c] }

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


Re: markup question

2008-06-05 Thread Kieren MacMillan

Hi James,


Oh, thanks, I actually solved my problem.


When Mats said

I hope you know about the built-in capabilities in LilyPond to  
handle non-standard
key signatures. As long as you only want to have normal flat and  
sharp symbols
in your custom key signature, there should be no need to typeset  
it manually using markups.


I believe he was pointing you towards a solution more like

{
\set Staff.printKeyCancellation = ##f
\once \override Staff.KeySignature #'X-extent = #'(0 . 6)
	\set Staff.keySignature = #'(((0 . 5) . -1/2) ((0 . 2) . -1/2) ((0 .  
6) . -1/2))

\clef mezzosoprano
\once \override Staff.TimeSignature #'X-extent = #'(-4 . -0.5)
\grace { s1 }
\once \override Staff.Clef #'full-size-change = ##t
\clef tenor
\once \override Staff.KeySignature #'rotation = #'(180 0 -.43)
	\set Staff.keySignature = #'(((0 . 1) . -1/4) ((0 . 4) . -1/4) ((0 .  
0) . -1/4))

s1
}

While it's a few more lines of code than yours, it is "more correct",  
musically speaking.


What I mean by that is, my code really *has* changed the key  
signature -- so that, for example, accidentals will work "as  
expected", you won't have problems with transposition, the spacing of  
the key signature elements are consistent, etc. -- whereas your code  
simply makes the key signature *look* like it's been changed.


Hope this helps!
Kieren.




[p.s. For the record, I didn't take the time to make sure that the  
second key signature change was "correct" -- if you adopt this  
option, you'll have to make sure that the scale tones are actually  
adjusted according to your wishes...]



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


Re: Slur in wrong place: rests too high: adjust stave separation for just one system

2008-06-05 Thread Kieren MacMillan

Hi Frederick,


In the following extract, the slur from b to a is too high. Is there a
remedy for this?


You can always use #'extra-offset to move it.


Also, why are the quaver rests so high?
Do I have to write c8\rest or something for each one?


See the docs on "explicitly instantiating voices" (or whatever it is  
now) to see what you were doing wrong -- this should get you on the  
right track:


slurFix = \once \override Slur #'extra-offset = #'(0 . -1)
\score
{
\relative c'
{
r8  r8\<
<<
{ \voiceTwo \slurFix ^( )\![ c] }
\new Voice { \voiceOne d' ~ d16( c a g) \bar "||" }
>>
}
}

Hope this helps!
Kieren.


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


Re: note head in denominator - snippet doesn't work

2008-06-05 Thread Marc Hohl

Thank you for your reply - now it works perfectly!

Marc

Mats Bengtsson schrieb:
As I just reported on the bug mailing list, I finally managed to find 
the culprit,
namely that the property style was set on the TimeSignature grob. 
Adding the line

\override Staff.TimeSignature #'style = ##f
solves the problem!

   /Mats

Valentin Villenave wrote:

2008/5/30 Mats Bengtsson <[EMAIL PROTECTED]>:
 
The same problem appears in 2.10 and 2.11. It's really weird, since 
the same

markup works
well in other places, even when typeset using the same stencil 
function,

ly:text-interface::print
as the following example shows. I cannot see any other property 
setting on

TimeSignature that
might influence it.



OK, I added it as http://code.google.com/p/lilypond/issues/detail?id=628

Cheers,
Valentin
  






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