taggin problem

2010-08-06 Thread 胡海鹏 - Hu Haipeng
Hello,
  In NR, I discovered a problem concerning tagging. If I remove multiple tags, 
it will wolk perfectly; however, the opposite way is not available (at the very 
bottom of the tagging section). I'd like to make parts for my overture, which 
already contains many midi tags. I want to nest tags to differ score and parts. 
But Lilypond will report error if I use \keepWithTag #'score #'part (the 
#'score is used to differ #'midi, and the opposite way of #'part is #'full); 
and when I use \keepWithTag #'score \keepWithTag #'part, the output is messed 
up. How can I do? Must I make another copy of the score and remove all tags 
except those for making parts?
Regards
Haipeng


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


Re: Beam settings in 2.13.29

2010-08-06 Thread Nick Payne
Yes, it works when used before the time signature when I use #'Score but 
not when I use #'Voice.


I also notice that when I turn off the beamExceptions the beaming goes a 
bit haywire. Have a look at bars 5 and 6 after I have used \set 
beamExceptions = #'():


\version "2.13.29"

changeBeamingA = \overrideTimeSignatureSettings
  #'Score
  #'(2 . 4)  % time signature fraction
  #'(1 . 8)  % base moment fraction
  #'(1)% beatStructure
  #'((end . (((1 . 16) . (2 2 2 2))
   ((1 . 24) . (3 3 3 3))
   ((1 . 32) . (4 4 4 4))
   ((1 . 48) . (6 6 6 6) % beamExceptions

changeBeamingB = \set beamExceptions =
  #'((end . (((1 . 16) . (2 2 2 2))
 ((1 . 24) . (3 3 3 3))
 ((1 . 32) . (4 4 4 4))
 ((1 . 48) . (6 6 6 6) % beamExceptions

revertBeaming = \set beamExceptions = #'()

\relative c'' {
\set tupletSpannerDuration = #(ly:make-moment 1 8)
\changeBeamingA
\time 2/4
\repeat unfold 8 c16
\times 2/3 { \repeat unfold 12 c16 }
\repeat unfold 16 c32
\times 4/6 { \repeat unfold 24 c32 }
\revertBeaming
\break \repeat unfold 8 c16 \repeat unfold 16 c32
\changeBeamingB
\repeat unfold 8 c16
\times 2/3 { \repeat unfold 12 c16 }
\repeat unfold 16 c32
\times 4/6 { \repeat unfold 24 c32 }
}

Nick

On 07/08/10 05:36, Trevor Daniels wrote:


Hi Nick

There are a couple of things which prevented your
override from working.  Don't forget this is very new
code in a development release - you're probably the
first person to use it in anger, so you may find any
residual bugs.

First, the override command simply overrides the
*default* which will be used when invoked by any
later \time command, so the \time command must come
*after* \changeBeaming, not before.

Second, this only seems to work in the Score context.
I don't know if this is a bug or an error in the
documentation.  We'll have to wait for Carl to return
from vacation to check this out.

Trevor

- Original Message - From: "Nick Payne" 


To: "Trevor Daniels" 
Cc: "lilypond-user" 
Sent: Thursday, August 05, 2010 1:03 PM
Subject: Re: Beam settings in 2.13.29


Thanks, that works. I assume the command to revert beaming to the 
defaults is \set beamExceptions = #'()


I'd still like to understand why what I did with 
overrideTimeSignatureSettings didn't work. From my reading of s.1.2.3 
of the notation manual it should have.


Nick

On 05/08/10 18:02, Trevor Daniels wrote:

Hi Nick

You got the hard bit right, but from 2.13.29 you can
use the simpler

changeBeaming = \set beamExceptions =
  #'((end . (((1 . 16) . (2 2 2 2))
 ((1 . 24) . (3 3 3 3))
 ((1 . 32) . (4 4 4 4))
 ((1 . 48) . (6 6 6 6) % beamExceptions

to change the beaming exceptions.

Trevor

- Original Message - From: "Nick Payne" 


To: "lilypond-user" 
Sent: Thursday, August 05, 2010 1:22 AM
Subject: Beam settings in 2.13.29



In 2/4 time, in earlier versions I used

changeBeaming = \overrideBeamSettings #'Voice #'(2 . 4) #'end #'((* 
. (2))

((1 . 8) . (2 2))
((1 . 16) . (2 2 2 2))
((1 . 32) . (4 4 4 4))
((1 . 48) . (6 6 6 6)))

to get 16th and 32nd notes and tupletted 16th 32nd notes grouped as 
I wanted, putting \changeBeaming in the voice where it's needed.


2.13.29 convert-ly tells me that I need to change this manually to 
use overrideTimeSignatureSettings or beamExceptions, but I'm 
struggling to find an example that I can use as a base.


I tried changing my override to:

changeBeaming = \overrideTimeSignatureSettings
  #'Voice
  #'(2 . 4)
  #'(1 . 4)
  #'(1 1)
  #'((end . (((1 . 16) . (2 2 2 2))
   ((1 . 24) . (3 3 3 3))
   ((1 . 32) . (4 4 4 4))
   ((1 . 48) . (6 6 6 6)

the score builds without error and I get a PDF, but the beaming is 
still the default - eg 32nd notes are beamed eight at a time.


Here's my short example. How do I get four beams per bar?

\version "2.13.29"

changeBeaming = \overrideTimeSignatureSettings
  #'Voice
  #'(2 . 4)  % time signature fraction
  #'(1 . 4)  % base moment fraction
  #'(1 1)% beatStructure
  #'((end . (((1 . 16) . (2 2 2 2))
   ((1 . 24) . (3 3 3 3))
   ((1 . 32) . (4 4 4 4))
   ((1 . 48) . (6 6 6 6) % beamExceptions

\relative c'' {
\time 2/4
\changeBeaming
\repeat unfold 8 c16
\times 8/12 { \repeat unfold 12 c16 }
\repeat unfold 16 c32
\times 16/24 { \repeat unfold 24 c32 }
}

Nick

___
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: Lilypond performance

2010-08-06 Thread Graham Percival
On Fri, Aug 06, 2010 at 10:54:01PM +0200, Xavier Scheuer wrote:
> On 6 August 2010 22:31, Graham Percival  wrote:
> >
> > There's a section in the Learning manual called "speeding up
> > lilypond", or something like that.  This sounds like a good place
> > to look.
> 
> Are you speaking of LM 4.6.5 Avoiding tweaks with slower processing ?

Oops, probably.  Ok, I misremembered it.

Cheers,
- Graham

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


Re: Lilypond performance

2010-08-06 Thread Xavier Scheuer
On 6 August 2010 22:31, Graham Percival  wrote:
>
> There's a section in the Learning manual called "speeding up
> lilypond", or something like that.  This sounds like a good place
> to look.

Hi Graham,

Are you speaking of LM 4.6.5 Avoiding tweaks with slower processing ?

It is not really speaking about "speeding up", but rather
"make things better at cost of extra time (slowering)".
Because by default LilyPond does not perform these "extra checks".

That said, if you were speaking about another part of the manual which
can effectively "speed up" lilypond, I would be interested.

Cheers,
Xavier

--
Xavier Scheuer 

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


Re: Scheme and Guile as it relates to Lilypond

2010-08-06 Thread Hans Aberg

On 6 Aug 2010, at 22:11, jim.showal...@verizon.net wrote:


Does it matter which Scheme interpreter and/or documentation I choose.


Guile adds its own stuff besides Scheme; see its manual:
http://www.gnu.org/software/guile/manual/

More info on
http://www.gnu.org/software/guile/guile.html

Any recommendations outside of Guile? (I am having trouble getting  
it to work on Windows).


It has a link to ; haven't checked it. There is  
an old classic, which now seems available on the net:

  http://mitpress.mit.edu/sicp/
  
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.98.7506&rep=rep1&type=pdf


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


Re: Lilypond performance

2010-08-06 Thread Graham Percival
On Thu, Aug 05, 2010 at 05:26:15AM -0700, ornello wrote:
> In my installation, Lilypond runtime seems to increase exponentially (at
> least not linearly) with the number of pages to engrave. Is there any option
> to speed up Lilypond, e.g. by removing time-consuming engravers, such that
> the performance only increases (almost) linearly with the number of pages?
 
There's a section in the Learning manual called "speeding up
lilypond", or something like that.  This sounds like a good place
to look.

(I don't know how up-to-date the page is, however)

Cheers,
- Graham

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


Re: no line for textspanner

2010-08-06 Thread Graham Percival
On Fri, Aug 06, 2010 at 06:01:15PM +0100, James wrote:
> (seems an awful lot of work to just change a few lines in a snippet  
> though :( ).

The idea is if we add a convert-ly rule, then any user files which
include the old syntax can be automatically updated.  The focus
here is on the end-user, not the docs.

Cheers,
- Grhaam

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


Scheme and Guile as it relates to Lilypond

2010-08-06 Thread jim . showalter





In my endeavors to learn Scheme I have noticed a number of function calls in Lilypond which are not covered in non-Guile documentation.  One example is define-public but there are others (the later appears to be a convenience notation for a "regular" Scheme construct).  I am assuming that these are created from other Scheme scripts.  I know in Perl that one can have non-existent functions auto-loaded during run time and then parsed and inserted into the symbol table for later use.  Is that what Guile is doing? Bottom line:  Does it matter which Scheme interpreter and/or documentation I choose.  Any recommendations outside of Guile? (I am having trouble getting it to work on Windows).Thanks,Jim

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


Re: Beam settings in 2.13.29

2010-08-06 Thread Trevor Daniels


Hi Nick

There are a couple of things which prevented your
override from working.  Don't forget this is very new
code in a development release - you're probably the
first person to use it in anger, so you may find any
residual bugs.

First, the override command simply overrides the
*default* which will be used when invoked by any
later \time command, so the \time command must come
*after* \changeBeaming, not before.

Second, this only seems to work in the Score context.
I don't know if this is a bug or an error in the
documentation.  We'll have to wait for Carl to return
from vacation to check this out.

Trevor

- Original Message - 
From: "Nick Payne" 

To: "Trevor Daniels" 
Cc: "lilypond-user" 
Sent: Thursday, August 05, 2010 1:03 PM
Subject: Re: Beam settings in 2.13.29


Thanks, that works. I assume the command to revert beaming to the 
defaults is \set beamExceptions = #'()


I'd still like to understand why what I did with 
overrideTimeSignatureSettings didn't work. From my reading of 
s.1.2.3 of the notation manual it should have.


Nick

On 05/08/10 18:02, Trevor Daniels wrote:

Hi Nick

You got the hard bit right, but from 2.13.29 you can
use the simpler

changeBeaming = \set beamExceptions =
  #'((end . (((1 . 16) . (2 2 2 2))
 ((1 . 24) . (3 3 3 3))
 ((1 . 32) . (4 4 4 4))
 ((1 . 48) . (6 6 6 6) % beamExceptions

to change the beaming exceptions.

Trevor

- Original Message - From: "Nick Payne" 


To: "lilypond-user" 
Sent: Thursday, August 05, 2010 1:22 AM
Subject: Beam settings in 2.13.29



In 2/4 time, in earlier versions I used

changeBeaming = \overrideBeamSettings #'Voice #'(2 . 4) #'end 
#'((* . (2))

((1 . 8) . (2 2))
((1 . 16) . (2 2 2 2))
((1 . 32) . (4 4 4 4))
((1 . 48) . (6 6 6 6)))

to get 16th and 32nd notes and tupletted 16th 32nd notes grouped 
as I wanted, putting \changeBeaming in the voice where it's 
needed.


2.13.29 convert-ly tells me that I need to change this manually 
to use overrideTimeSignatureSettings or beamExceptions, but I'm 
struggling to find an example that I can use as a base.


I tried changing my override to:

changeBeaming = \overrideTimeSignatureSettings
  #'Voice
  #'(2 . 4)
  #'(1 . 4)
  #'(1 1)
  #'((end . (((1 . 16) . (2 2 2 2))
   ((1 . 24) . (3 3 3 3))
   ((1 . 32) . (4 4 4 4))
   ((1 . 48) . (6 6 6 6)

the score builds without error and I get a PDF, but the beaming 
is still the default - eg 32nd notes are beamed eight at a time.


Here's my short example. How do I get four beams per bar?

\version "2.13.29"

changeBeaming = \overrideTimeSignatureSettings
  #'Voice
  #'(2 . 4)  % time signature fraction
  #'(1 . 4)  % base moment fraction
  #'(1 1)% beatStructure
  #'((end . (((1 . 16) . (2 2 2 2))
   ((1 . 24) . (3 3 3 3))
   ((1 . 32) . (4 4 4 4))
   ((1 . 48) . (6 6 6 6) % beamExceptions

\relative c'' {
\time 2/4
\changeBeaming
\repeat unfold 8 c16
\times 8/12 { \repeat unfold 12 c16 }
\repeat unfold 16 c32
\times 16/24 { \repeat unfold 24 c32 }
}

Nick

___
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: Function to add a "-" before finger number

2010-08-06 Thread David Raleigh Arnold
On Wednesday 04 August 2010 15:09:59 Neil Puttock wrote:
> On 3 August 2010 21:49, Marc Mouries  wrote:
> > Thanks Neil. I just tried it and as you can see the number is too
> > far on the right. I inserted a call to "make-general-align-markup
> > X LEFT" but it did not help. Is there a way to move the "-" and
> > the number further on the left so that the number is on the same
> > axis of the note?
> 
> Sure, try the attached file.  It calculates the extra space taken up
> by the dash and moves the total stencil to the left to compensate.
> 
> Cheers,
> Neil

Thanks a million! Regards, daveA

-- 
For beginners: very easy guitar music, solos, duets, exercises. Early
intermediate guitar solos. One best scale set for all guitarists.
http://www.openguitar.com/scalescomparison.html ::: plus new and
better chord and arpeggio exercises.  http://www.openguitar.com 

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


Re: no line for textspanner

2010-08-06 Thread James

On 06/08/2010 17:41, Neil Puttock wrote:


A convert rule is what convert-ly uses to update old .ly files.  All
the rules are contained in python/convertrules.py.

A full LSR update (running makelsr.py on the docs tarball from LSR)
calls convert-ly on all the snippets.


I have no problems adding this to D/S/N and then running makelsr as I would
for any 'new' snippet if that is ok?


We only move an LSR docs snippet to snippets/new if it can't be
updated using convert-ly (this usually means anything more complicated
than a simple search-and-replace).


OK then this is way beyond my ken. I won't touch it.

(seems an awful lot of work to just change a few lines in a snippet 
though :( ).


James

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


Re: Lilypond performance

2010-08-06 Thread Joe Neeman
On Thu, 2010-08-05 at 05:26 -0700, ornello wrote:
> In my installation, Lilypond runtime seems to increase exponentially (at
> least not linearly) with the number of pages to engrave. Is there any option
> to speed up Lilypond, e.g. by removing time-consuming engravers, such that
> the performance only increases (almost) linearly with the number of pages?

If you can divide up your piece into multiple \bookparts, that should
speed up the page breaking.

Cheers,
Joe



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


Re: no line for textspanner

2010-08-06 Thread Neil Puttock
On 6 August 2010 17:31, James  wrote:

> I don't know what adding 'convert rule' means. :/

A convert rule is what convert-ly uses to update old .ly files.  All
the rules are contained in python/convertrules.py.

A full LSR update (running makelsr.py on the docs tarball from LSR)
calls convert-ly on all the snippets.

> I have no problems adding this to D/S/N and then running makelsr as I would
> for any 'new' snippet if that is ok?

We only move an LSR docs snippet to snippets/new if it can't be
updated using convert-ly (this usually means anything more complicated
than a simple search-and-replace).

Cheers,
Neil

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


Re: no line for textspanner

2010-08-06 Thread James

On 06/08/2010 17:28, Neil Puttock wrote:

On 6 August 2010 17:06, James  wrote:


I'll do this as I am working on this section anyway.


OK, but only if you're going to add a convert rule (rather than
editing the snippet), otherwise we'll have to add the snippet to
snippets/new.


Ah!

I don't know what adding 'convert rule' means. :/

I have no problems adding this to D/S/N and then running makelsr as I 
would for any 'new' snippet if that is ok?


James


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


Re: Lilypond performance

2010-08-06 Thread Xavier Scheuer
On 5 August 2010 14:26, ornello  wrote:
>
> In my installation, Lilypond runtime seems to increase exponentially
> (at least not linearly) with the number of pages to engrave.
> Is there any option to speed up Lilypond, e.g. by removing time-
> consuming engravers, such that the performance only increases (almost)
> linearly with the number of pages?
>
> I know about the skipTypesetting and showLastLength options, but I
> want to engrave the entire piece, no matter if the typesetting quality
> was slightly impaired.

Hi!

Have you tried  ly:minimal-breaking ?

  \paper {
#(define page-breaking ly:minimal-breaking)
  }

http://lilypond.org/doc/v2.13/Documentation/notation/minimal-page-breaking

Cheers,
Xavier

--
Xavier Scheuer 

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


Re: no line for textspanner

2010-08-06 Thread James

Hello,

On 31/07/2010 18:44, Xavier Scheuer wrote:
> 2010/7/31 Neil Puttock:
>
>> Or
>>
>> \override TextSpanner #'style = #'none
>>
>> from 2.13.24.
>
> Great!
>
> I remembered we had a discussion about this possibility with
> DynamicTextSpanner but I did not know it was finally implemented.
> Thank you Neil!
>
> Maybe you could also modify the doc NR 1.3.1 Dynamics, the snippet
> "Hiding the extender line for text dynamics", to replace
>
>\override DynamicTextSpanner #'dash-period = #-1.0
>
> by
>
>\override DynamicTextSpanner #'style = #'none
>


I'll do this as I am working on this section anyway.

James

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


Re: no line for textspanner

2010-08-06 Thread Neil Puttock
On 6 August 2010 17:06, James  wrote:

> I'll do this as I am working on this section anyway.

OK, but only if you're going to add a convert rule (rather than
editing the snippet), otherwise we'll have to add the snippet to
snippets/new.

Cheers,
Neil

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


Lilypond performance

2010-08-06 Thread ornello

In my installation, Lilypond runtime seems to increase exponentially (at
least not linearly) with the number of pages to engrave. Is there any option
to speed up Lilypond, e.g. by removing time-consuming engravers, such that
the performance only increases (almost) linearly with the number of pages?

I know about the skipTypesetting and showLastLength options, but I want to
engrave the entire piece, no matter if the typesetting quality was slightly
impaired.

I have attached some of the data I collected to measure Lilypond
performance:

#pages  1   2   3   4   5   6   7   8   
9   10  20
runtime (s) 3,4 7   12,519,627,437,948,5
62  77  100 445

Thanks for any hints...
-- 
View this message in context: 
http://old.nabble.com/Lilypond-performance-tp29356340p29356340.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


Note on the bar

2010-08-06 Thread Stephan Elliot Perez
Greetings,
  I wish to use bars as an indication of seconds and would therefore
prefer it, if the first note of the measure were to touch the bar (and the
stem, if the stem is pointing downward).  Does anyone know how this is
possible?

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


Re: Lilypond to typeset solfa style Indian music

2010-08-06 Thread Amico De Bellezza
I was also looking for similar editors for indian music notation for quite
some and just couple of days back came across this
http://gpalem.web.officelive.com/CarMusTy.html

Looks promising, but seems the work in still going on. May be you can take a
look at it and see if it comes close. Here is what it says on that site:

CarMusTy is an all in one environment for typesetting Carnatic music Books.
It is a one stop solution to edit Carnatic music notation files, generate
MIDI files and typeset portable document format books. The advantages of
using CarMusTy for typesetting the Carnatic music, as opposed to using any
other editing application (such as Word or other music typesetting systems)
are:

   - CarMusTy allows *Phonetic
Transliteration*of notation and
lyrics. That is, you can enter Carnatic music notation and
   lyrics once in phonetic english and let CarMuty transliterate the content
   into multiple languages, such as Telugu, Kannada, Tamil, Hindi etc on the
   fly.
   - CarMusTy is compatible with
*CFugue*Carnatic music
programming library, which means that the notation you enter
   in CarMusTy is actually capable of producing music!! Yes, CarMusTy can
   generate MIDI files from your song notation automatically.
   - Numerous settings are provided in the application to customize the
   appearance of song notation and lyrics. CarMusTy generates PDF Books
   customized to your preferences and the inbuilt PDF preview window helps you
   see the output on the fly.
   - Songs in CarMusTy environment support various attributes, such as Raga,
   Tala, Author, Composer etc., which will be automatically indexed by CarMusTy
   and inserted in the generated PDF book.
   - CarMusTy supports Templates to ease the work of creating new books
   based on existing documents, and it ships with numerous Default templates
   that help new beginners jump start with working on it with ease.

 Note that CarMusTy is a typesetting environment, and not a word processing
application. While word processors, such as Microsoft Word, OpenOffice Word
etc., help you create and edit documents, typesetting applications, such as
CarMusTy, help you publish Books. The difference is the typography finesse.
For a book to have the professional level of acceptance, its typography must
meet the accepted publishing standards. CarMusTy fully supports the Metric,
US and British publishing standards and is built on top of the powerful TEX
layout system.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user