Re: LilyPond log messages

2006-11-15 Thread Iain Archibald

Iain Archibald wrote:

Hi,

I get an error message in the log file which says:

programming error: Tie without heads.  Suicide
continuing, cross fingers

Well it seems to compile OK.  But I went throught he file and checked 
each tie (the tilde ~) to see that it went somewhere and they do now. 
Still get the same message.


Can anyone enlighten me??

Iain
I think I have enlightened myself.  I found some more ties with no 
spaces following.  They are all sorted and the message no longer appears!





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


Re: Pitch/ octave notation

2006-11-15 Thread Peter O'Doherty
Yes, I'm familiar with relative music input. However, in my case it  
won't work as I'm typesettling music which leaps around an awful lot.


I'm suggesting something more along the lines of  \include  
"english.ly", whereby you can enter fsharp instead of fis. So instead  
of c', you can enter c4, c5 instead of c''.


By the sound of it, something like this isn't possible. Is this a  
potential area for future development?



On 15-nov-2006, at 0:16, Geoff Horton wrote:


Is it possible to indicate pitches in the format c4 instead of c'?
And if not, does anybody know of any plans to create this  
possibility?


I'm wondering if this might not be something that relative music input
could help with. Are you familiar with it?

Geoff




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


Re: Lilypond 2.10.0 and Denemo

2006-11-15 Thread Tapio Tuovila
Mats Bengtsson kirjoitti:
> Probably, you will have to update the syntax of the file from Denemo
> using convert-ly, but I wouldn't expect any other problems.
>
>   /Mats
>
But yes, there seems to be a minor problem with convert-ly in 2.10.0

I would suggest that there are two possible mistakes in convertrules.py
of 2.10.0 (linux-x86 GUB, on Suse10.1)
so that convert-ly gets stuck at 2.7.14 conversion if the original .ly
file is some earlier version. (Currently Denemo exports .ly file
\version "2.6.0")

It seems to me that convertrules.py line 2636 and line 2638 there is
missing ", str" before the last ")"
I added those and then convert-ly seemed to work OK also with version
2.6.0 files as exported by Denemo.  Is this correct solution?

Greetings, Tapio


Snippet follows

<< convertrules.py, line 2617 -> >>
conversions.append (((2, 7, 13), conv,
 '''layout engine refactoring. [FIXME] '''))



def conv (str):
str = re.sub (r"\\override +([A-Z.a-z]+) #'callbacks",
  r"\\override \1", str)
str = re.sub (r"\\revert ([A-Z.a-z]+) #'callbacks % ([a-zA-Z]+)",
  r"\\revert \1 #'\2", str)
str = re.sub (r"([XY]-extent)-callback", r'\1', str)
str = re.sub (r"RemoveEmptyVerticalGroup", "VerticalAxisGroup", str)
str = re.sub (r"\\set ([a-zA-Z]*\.?)minimumVerticalExtent",
  r"\\override \1VerticalAxisGroup #'minimum-Y-extent",
  str)
str = re.sub (r"minimumVerticalExtent",
  r"\\override VerticalAxisGroup #'minimum-Y-extent",
  str)
str = re.sub (r"\\set ([a-zA-Z]*\.?)extraVerticalExtent",
  r"\\override \1VerticalAxisGroup #'extra-Y-extent", str) <==
here I added the ", str"; this is line 2636 ***
str = re.sub (r"\\set ([a-zA-Z]*\.?)verticalExtent",
  r"\\override \1VerticalAxisGroup #'Y-extent", str) <== here I
also added the ", str"; this is line 2638 ***
return str




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


Re: Pitch/ octave notation

2006-11-15 Thread Geoff Horton

I'm suggesting something more along the lines of  \include
"english.ly", whereby you can enter fsharp instead of fis. So instead
of c', you can enter c4, c5 instead of c''.


How would you differentiate c4 meaing "c in the 4th octave" from c4
meaning "a quarter note c"? That's why I don't see any way to add this
functionality.

Geoff


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


midi timings out of sync

2006-11-15 Thread sr
Is it a known issue that the timings of the midi files created by lilypond
aren't sync'd properly?

Or am I doing something wrong?

I have an ensemble piece (5 instruments).

I've written the piece by creating a separate file for each instrument and
then a "score" file that uses the \include command to combine all of those
individual files into a score.

I have a \tempo marking in each of the individual files, and a
tempoWholesPerMinute in the \midi block of the score file. These are all
marked to quarter = 60.

There are numerous points in the score where the instruments are exactly
synchronized. This is reflected very clearly in the pdf file that is
created, but the entrances in the midi file are way out of sync, as much
as a triplet 8th off. I have confirmed this by looking at the events list
of the midi file in Digital Performer.

Any clues?

Thanks,
Sean Reed
Dublin



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


Re: old way of vertically centering refrain no longer works

2006-11-15 Thread Eduardo Vieira
Hello, I'm using lilypond version 2.9.26 and am typesetting a vocal piece in
which there are 4 stanzas and a refrain. As the refrain starts about the middle
of the system, I decided to center vertically the refrain in relation to the
lyrics but couldn't get it to work. So, I search the users list, and I got this
post:
Re: old way of vertically centering refrain no longer works
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00305.html

So, how can this be fixed? It looks like changing VerticalAxisGroup
#'minimum-Y-extent no longer does the trick. What's the new approach for that?

Eduardo Vieira

___
Com o Click21 você tem sempre vantagens! Além do email com 1 Gb, Acelerador, 
Blog,
Flog, Games e atendimento 24 horas, voce também pode falar minutos DDD com a
promoção Click 21 Minutos. Quanto mais você navega mais fala DDD.



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


silly newbie question

2006-11-15 Thread Ole Schmidt
Hi, 

I just tried out printing a sheet with lilypond. 
Is there a command to prevent that
"Music engraving by LilyPond 2.10.0-www.lilypond.org" 
is printed on every page?

Thank you

best  ole



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


Re: Pitch/ octave notation

2006-11-15 Thread Erik Sandberg
On Tuesday 14 November 2006 16:50, Peter O'Doherty wrote:
> Hello,
>
> Is it possible to indicate pitches in the format c4 instead of c'?
> And if not, does anybody know of any plans to create this possibility?

If you really need this, I'd recommend you to use sed or similar tool as a 
preprocessing step for your score. It should be fairly easy to lexically 
replace c4 with c', c5 with c'', etc. It will probably be confusing though, 
because you'll have to write c48 to indicate an eight note of pitch c', etc, 
and you won't be able to benefit from the \relative mode.

-- 
Erik



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


Re: Pitch/ octave notation

2006-11-15 Thread Mads Sejersen

2006/11/14, Erik Sandberg <[EMAIL PROTECTED]>:

On Tuesday 14 November 2006 16:50, Peter O'Doherty wrote:
If you really need this, I'd recommend you to use sed or similar tool as a
preprocessing step for your score. It should be fairly easy to lexically
replace c4 with c', c5 with c'', etc. It will probably be confusing though,
because you'll have to write c48 to indicate an eight note of pitch c', etc,


Then he could use 4c8 instead, or does lilypond have any special
meaning for prepended digits?

--
Mads Sejersen


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


Re: silly newbie question

2006-11-15 Thread Martial

 Hi,


1) no only on the last page

2) you can change in the header bloc
\header {
 tagline = "My beautiful score engraving by Lilypond"
}

3) Headers may be completely removed by setting them to false.
\header {
tagline = ##f %not recommended by respect
composer = ##f
}

> Is there a command to prevent that
> "Music engraving by LilyPond 2.10.0-www.lilypond.org"
> is printed on every page?



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


Re: midi timings out of sync

2006-11-15 Thread Han-Wen Nienhuys

[EMAIL PROTECTED] escreveu:

Is it a known issue that the timings of the midi files created by lilypond
aren't sync'd properly?


this might happen in the presence of grace notes. Unfortunately the MIDI 
output isn't too dependable.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


combined tenuto + accent

2006-11-15 Thread yota moteuchi
Hi,I am looking for a way to print an articulation made of the combination of an accent (>) and a tenuto (_)of course if I put  I get an ugly result where the accent is much wider than the tenuto.
If it's not yet the case these articulations http://www.dolmetsch.com/musictheory21.htm should be added as entities. As the already existing tenuto + staccato.
Else, the documentation should mention it.Any clue ?Yota
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pitch/ octave notation

2006-11-15 Thread Erik Sandberg
On Wednesday 15 November 2006 13:25, Mads Sejersen wrote:
> 2006/11/14, Erik Sandberg <[EMAIL PROTECTED]>:
> > On Tuesday 14 November 2006 16:50, Peter O'Doherty wrote:
> > If you really need this, I'd recommend you to use sed or similar tool as
> > a preprocessing step for your score. It should be fairly easy to
> > lexically replace c4 with c', c5 with c'', etc. It will probably be
> > confusing though, because you'll have to write c48 to indicate an eight
> > note of pitch c', etc,
>
> Then he could use 4c8 instead, or does lilypond have any special
> meaning for prepended digits?

hm, then maybe 8c4 is an even better choice ("8th of pitch c4"). I guessed 
that the request for c4 syntax for pitches is related to some musicological 
convention where c4 is the actual pitch name.

-- 
Erik


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


Re: Lilypond 2.10.0 and Denemo

2006-11-15 Thread Mats Bengtsson

Please send bug reports (and even better, bug fixes like below) to
[EMAIL PROTECTED] I forward this email there!

  /Mats

Tapio Tuovila wrote:

Mats Bengtsson kirjoitti:
  

Probably, you will have to update the syntax of the file from Denemo
using convert-ly, but I wouldn't expect any other problems.

  /Mats



But yes, there seems to be a minor problem with convert-ly in 2.10.0

I would suggest that there are two possible mistakes in convertrules.py
of 2.10.0 (linux-x86 GUB, on Suse10.1)
so that convert-ly gets stuck at 2.7.14 conversion if the original .ly
file is some earlier version. (Currently Denemo exports .ly file
\version "2.6.0")

It seems to me that convertrules.py line 2636 and line 2638 there is
missing ", str" before the last ")"
I added those and then convert-ly seemed to work OK also with version
2.6.0 files as exported by Denemo.  Is this correct solution?

Greetings, Tapio


Snippet follows

<< convertrules.py, line 2617 -> >>
conversions.append (((2, 7, 13), conv,
 '''layout engine refactoring. [FIXME] '''))



def conv (str):
str = re.sub (r"\\override +([A-Z.a-z]+) #'callbacks",
  r"\\override \1", str)
str = re.sub (r"\\revert ([A-Z.a-z]+) #'callbacks % ([a-zA-Z]+)",
  r"\\revert \1 #'\2", str)
str = re.sub (r"([XY]-extent)-callback", r'\1', str)
str = re.sub (r"RemoveEmptyVerticalGroup", "VerticalAxisGroup", str)
str = re.sub (r"\\set ([a-zA-Z]*\.?)minimumVerticalExtent",
  r"\\override \1VerticalAxisGroup #'minimum-Y-extent",
  str)
str = re.sub (r"minimumVerticalExtent",
  r"\\override VerticalAxisGroup #'minimum-Y-extent",
  str)
str = re.sub (r"\\set ([a-zA-Z]*\.?)extraVerticalExtent",
  r"\\override \1VerticalAxisGroup #'extra-Y-extent", str) <==
here I added the ", str"; this is line 2636 ***
str = re.sub (r"\\set ([a-zA-Z]*\.?)verticalExtent",
  r"\\override \1VerticalAxisGroup #'Y-extent", str) <== here I
also added the ", str"; this is line 2638 ***
return str




___
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
=



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


Stupid resolution questions

2006-11-15 Thread Rick Hansen (aka RickH)

I am under the impression that the "dresolution" option flag setting only
applies to PNG generation.  Is this true?  And that the PDF that lily
generates really has no "resolution" of it's own to worry about?  IOW can I
assume that the PDF file is already at "pre-press quality" if it is being
printed on a machine that has been told to print it at a high quality level?

The reason I am asking is that I am about to send a hundred pages to a print
shop to get some draft copies of my work printed and bound.  I want to make
sure that my printing contractor has all it needs to get the best possible
resolution from the PDF files I provide.  I will also be instructing them to
use a nice 32lb "coated" semi-gloss brochure paper that is very smooth, to
produce even extra sharpness.

When printing a PDF is it just up to the machine and operator to determine
the output resolution?

IOW do I need to do one last compile of my lily work to produce a
"pre-press" PDF using some option flag I am not aware of ?  Otherwise I will
tell the shop to select their highest resolution, is this enough?  Am I
forgetting anything?


Thanks to anyone who has been down this road before.


-- 
View this message in context: 
http://www.nabble.com/Stupid-resolution-questions-tf2637717.html#a7362428
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: lilypond-user Digest, Vol 48, Issue 30

2006-11-15 Thread Tim Reeves

>Hi,

>I am looking for a way to print an articulation made of the combination
of
>an accent (>) and a tenuto (_)
>of course if I put  I get an ugly result where
the accent
>is much wider than the tenuto.

Could you use a greater-than-or-equal-to
sign inserted as text? Seems like it might work.


Tim Reeves

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


Re: Stupid resolution questions

2006-11-15 Thread Mats Bengtsson

All fonts should be Type1 fonts, i.e. they are described by
vector graphics, not bitmaps. The same goes for slurs,
beams and other objects that are output directly as
graphics. So, there should be no need to worry about
resolution as far as I know.

  /Mats

Rick Hansen (aka RickH) wrote:


I am under the impression that the "dresolution" option flag setting only
applies to PNG generation.  Is this true?  And that the PDF that lily
generates really has no "resolution" of it's own to worry about?  IOW can I
assume that the PDF file is already at "pre-press quality" if it is being
printed on a machine that has been told to print it at a high quality level?

The reason I am asking is that I am about to send a hundred pages to a print
shop to get some draft copies of my work printed and bound.  I want to make
sure that my printing contractor has all it needs to get the best possible
resolution from the PDF files I provide.  I will also be instructing them to
use a nice 32lb "coated" semi-gloss brochure paper that is very smooth, to
produce even extra sharpness.

When printing a PDF is it just up to the machine and operator to determine
the output resolution?

IOW do I need to do one last compile of my lily work to produce a
"pre-press" PDF using some option flag I am not aware of ?  Otherwise I will
tell the shop to select their highest resolution, is this enough?  Am I
forgetting anything?


Thanks to anyone who has been down this road before.


 




--
=
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
=



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


How to switch from single staff to double?

2006-11-15 Thread Bob Kline
I'd like to set a song starting with the version in unison, which should
print a single staff for a couple of lines (systems), then on the third
line switch to the SATB chorus on two staves.  How do I do that, please?
 I've tried \RemoveStaffEmptyContext, but that doesn't get rid of the
extra staff on the first line.

Thanks!

Bob Kline



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


Re: How to switch from single staff to double?

2006-11-15 Thread Mats Bengtsson

Bob Kline wrote:


I'd like to set a song starting with the version in unison, which should
print a single staff for a couple of lines (systems), then on the third
line switch to the SATB chorus on two staves.  How do I do that, please?
I've tried \RemoveStaffEmptyContext, but that doesn't get rid of the
extra staff on the first line.
 


The solution is described in Section "Hiding Staves" of the
manual.

  /Mats


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


Re: old way of vertically centering refrain no longer works

2006-11-15 Thread Mats Bengtsson

One workaround is described in
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00015.html

  /Mats

Eduardo Vieira wrote:


Hello, I'm using lilypond version 2.9.26 and am typesetting a vocal piece in
which there are 4 stanzas and a refrain. As the refrain starts about the middle
of the system, I decided to center vertically the refrain in relation to the
lyrics but couldn't get it to work. So, I search the users list, and I got this
post:
Re: old way of vertically centering refrain no longer works
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00305.html

So, how can this be fixed? It looks like changing VerticalAxisGroup
#'minimum-Y-extent no longer does the trick. What's the new approach for that?

Eduardo Vieira

___
Com o Click21 você tem sempre vantagens! Além do email com 1 Gb, Acelerador, 
Blog,
Flog, Games e atendimento 24 horas, voce também pode falar minutos DDD com a
promoção Click 21 Minutos. Quanto mais você navega mais fala DDD.



___
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
=



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


Re: Stupid resolution questions

2006-11-15 Thread Rick Hansen (aka RickH)


Mats Bengtsson-4 wrote:
> 
> All fonts should be Type1 fonts, i.e. they are described by
> vector graphics, not bitmaps. The same goes for slurs,
> beams and other objects that are output directly as
> graphics. So, there should be no need to worry about
> resolution as far as I know.
> 
>/Mats
> 
> 
> 


Thanks Mats,

This is what I was hoping for.  So a lily PDF is really a mathematical
representation of the output, that can be applied over any size/res "pixel
grid" so to speak, as provided by the printing machinery itself.  So it's
off to the printer!


-- 
View this message in context: 
http://www.nabble.com/Stupid-resolution-questions-tf2637717.html#a7364690
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


AW: silly newbie question

2006-11-15 Thread Helge Kruse
4) see Lilypond-Index: tagLine, 
Keep the copyright as mentioned in the footnote.

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im
> Auftrag von Martial
> Gesendet: Mittwoch, 15. November 2006 13:35
> An: lilypond-user@gnu.org
> Betreff: Re: silly newbie question
> 
>   Hi,
> 
> 
> 1) no only on the last page
> 
> 2) you can change in the header bloc
> \header {
>   tagline = "My beautiful score engraving by Lilypond"
> }
> 
> 3) Headers may be completely removed by setting them to false.
> \header {
> tagline = ##f %not recommended by respect
> composer = ##f
> }
> 
>  > Is there a command to prevent that
>  > "Music engraving by LilyPond 2.10.0-www.lilypond.org"
>  > is printed on every page?
> 
> 
> 
> ___
> 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: Pitch/ octave notation

2006-11-15 Thread Rick Hansen (aka RickH)



Erik Sandberg-2 wrote:
> 
> On Tuesday 14 November 2006 16:50, Peter O'Doherty wrote:
>> Hello,
>>
>> Is it possible to indicate pitches in the format c4 instead of c'?
>> And if not, does anybody know of any plans to create this possibility?
> 
> If you really need this, I'd recommend you to use sed or similar tool as a 
> preprocessing step for your score. It should be fairly easy to lexically 
> replace c4 with c', c5 with c'', etc. It will probably be confusing
> though, 
> because you'll have to write c48 to indicate an eight note of pitch c',
> etc, 
> and you won't be able to benefit from the \relative mode.
> 
> -- 
> Erik
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 


Erik,

What is sed?  Is there a homepage and user manual for it?  I am currently
evaluating choices for a pre-processor, I'm looking at both M4 and ML/I. 
Should I also be looking at sed as a possibliity?  I want to begin
compartmentalizing my rather long lilypond templates to something beyond
numerous \include files to make it easier to manage.

I wish there were a lilypond dedicated text editor with plug-ins capability
for managing large lp projects, but in the absence of that dream I want to
bite the bullet and learn a pre-processor of some kind.

thanks
Rick



-- 
View this message in context: 
http://www.nabble.com/Pitch--octave-notation-tf2630285.html#a7365093
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


Selling music engraved by Lilypond

2006-11-15 Thread Frédéric Chiasson
Hi,I just saw a message about the tagline "Engraved by Lilypond" and I was wondering if it is legal to sell our own partitions of our own compositions engraved with Lilypond? Is there any limitation you put against a «commercial» use (for now, it is really «on the side» but still...)?
Frédéric Chiasson
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


cross staff melody

2006-11-15 Thread Helge Kruse
Hello,

I have a voice in the lower staff, that is so high, that it should be noted
in the upper staff, but logically it belongs to "lower". I tried to edit
this with staff change, but the "upper" staff is already full and the six
16th notes are moved to the next measure. 

How can I get these six 16th (gfgfgf) to the first measure? I would prefer
to keep the 2. in the upper staff, but probably this is not possible?

Regards,
Helge

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

upper = \relative c'' 
 {
\clef treble
\key b \major
\time 6/8

2. |
}

lower = \relative c
{
\clef bass
\key b \major
\time 6/8

<< { r8 f16 ( g ) f8 } \\ c2. >>

\change Staff = "upper"
g'''16 ( f ) g, f 
\change Staff = "lower" 
g, f |
}

\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


Re: Selling music engraved by Lilypond

2006-11-15 Thread Jan Nieuwenhuizen
"Frédéric Chiasson" <[EMAIL PROTECTED]> writes:

> I just saw a message about the tagline "Engraved by Lilypond" and I was
> wondering if it is legal to sell our own partitions of our own compositions
> engraved with Lilypond? Is there any limitation you put against a «commercial»
> use (for now, it is really «on the side» but still...)?

No.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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


Re: Pitch/ octave notation

2006-11-15 Thread Nicolas Sceaux
"Rick Hansen (aka RickH)" <[EMAIL PROTECTED]> writes:

> I want to begin compartmentalizing my rather long lilypond templates
> to something beyond numerous \include files to make it easier to
> manage.
>
> I wish there were a lilypond dedicated text editor with plug-ins capability
> for managing large lp projects, but in the absence of that dream I want to
> bite the bullet and learn a pre-processor of some kind.

I don't understand the need of a preprocessor wrt managing large
LilyPond projects. May you elaborate on your needs, maybe there are some
solutions that you have not thought about and that would be better
adapted. Working on large LilyPond projects myself for some years, I
gradually got rid off other programs or scripts. LilyPond itself, a
LilyPond-aware text editor and a version control system are enough.

Also, why using c4 instead of c'? You will be the only person which can
read your code. If you find annoying to type c''', use an editor with
quick note insertion mode and audio feedback. Then typing the notes
won't be a problem anymore.

nicolas


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


Re: Selling music engraved by Lilypond

2006-11-15 Thread Rick Hansen (aka RickH)


Frédéric Chiasson wrote:
> 
> Hi,
> 
> I just saw a message about the tagline "Engraved by Lilypond" and I was
> wondering if it is legal to sell our own partitions of our own
> compositions
> engraved with Lilypond? Is there any limitation you put against a
> «commercial» use (for now, it is really «on the side» but still...)?
> 
> Frédéric Chiasson
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

I dont know if I will be selling all that many copies of my jazz
arrangements book by the time it's finished, and by the time I've finally
gotten back copyright permissions to print all these arrangements...  But
when I do, I will be proud to to put a credit in the appendix to the effect
"All music in this book was engraved by Lilypond".  I think authors taking
advantage of such a great free resource should do that much and spread the
word.



-- 
View this message in context: 
http://www.nabble.com/Selling-music-engraved-by-Lilypond-tf2638604.html#a7366012
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: Selling music engraved by Lilypond

2006-11-15 Thread Joseph Wakeling
Frédéric Chiasson wrote:
> I just saw a message about the tagline "Engraved by Lilypond" and I was
> wondering if it is legal to sell our own partitions of our own
> compositions engraved with Lilypond? Is there any limitation you put
> against a «commercial» use (for now, it is really «on the side» but
> still...)?

Lilypond is distributed under the GNU General Public License.  Under
these terms there is *no way* to restrict you in this manner.

"The act of running the Program is not restricted, and the output from
the Program is covered only if its contents constitute a work based on
the Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does."
   -- from section 0 of the GPL.

"You may not impose any further restrictions on the recipients' exercise
of the rights granted herein."
   -- from section 6.

The wider philosophical scope for this can be seen in the Free Software
definition at http://www.gnu.org/philosophy/free-sw.html.  "Freedom 0"
is "The freedom to run the program, for any purpose."

You are not even obliged to keep the "Engraved by Lilypond" tag line,
although obviously it is nice and polite to do so. :-)

-- Joe




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


String concatenation in sheme?

2006-11-15 Thread Rick Hansen (aka RickH)

I'm not a Scheme programmer, but how does one concatenate more data onto the
end of an existing variable?  Is there a string concatenation expression in
scheme that will let someone "add onto" the end of a string using subsequent
commands.  For example (below is in a java pseudocode where "+=" means
concatenate to self) how to do same in scheme?

varVoiceMelody = \relative c' { a4 b c
varVoiceMelody += d | e f
varVoiceMelody += g a |
varVoiceMelody += }


So that the final value of varVoiceMelody is left being:

\relative c' { a4 b c d | e f g a | }


I want to write some macros that when stated simply append their output to
variables already existing in my lp templates, these macros hopefully will
simply generate "varVoiceMelody += whatever" expressions to append to the
proper master variables in the lp code.

thanks
Rick


-- 
View this message in context: 
http://www.nabble.com/String-concatenation-in-sheme--tf2638911.html#a7366311
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: Pitch/ octave notation

2006-11-15 Thread Peter O'Doherty


Then he could use 4c8 instead, or does lilypond have any special
meaning for prepended digits?


hm, then maybe 8c4 is an even better choice ("8th of pitch c4"). I  
guessed
that the request for c4 syntax for pitches is related to some  
musicological

convention where c4 is the actual pitch name.


Yes, this is precisely the idea. I'm typesetting music which jumps  
around a lot and instead of a,,, and a,, and c' and c which  
becomes very confusing, the convention I am using (simply because I  
am most familiar with it) is c-1, c0, c6, c7 and so forth. It is  
simply easier to see at a glance which octave it is. But of course I  
do see where the problem lies as duration are also digits.

Never mind, it was worth trying!


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


Re: Selling music engraved by Lilypond

2006-11-15 Thread Frédéric Chiasson
Thanks for the quick answers! And yes, I will keep the tag, it is least I can do to encourage such a wonderful project!However is it possible to change the alignment, the size, the font or any other characteristic of the tagline (while keeping it noticeable!) ? Is it the same as using \override on TextScript?
Fred2006/11/15, Joseph Wakeling <[EMAIL PROTECTED]>:
Frédéric Chiasson wrote:> I just saw a message about the tagline "Engraved by Lilypond" and I was> wondering if it is legal to sell our own partitions of our own> compositions engraved with Lilypond? Is there any limitation you put
> against a «commercial» use (for now, it is really «on the side» but> still...)?Lilypond is distributed under the GNU General Public License.  Underthese terms there is *no way* to restrict you in this manner.
"The act of running the Program is not restricted, and the output fromthe Program is covered only if its contents constitute a work based onthe Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does."   -- from section 0 of the GPL."You may not impose any further restrictions on the recipients' exerciseof the rights granted herein."
   -- from section 6.The wider philosophical scope for this can be seen in the Free Softwaredefinition at http://www.gnu.org/philosophy/free-sw.html
.  "Freedom 0"is "The freedom to run the program, for any purpose."You are not even obliged to keep the "Engraved by Lilypond" tag line,although obviously it is nice and polite to do so. :-)
-- Joe
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pitch/ octave notation

2006-11-15 Thread Rick Hansen (aka RickH)



Nicolas Sceaux wrote:
> 
> "Rick Hansen (aka RickH)" <[EMAIL PROTECTED]> writes:
> 
>> I want to begin compartmentalizing my rather long lilypond templates
>> to something beyond numerous \include files to make it easier to
>> manage.
>>
>> I wish there were a lilypond dedicated text editor with plug-ins
>> capability
>> for managing large lp projects, but in the absence of that dream I want
>> to
>> bite the bullet and learn a pre-processor of some kind.
> 
> I don't understand the need of a preprocessor wrt managing large
> LilyPond projects. May you elaborate on your needs, maybe there are some
> solutions that you have not thought about and that would be better
> adapted. Working on large LilyPond projects myself for some years, I
> gradually got rid off other programs or scripts. LilyPond itself, a
> LilyPond-aware text editor and a version control system are enough.
> 
> Also, why using c4 instead of c'? You will be the only person which can
> read your code. If you find annoying to type c''', use an editor with
> quick note insertion mode and audio feedback. Then typing the notes
> won't be a problem anymore.
> 
> nicolas
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

Nicolas,

I'm not the original poster, I was just wondering what this pre-processor
was, I'm ok with the current relative/absolute note entry with apostrophes.

I am considering macros to provide more-or-less what you would call
"conditional \include files" or "smart \includes" that will \include
different files for songs, paper sizes, code, copyright footers, etc. based
on condition tests, instead of me having to physically comment/uncomment the
\include statements I want.  This and some other possibilities to generate
lilypond code more easily for re-use, outside of simple \include files.  I
probably should have started a new thread.  I'm getting the results I want
using all native lp as well, but need some automation in file management now
that I've got several hundred songs going at once across dozens of
templates.

Rick


-- 
View this message in context: 
http://www.nabble.com/Pitch--octave-notation-tf2630285.html#a7366805
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: Selling music engraved by Lilypond

2006-11-15 Thread Rick Hansen (aka RickH)



Frédéric Chiasson wrote:
> 
> Thanks for the quick answers! And yes, I will keep the tag, it is least I
> can do to encourage such a wonderful project!
> 
> However is it possible to change the alignment, the size, the font or any
> other characteristic of the tagline (while keeping it noticeable!) ? Is it
> the same as using \override on TextScript?
> 
> Fred
> 
> 

You can enclose anything you put into the tagline property within a "\markup
{ }" construct to change it's appearance, justify, etc. using markup
commands.  See the user manual on how to do text markup.  Also if you are
doing a compilation of pieces in a book, just putting the credit at the
end/beginning of the book might be good and not on each piece.


-- 
View this message in context: 
http://www.nabble.com/Selling-music-engraved-by-Lilypond-tf2638604.html#a7367008
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: String concatenation in sheme?

2006-11-15 Thread Nicolas Sceaux
"Rick Hansen (aka RickH)" <[EMAIL PROTECTED]> writes:

> I'm not a Scheme programmer, but how does one concatenate more data onto the
> end of an existing variable?  Is there a string concatenation expression in
> scheme that will let someone "add onto" the end of a string using subsequent
> commands.  For example (below is in a java pseudocode where "+=" means
> concatenate to self) how to do same in scheme?
>
> varVoiceMelody = \relative c' { a4 b c
> varVoiceMelody += d | e f
> varVoiceMelody += g a |
> varVoiceMelody += }
>
> So that the final value of varVoiceMelody is left being:
>
> \relative c' { a4 b c d | e f g a | }
>
> I want to write some macros that when stated simply append their output to
> variables already existing in my lp templates, these macros hopefully will
> simply generate "varVoiceMelody += whatever" expressions to append to the
> proper master variables in the lp code.


What you want is not string concatenation. { a4 b c d } is a music
expression, not a string, so look how it is stored internally:

  \displayMusic { a b c d | }
  \displayMusic { e f g a | }
  \displayMusic { a b c d | e f g a | }

You'll see a SequenceMusic element, containing a list of EventChord and
BarChack elements in its 'elements property. So what you'd like is
appending two lists. But there is another, easier, solution. Compare:

  \displayMusic { a b c d | }
  \displayMusic { e f g a | }
  \displayMusic { { a b c d | } { e f g a | } }

(the latter being equivalent to { a4 b c d | e f g a | })

There, you build a SequentialMusic object which elements are the
previous value of the variable, and the music that is to be appended. A
possible implementation (not tested):

appendToVariable =
#(define-music-function (parser location symbol music)
(symbol? ly:music?)
   (ly:parser-define! parser symbol
 (make-music 'SequentialMusic 
   'elements (list (ly:parser-lookup parser symbol)
   music)))
   (make-music 'SequentialMusic 'void #t))

myvar = { a4 b c d | }
\appendToVariable #'myvar { e f g a | }

{ \myvar }

nicolas


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


Re: Pitch/ octave notation

2006-11-15 Thread Nicolas Sceaux
"Rick Hansen (aka RickH)" <[EMAIL PROTECTED]> writes:
>
> Nicolas,
>
> I'm not the original poster, I was just wondering what this pre-processor
> was, I'm ok with the current relative/absolute note entry with apostrophes.

Oops! sorry.

> I am considering macros to provide more-or-less what you would call
> "conditional \include files" or "smart \includes" that will \include
> different files for songs, paper sizes, code, copyright footers, etc. based
> on condition tests, instead of me having to physically comment/uncomment the
> \include statements I want.  This and some other possibilities to generate
> lilypond code more easily for re-use, outside of simple \include files.  I
> probably should have started a new thread.  I'm getting the results I want
> using all native lp as well, but need some automation in file management now
> that I've got several hundred songs going at once across dozens of
> templates.

The conditionnal includes you can do with LilyPond, which you can trigger
for instance with command line options.

Consider:

includePageLayoutFile = 
#(define-music-function (parser location) ()
   "If page breaks and tweak dump is not asked, and the file
   -page-layout.ly exists, include it."
   (if (not (ly:get-option 'dump-tweaks))
   (let ((tweak-filename (format #f "~a-page-layout.ly"
 (ly:parser-output-name parser
 (if (access? tweak-filename R_OK)
 (begin
   (ly:message "Including tweak file ~a" tweak-filename)
   (set! page-layout-parser (ly:clone-parser parser))
   (ly:parser-parse-string page-layout-parser
   (format #f "\\include \"~a\""
   tweak-filename))
   (make-music 'SequentialMusic 'void #t))

which can be found in the file ly/music-function-init.ly of recent
versions of LilyPond.

nicolas


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


Re: Pitch/ octave notation

2006-11-15 Thread Joseph Wakeling
Peter O'Doherty wrote:
> Yes, this is precisely the idea. I'm typesetting music which jumps
> around a lot and instead of a,,, and a,, and c' and c which
> becomes very confusing, the convention I am using (simply because I am
> most familiar with it) is c-1, c0, c6, c7 and so forth. It is simply
> easier to see at a glance which octave it is.

This is actually a pretty good point.  If we look in printed books which
use the ''' notation, it is a *real* pain to read and make sense of, and
very prone to typos.  Certainly from the point of view of anyone who has
read books discussing the altissimo register of woodwind instruments,
for example.  ;-)

Of course, the typo side is not *such* an issue in Lilypond, where we
can check the output.  But it is difficult to read in the text of the
.ly file nevertheless.

Mind you, I don't find it particularly difficult to use the \relative
command for music that "jumps around".  In fact it's helpful, because
you just have to add enough ' or , to shift the octave.

The problem with the number-based input idea is that it seems to me to
be much less easy to have an intuitive "relative" input with this.
Keeping the ''' and ,,, is probably a compromise that works better on
average.



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


Re: old way of vertically centering refrain no longer works

2006-11-15 Thread Eduardo Vieira
Citando Mats Bengtsson <[EMAIL PROTECTED]>:

> One workaround is described in
> http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00015.html
>
>/Mats
>

Thanks Mats! I knew there was that page somewhere but couldn't narrow my search
sufficiently.

Best regards,

Eduardo
___
Com o Click21 você tem sempre vantagens! Além do email com 1 Gb, Acelerador, 
Blog,
Flog, Games e atendimento 24 horas, voce também pode falar minutos DDD com a
promoção Click 21 Minutos. Quanto mais você navega mais fala DDD.



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


Re: String concatenation in sheme?

2006-11-15 Thread Rick Hansen (aka RickH)



Nicolas Sceaux wrote:
> 
> 
> What you want is not string concatenation. { a4 b c d } is a music
> expression, not a string, so look how it is stored internally:
> 
>   \displayMusic { a b c d | }
>   \displayMusic { e f g a | }
>   \displayMusic { a b c d | e f g a | }
> 
> You'll see a SequenceMusic element, containing a list of EventChord and
> BarChack elements in its 'elements property. So what you'd like is
> appending two lists. But there is another, easier, solution. Compare:
> 
>   \displayMusic { a b c d | }
>   \displayMusic { e f g a | }
>   \displayMusic { { a b c d | } { e f g a | } }
> 
> (the latter being equivalent to { a4 b c d | e f g a | })
> 
> There, you build a SequentialMusic object which elements are the
> previous value of the variable, and the music that is to be appended. A
> possible implementation (not tested):
> 
> appendToVariable =
> #(define-music-function (parser location symbol music)
> (symbol? ly:music?)
>(ly:parser-define! parser symbol
>  (make-music 'SequentialMusic 
>'elements (list (ly:parser-lookup parser symbol)
>music)))
>(make-music 'SequentialMusic 'void #t))
> 
> myvar = { a4 b c d | }
> \appendToVariable #'myvar { e f g a | }
> 
> { \myvar }
> 
> nicolas
> 
> 
> 


Nicolas,

I cant thank you enough, this works perfectly!  I'm not quite sure where I'm
headed yet, but I may use either this technique in lilipond or the
"divert('1')" / "undivert('1')" functions of m4 to accumulate and
concatenate the music to different staff types.

Basically I want a macro that allows me to state chords in a progression,
whereby each macro invocation will generate the appropriate notes on 3
different staffs for each chord ChordName, FretBoards, and Staff (the notes
needed on each will be different inversions of the same harmony).  To save
me the time of hand-coding 3 staffs separately I want my macro to simply
concatenate to the 3 staffs at once with each chord I name.  At the end the
3 staff variables will be in-synch and all populated with my desired chord
progression, whereas I only have to physically maintain one list of chords,
(one list coded, generates 3 or more staffs outputted as lp source code). 
IOW I'm trying to build a chord library that can output various inversions
of the same chord to multiple staffs at once, the library will grow over
time and be reused.

Still deciding if each chord entry in the library is going to be an m4 macro
or lp function, but now I know I can go either way with the ability to
concatenate my music in lp.

thanks
Rick


-- 
View this message in context: 
http://www.nabble.com/String-concatenation-in-sheme--tf2638911.html#a7368612
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: Pitch/ octave notation

2006-11-15 Thread Han-Wen Nienhuys

Erik Sandberg escreveu:

On Wednesday 15 November 2006 13:25, Mads Sejersen wrote:

2006/11/14, Erik Sandberg <[EMAIL PROTECTED]>:

On Tuesday 14 November 2006 16:50, Peter O'Doherty wrote:
If you really need this, I'd recommend you to use sed or similar tool as
a preprocessing step for your score. It should be fairly easy to
lexically replace c4 with c', c5 with c'', etc. It will probably be
confusing though, because you'll have to write c48 to indicate an eight
note of pitch c', etc,

Then he could use 4c8 instead, or does lilypond have any special
meaning for prepended digits?


hm, then maybe 8c4 is an even better choice ("8th of pitch c4"). I guessed 
that the request for c4 syntax for pitches is related to some musicological 
convention where c4 is the actual pitch name.


I think it is something either from midi or MUSEDATA (aka. Cobol for 
musicologists).


prepended and appended digits are the same due to whitespace being 
insignificant.


 c8 c4 c8 = c8 c 4c8 = c 8c4 c8

--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Stupid resolution questions

2006-11-15 Thread Han-Wen Nienhuys

Rick Hansen (aka RickH) escreveu:

IOW do I need to do one last compile of my lily work to produce a
"pre-press" PDF using some option flag I am not aware of ?  Otherwise I will


no, -dresolution only applies to PNG images.

--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Stupid resolution questions

2006-11-15 Thread Han-Wen Nienhuys

Rick Hansen (aka RickH) escreveu:

This is what I was hoping for.  So a lily PDF is really a mathematical
representation of the output, that can be applied over any size/res "pixel
grid" so to speak, as provided by the printing machinery itself.  So it's
off to the printer!


not really. The fonts are really traced out bitmaps, so if you magnify 
the fonts enormously (say: 400pt fonts) you might notice some 
irregularities in sloped, almost vertical/horizontal lines.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


\afterGrace - afterGraceFraction [Lilypond 2.10.0 Windows]

2006-11-15 Thread Trent J

Hello,

I'm not sure whether I'm doing this right but the manual states to change 
the fraction of an afterGrace note(s):


The fraction 3/4 can be changed by setting afterGraceFraction, ie.

afterGraceFraction = #(cons 7 8). By setting does it mean \set 
afterGraceFraction = #(cons 7 8).


I've tried this and keep running into the following message from Lilypond:

warning: can't find property type-check for `afterGraceFraction' 
(translation-type?).  perhaps a typing error?

warning: doing assignment anyway


Any help appreciated.

Trent

_
Advertisement: House hunt online now!  
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Erealestate%2Ecom%2Eau%2Fcgi%2Dbin%2Frsearch%3Fa%3Dbhp%26t%3Dres%26cu%3DMSN&_t=758874163&_r=HM_EndText_Nov06&_m=EXT




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


Re: String concatenation in sheme?

2006-11-15 Thread Werner LEMBERG

> > myvar = { a4 b c d | }
> > \appendToVariable #'myvar { e f g a | }
> >
> > { \myvar }

It's not completely clear why you need such a thing (except
performance maybe).  AFAIK, this is the same as

  myvar = { a4 b c d | }
  myvar = { \myvar | e f g a | }

On the other hand, perhaps it's useful to add the `+=' operator to
LilyPond so that you can say

  myvar += { e f g a | }

instead...


Werner


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


Re: \afterGrace - afterGraceFraction [Lilypond 2.10.0 Windows]

2006-11-15 Thread Bertalan Fodor
No, it means just "afterGraceFraction = #(cons 7 8)" - if you look into 
music-functions-init.ly, you can find this declaration there.


Bert


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


Re: \afterGrace - afterGraceFraction [Lilypond 2.10.0 Windows]

2006-11-15 Thread Mats Bengtsson

Actually, afterGraceFraction is defined as an ordinary LilyPond identifier,
in ly/music-functions-init.ly. So, one option for you if you want to 
change the

setting globally for the full score is to add
afterGraceFraction = #(cons 7 8)
at the top level of the file (just as you can define mymelody={c d e f} ).

If you want to change the setting in the middle of a piece, one option 
is to

use Scheme syntax to change the value of the variable:
#(define afterGraceFraction (cons 7 8))

(if you do this setting directly after a \afterGrace, then it seems to 
affect also

this preceding \afterGrace).

   /Mats

Trent J wrote:

Hello,

I'm not sure whether I'm doing this right but the manual states to 
change the fraction of an afterGrace note(s):


The fraction 3/4 can be changed by setting afterGraceFraction, ie.

afterGraceFraction = #(cons 7 8). By setting does it mean \set 
afterGraceFraction = #(cons 7 8).


I've tried this and keep running into the following message from 
Lilypond:


warning: can't find property type-check for `afterGraceFraction' 
(translation-type?).  perhaps a typing error?

warning: doing assignment anyway


Any help appreciated.

Trent

_
Advertisement: House hunt online now!  
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Erealestate%2Ecom%2Eau%2Fcgi%2Dbin%2Frsearch%3Fa%3Dbhp%26t%3Dres%26cu%3DMSN&_t=758874163&_r=HM_EndText_Nov06&_m=EXT 





___
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
=



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


placing of artificial harmonic

2006-11-15 Thread Orm Finnendahl
Hi,

I'm trying to write a doublestop in a violin piece, where on note is
played as an artificail harmonic.

In the sequence '4'

The harmonic is placed above the 'eih' but should be placed above the
'd'. Is there any way to either flip the noteheads of the eih and d or
move the harmonic diamond horizontally?

I tried to trick lilypond by adding a fourth notehead in order to flip
the harmonic sign and then making the added notehead invisible:

'4'

This doesn't seem to work inside a chord. Also overriding #'notehead
to be transparent doesn't work in this context.

Putting the d with its harmonic in another voice context results in
awkward spacings of the two voices (Stem up and down) and makes the
whole thing quite difficult to read. Using text markup for the diamond
sign is awkward as the notes are placed above the space with some
ledger lines.

Any ideas?

--
Orm


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