TextSpanner at Score level?

2009-04-18 Thread Frédéric Bron
Is it possible to have a text spanner at the score level instead at
the Staff level?
I have a tempo indication "Stringendo - - - - -" which appears at
every line of the conductor score. This is too much. The original
score I am copying has printed it only above wind instruments, string
instruments and below the score. It easier to read.
I could use the \tempo command but then I do not get the - - - -.

Frédéric


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


Re: number of pages

2009-04-18 Thread Mark Polesky

huy nguyen wrote:
> So i'd like to manually set the number of pages
> to 2 pages only. how can I do this?

\paper {
  page-count = #2
}

See 
http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Page-formatting#Other-layout-variables



  


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


Re: number of pages

2009-04-18 Thread Wilbert Berendsen
Op zondag 19 april 2009, schreef huy nguyen:
> Although lilypond said it found the ideal number of pages, I find that it
> didn't. It fit all my music in 2 pages, and left the last line on the 3rd
> page. 2pages>no page turn. So i'd like to manually set the number of pages
> to 2 pages only. how can I do this?

Read
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Fitting-music-onto-fewer-pages

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


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


number of pages

2009-04-18 Thread huy nguyen
Although lilypond said it found the ideal number of pages, I find that it 
didn't.
It fit all my music in 2 pages, and left the last line on the 3rd page. 
2pages>no page turn. So i'd like to manually set the number of pages to 2 pages 
only. how can I do this?


  Muốn đổi mới cách xưng hô với ông xã/ bà xã của bạn? Xem có bao nhiêu 
cách xưng hô giữa vợ và chồng nhé! http://vn.answers.yahoo.com___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: get typical jazz swing in drums midi file

2009-04-18 Thread Ed Ardzinski


> Grammostola Rosea wrote:
> > Hi,
> >
> > It is possible to get an typical jazz swing also in the midi file, so 
> > I hear it when playback?
> >
> I think you'd have to code swing drum section just for the midi output, 
> with something like
> 
> \times 2/3 { hh4 hh8 } to get swung rhythms.
> 


This is exactly how I've done it in the past.  I'm lazy so I usually write 
those types of pieces in 6/8 or 12/8. :-)  Put a friends jazz waltz into a 
leadsheet once and wanted a midi sample, so I had to have a separate midi 
version where I put all the parts into triplets.  Tedious, but efective for the 
midi demo.


_
Rediscover Hotmail®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates2_042009___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: get typical jazz swing in drums midi file

2009-04-18 Thread Valentin Villenave
2009/4/19 Grammostola Rosea :
> It is possible to get an typical jazz swing also in the midi file, so I hear
> it when playback?

It's a request that is already waiting in our tracker:
http://code.google.com/p/lilypond/issues/detail?id=687

Regards,
Valentin


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


Re: get typical jazz swing in drums midi file

2009-04-18 Thread M Watts

Grammostola Rosea wrote:

Hi,

It is possible to get an typical jazz swing also in the midi file, so 
I hear it when playback?


I think you'd have to code swing drum section just for the midi output, 
with something like


\times 2/3 { hh4 hh8 } to get swung rhythms.


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


get typical jazz swing in drums midi file

2009-04-18 Thread Grammostola Rosea

Hi,

It is possible to get an typical jazz swing also in the midi file, so I 
hear it when playback?



Thanks in advance,

\r


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


Re: relative position of tempo and rehearsal marks

2009-04-18 Thread Neil Puttock
2009/4/18 Frédéric Bron :
>> \once \override Score.MetronomeMark #'outside-staff-priority = #1500
>> \once \override Score.RehearsalMark #'outside-staff-priority = #1000
>
> This time the trick do not work, why? I want the bar number to be
> below a text spanner:
>
> { \override BarNumber #'outside-staff-priority = #1
>  \textSpannerUp \override TextSpanner #'(bound-details left text) =
> "Stringendo"
>  c'1 \startTextSpan \repeat unfold 20 { c' }
>  c' \stopTextSpan
> }
>
> Any idea?

Bar numbers live in the Score context, which means
'outside-staff-priority will be ignored.

Here are two possible workarounds:

1. Move Bar_number_engraver to the Staff context (only possible if
using one stave, or using \with { } on the top stave)

2. Move the start of the left-broken text span so it doesn't collide
with the bar number, either by tweaking (bound-details left-broken
padding) or setting (bound-details left-broken end-on-note) = ##t

Regards,
Neil


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


Re: relative position of tempo and rehearsal marks

2009-04-18 Thread Frédéric Bron
> \once \override Score.MetronomeMark #'outside-staff-priority = #1500
> \once \override Score.RehearsalMark #'outside-staff-priority = #1000

This time the trick do not work, why? I want the bar number to be
below a text spanner:

{ \override BarNumber #'outside-staff-priority = #1
  \textSpannerUp \override TextSpanner #'(bound-details left text) =
"Stringendo"
  c'1 \startTextSpan \repeat unfold 20 { c' }
  c' \stopTextSpan
}

Any idea?

Frédéric


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


Polyphony + Autochange

2009-04-18 Thread George_

I can't get autochange to work with polyphonic notation. I've tried all sorts
of stuff, and everything gives results in four broad categories: 1) the
voices engrave on top of each other like they should, but autochange doesn't
work, 2) the voices are engraved after, not on top of, each other, 3) I get
some weird combination of new staves in various stages of completeness, or
4) for some strange reason Lilypond applies the second voice's rhythm to the
first voice and I end up getting a mess of music that goes off the page.

If anyone needs some examples I'll endeavour to recreate my experiments and
post them up.

If possible, could someone give me a tutorial on getting multiple voices to
automatically change staves based on pitch? And if at all possible, could
this be added to the docs, because they deal with this issue really, really
badly?

Thanks for the help

George
-- 
View this message in context: 
http://www.nabble.com/Polyphony-%2B-Autochange-tp23116065p23116065.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: invisible slurs in tablature

2009-04-18 Thread Carl D. Sorensen
 


On 4/18/09 9:22 AM, "Marc Hohl"  wrote:

> Carl D. Sorensen schrieb:
>> People who care strongly about tablature (of which I am *not* one) should be
>> the people who make the decision about what the default should be.  In fact,
>> I don't think there's anybody on the core development team who is strongly
>> interested in tablature.
>> 
>> That being said, I don't think that the decision to make notes only or full
>> music the default is a very important decision, as long as there is a single
>> command to change to the other style.
>> 
>> When the decision is made, and it's ready for submission to LilyPond, the
>> defaults will be established in ly/engraver-init.ly
>> 
>> The commands for changing from one to the other will be established in
>> ly/property-init.ly.
>> 
>> Marc, once you've got consensus, you can make the changes and roll me a
>> patch, and I'll apply it.
> 
> Ok, as Carl proposed, I put some modifications in ly/engraver-init.ly,
> namely I created a \TabNumVoice , which is a copy of \TabVoice without
> stems, dots, markups etc. The problem with the numbers in brackets
> which are used at line breaks to indicate tied notes isn't solved yet, but
> I have now at least a slight idea of how this could be done in scheme.

I think you misunderstood my suggestion.  I was suggesting:

1) Commands \tabNumbersOnly and \tabNumberedNoteHeads (or something similar
to that) would be defined in ly/property-init.ly.

2) The default behavior of the TabVoice would be establihed in
ly/engraver-init.ly

I don't think we want to have different contexts for different ways of
displaying tablature. In general, we want to have contexts represent
different musical entities, not different ways of displaying elements in
those entities. So we don't have a separate ShapeNoteVoice, we just have a
Voice with properties set so that the NoteHeads are shape note style.  If
you use a separate context, you can't switch from one to the other (although
with TabStaff, it's not likely that you would want to do that).

I think you can make a command that sets the stencils of all of the stuff
you don't want to #'f, which would be a better way to handle it.  But I've
copied this email to lilypond-devel, in case they don't agree with me.

> 
> I also removed the Dynamic_engraver, but this doesn't work, the dynamic
> signs are
> still in the tablature. How can I remove the dynamics properly?

In my copy of engraver-init.ly, when I look at the Voice context, I see that
the /consists Dynamic_engraver is commented out, and there is a /consists
New_dynamic_engraver line just above it.  I think you should /remove
New_dynamic_engraver, and you'll get the output you want.

Thanks,

Carl

P.S.  A couple of housekeeping things:

1) It's much easier for me to follow multiple threads if they are
interleaved, instead of having new messages posted on the top.  Maybe I'm
showing my age, but traditionally top-posting is less desirable in
discussion groups (see http://en.wikipedia.org/wiki/Posting_style).

2) LilyPond standards call for universal diffs (diff -u).   Please use that
style in the future; it makes it much easier to review patches before
applying. 



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


Re: invisible slurs in tablature

2009-04-18 Thread Marc Hohl

Ok, as Carl proposed, I put some modifications in ly/engraver-init.ly,
namely I created a \TabNumVoice , which is a copy of \TabVoice without
stems, dots, markups etc. The problem with the numbers in brackets
which are used at line breaks to indicate tied notes isn't solved yet, but
I have now at least a slight idea of how this could be done in scheme.

I also removed the Dynamic_engraver, but this doesn't work, the dynamic 
signs are

still in the tablature. How can I remove the dynamics properly?

Marc


Carl D. Sorensen schrieb:


On 3/31/09 2:46 PM, "Grammostola Rosea"  wrote:

  

Grammostola Rosea wrote:


Marc Hohl wrote:
  

Grammostola Rosea schrieb:


Btw it's time to make tablature with invisible Ties, Slurs, Dots,
Stems etc. default imo.



I don't know whether this should be the default, but it should be
archieved with a simple
command, like \tabNumbersOnly (which isn't defined yet).

Marc
  

I agree, all though I'm thinking the other way around:

\tabNumbers



Uh   no that is not what I meant. I meant that I rather have to set
things on instead of off...
So as I see it now, default is \tabNumersOnly and if you want to add
stems etc there is a command for it.

A command to set all such features (stems, dots, Tie etc.) on, would
be nice maybe?

\tabSignsAll   (or something like that)

\r



  

I don't know how to make the stems and such disappear by default, but
using a simple command
isn't that much effort. I have attached my tablature.ly which allows to
switch between the "normal" and
the "numbers only" settings. Both versions feature a modern tab clef. I
Comments, improvements etc. are welcome!

Marc


Thanks for your work Marc! :)

Maybe some lily devs can discuss how to make it default and make it
possible to add things (dots, stems etc.).

I tested it a bit and it seems to work ok. I don't know if
articulations etc belongs in tab too?

for example:

\version "2.12.2"
\include "tablature.ly"

tab = {
  \time 3/4
  c4. d-_( e\varcoda)
  ->f g~ a\prall g\thumb e-. f-. g-.
  \times 3/4 { b~ c d c }
}

\score {
 \new TabStaff = "guitar numbers only" { \tabNumbersOnly  \tab }
}

\score {
 \new TabStaff = "guitar full tab" { \tabNumbersAndStems \tab }
}


  

I think you should also add:

\override TabVoice.Tie #'transparent = ##t






If I understand correctly, you have a group of interested users who are
working on defining how Tablature should behave.

You also have a couple of tablature users who are interested in becoming
Frogs and thus joining the development team (Marc is one of them, IIRC).

When you have agreement as to what should be the default for tablature, then
it will be time to add the changes to the distribution (and Marc would be an
ideal person to do it).

Right now, as I understand it, there are some users who regularly have
TabStaffs without any other staff.  These users need stems, beams, flags,
ties, slurs, etc.

There is also a group of users who regularly use TabStaff with Staff.  These
users want only numbers, because the beams, stems, slurs, ties, etc. are all
in the regular music staff, and the TabStaff is only showing fret and string
information.

People who care strongly about tablature (of which I am *not* one) should be
the people who make the decision about what the default should be.  In fact,
I don't think there's anybody on the core development team who is strongly
interested in tablature.

That being said, I don't think that the decision to make notes only or full
music the default is a very important decision, as long as there is a single
command to change to the other style.

When the decision is made, and it's ready for submission to LilyPond, the
defaults will be established in ly/engraver-init.ly

The commands for changing from one to the other will be established in
ly/property-init.ly.

Marc, once you've got consensus, you can make the changes and roll me a
patch, and I'll apply it.

Thanks,

Carl




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

  


\version "2.12.2"

tab = {
   \time 3/4
   c4^"test" d( e) 
   f4\f g a^\fermata
   c8\< c16 c ~ c2\!
   c'2.
   \mark \default
   R2.
   r4 d4 r8 r
   \times 3/4 { b4 c d c }
   c4. d-_( e\varcoda)
   ->f g~ a\prall g\thumb e-. f-. g-.
   \times 3/4 { b4 c d c } 
}


\score {
   <<
   \new Voice { \clef "G_8" \tab }
   \new TabNumVoice \tab
   >> 
}
681,723d680
< %%+mh
< \context {
<   \Voice
<   \name "TabNumVoice"
<   \alias "Voice"
<   \consists "Tab_note_heads_engraver"
<   \consists "Tab_harmonic_engraver"
<   
<   \remove "Note_heads_engraver"
<   \remove "Fingering_engraver"
<   \remove "New_fingering_engraver"
< 
<   % no stems, beams, dots
<   \override Stem #'transparent = ##t
<   \override Beam #'transparent = ##t
<   \override Dots #'transparent = ##t
<   \override Slur #'transparent = ##t
<   \over

Re: Unable to build Lylipond by the installation

2009-04-18 Thread Martin Tarenskeen
On Sat, Apr 18, 2009 at 12:24:07PM +0200, Valentin Villenave wrote:
> 2009/4/18 Alexis :
> > Hello,
> > as a newbie in Linux I make surely mistakes to install Lylipond. I've 
> > downloaded
> > the package "lilypond_2.10.33.orig.tar.gz" from the Lylipond Homepage and 
> > also
> > the other file "lilypond_2.10.33-2.2build1.dsc" (but I actually don't know 
> > what
> > this second file brings). Then I downloaded and installed all the required
> > softwares indicated in the INSTALL.txt file.

What Linux are you using ? Some Linuxes have Lilypond in their own 
repositories. In Fedora for example it is just a matter of "yum install 
lilypond". Or try whatever packagemanager is used on your Linux. 

-- 

Martin Tarenskeen


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


Re: Unable to build Lylipond by the installation

2009-04-18 Thread Valentin Villenave
2009/4/18 Alexis :
> Hello,
> as a newbie in Linux I make surely mistakes to install Lylipond. I've 
> downloaded
> the package "lilypond_2.10.33.orig.tar.gz" from the Lylipond Homepage and also
> the other file "lilypond_2.10.33-2.2build1.dsc" (but I actually don't know 
> what
> this second file brings). Then I downloaded and installed all the required
> softwares indicated in the INSTALL.txt file.

Greetings,

Are you trying to *build* LilyPond or to *install* it?

If all you want is to use LilyPond, we distribute ready-to-use
installers: http://lilypond.org/web/install
All you have to do is download the file (for instance our latest
"stable" version, 2.12.2), then open a terminal and just type the
required command.

If you're trying to *build* LilyPond for some reason, please read
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Compiling-from-source.html

Regards,
Valentin


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


Re: Unable to build Lylipond by the installation

2009-04-18 Thread Francisco Vila
2009/4/18 Alexis :
> Hello,
> as a newbie in Linux I make surely mistakes to install Lylipond. I've 
> downloaded
> the package "lilypond_2.10.33.orig.tar.gz" from the Lylipond Homepage and also
> the other file "lilypond_2.10.33-2.2build1.dsc" (but I actually don't know 
> what
> this second file brings). Then I downloaded and installed all the required
> softwares indicated in the INSTALL.txt file.
> Now when I try "/.configure" it seems to experience problems and then I can't
> "make" it.
> Thank you if you can help me (how shall I send the "config.log" file?)
> Alexis

I you are a newbie in Linux, just download the compiled binary
installer for your operative system and run it. It can be found in
http://lilypond.org/web/install/

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


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


Unable to build Lylipond by the installation

2009-04-18 Thread Alexis
Hello,
as a newbie in Linux I make surely mistakes to install Lylipond. I've downloaded
the package "lilypond_2.10.33.orig.tar.gz" from the Lylipond Homepage and also
the other file "lilypond_2.10.33-2.2build1.dsc" (but I actually don't know what
this second file brings). Then I downloaded and installed all the required
softwares indicated in the INSTALL.txt file.
Now when I try "/.configure" it seems to experience problems and then I can't
"make" it.
Thank you if you can help me (how shall I send the "config.log" file?)
Alexis




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