Re: test.ly failed

2005-04-08 Thread Mats Bengtsson
It looks as if the installation program failed to install all necessary 
packages.
Usually it helps to just rerun setup.exe. Especially, you should  make  
sure  that
the package called libguile12 is being installed (it should be selected 
automatically).
Also, I'm surprised that you have version 2.4.2 of Lilypond,  the 
default version for
the moment is 2.4.3-1 (should also appear automatically if you rerun 
setup.exe).

  /Mats
[EMAIL PROTECTED] wrote:
I have attached error log file. Help!
Pat
 

Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/emreg

Netscape. Just the Net You Need.

___
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


chords in piano staff

2005-04-08 Thread libero . mureddu3
Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to create
a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks

Libero Mureddu




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


Re: chords in piano staff

2005-04-08 Thread Mats Bengtsson
By default, a PianoStaff context cannot contain a ChordNames context, but
that's easy to modify. Just add (untested)
\layout{
 \context{
   \PianoStaff
   \accepts ChordNames
 }
}
  /Mats
[EMAIL PROTECTED] wrote:
Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to create
a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks
Libero Mureddu

___
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: chords in piano staff

2005-04-08 Thread libero . mureddu3
Hi Mats,
thank you, your solution works, even if now I have a very large distance
between the two staves.
How can I come back to the original distance of the piano staff?
Thanks

Libero Mureddu


\version 2.4.5
md = {c'4 c' c' c'}
ms = {c4 c c c}
 harmonies = \chordmode {
c4:m f:min7 g:maj c:aug
 }
\score {
  \context PianoStaff 
   \context Staff = upper \md
   \context ChordNames {
  \set chordChanges = ##t
  \harmonies
   }

   \context Staff = lower \ms

 \layout {
   \context{
 \PianoStaff
 \accepts ChordNames
   }
 }
}

Compilation exited abnormally with code 1 at Fri Apr  8 13:23:50
-- Original Message --
Date: Fri, 08 Apr 2005 11:00:00 +0200
From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC:  lilypond-user@gnu.org
Subject: Re: chords in piano staff


By default, a PianoStaff context cannot contain a ChordNames context, but
that's easy to modify. Just add (untested)
\layout{
  \context{
\PianoStaff
\accepts ChordNames
  }
}

   /Mats

[EMAIL PROTECTED] wrote:

Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to
create
a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks

Libero Mureddu




___
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


Dynamics too far below, Piano+song based Template

2005-04-08 Thread dax2

   Dear Friends,

   I have so far only done 5 or 6 pieces in Lilypond notation. I
am very fond of the results. In my new project there is a challenge:


   Ped-marks come too far below the lower staff, if I use a
separate dynamic-Staff.


   I missed templates for piano-quartet/trio.

   I used the Song or lied template after realizing that the
beautiful Mutopia-project piano-trio by Mozart in E-flat was 
written with a Lilypond notation which goes longer back than the
first of my Lilypond-versions! Ugh!

   I use 2.5.0 (or 2.4.0) and it works nicely.


   My new template and 2.4 can do Ped marks without separate
middle/lower dynamic staff, just doing \sustainDown works.
However, the smart PianoTemplate solution allows markings to be
placed precisely where you want them using space-rests s2 s16. The
technique is to have an extra (virtual) Staff for Dynamics,
like this:

[...]

\context Dynamics = PedMarks 
  \lowerDynamics


%%  \new has been replaced by \context in 2.4.x




So I added the necessary tweaks cut-and-paste from an older
piano-template, and it works BUT:

The ped-marks come too far below the lower staff.

The black magic tweaks are given here:
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/lily-927257492.ly
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Piano-templates.html#Piano-templates

I updated them using convert-ly, not much was changed though.
----------------

The warning I get is not the real problem:

Full example http://d-axel.dk/pub/music/start/bk4-pedwarn.*:

Now processing `bk4-pedwarn.ly'
Parsing...
Interpreting music... warning: Cannot find or create `Dynamics' called `pedal'
[8][16][24][32][40][41]

[...]


----------------

But this is not the real challenge; the problem is that the
distance between the lower staff and the dynamic mark has grown
out of proportion.

You can find the full pdf-file and sources here:
http://d-axel.dk/pub/music/start/bk4-pedwarn.pdf



POSTSCRIPTUM:

I will try to study more intensively on Gray Nereides and
examples from Mutopiaproject. One of the most fascinating is
the Chopin etude op.25-1. This is brilliant work, and I feel
stupid when I read the source. How did he find out?

Well, I better read the docs thoroughly, I have skipped too
many parts. However, are there any hints for a reader, then I
will be glad. I am impressed how much Mats Bengtsson helps
all of us people here on the list.


Thank you for any hint, and regards from 

Donald


-- 
dax2-tele2adsl:dk -- http://d-axel.dk/  Donald Axel
attachment: bk4-pedwarn-p1x.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Help with line breaks

2005-04-08 Thread Helder Gomes da Silva
Hello everyboby.
I'm starting using lilypond. The example here in my e-mail has three 
different scores. The only thing that I want is to be able to print each 
score in a different page. How can I perform the break between then?

Thank you very much,
Helder
== EXAMPLE ==
\version 2.4.0
\header {
  title = Whatever
  composer = A cool guy
}
% Guitar I
gi = {\set Staff.instrument = Gui. I
  \set Staff.instr = I
  c d e f | c d e f | c d e f
  c d e f | c d e f | c d e f
  c d e f | c d e f | c d e f
  c d e f | c d e f | c d e f
}
% Guitar II
gii = {\set Staff.instrument = Gui. II
   \set Staff.instr = II
   b b a f |  b b a f |  b b a f
   b b a f |  b b a f |  b b a f
   b b a f |  b b a f |  b b a f
   b b a f |  b b a f |  b b a f
 }
% Score for Guitar I
\score {\gi}
% Score for Guitar II
\score {\gii}
% Guitar Ensemble
\score {
\header {piece = Ensemble}
  \context StaffGroup 
\new Staff \gi
\new Staff \gii
  
  \layout{}
==
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Dynamics too far below, Piano+song based Template

2005-04-08 Thread dax2

More pondering (lily-pondering?:-) brought the solution.

On Fri, 8 Apr 2005 14:26:35 +0200
dax2 wrote:

 So I added the necessary tweaks cut-and-paste from an older
 piano-template, and it works BUT:
 
 The ped-marks come too far below the lower staff.

Thanks again - searching the list dynamics gave me the 
clue needed:

Mats wrote on (Date: Thu, 07 Apr 2005 15:22:49 +0200):

 I don't like the current solution in the template using lots of 
 extra-offset settings.
[...]

 \score {
   \context PianoStaff 
 \context Staff = upper \upper
 \context Dynamics = dynamics \dynamics
 \context Staff = lower 
   \clef bass
   \lower \pedal
 
   

which means that I can have two parts on the same staff; the notes
***and*** the dynamics/pedmarks with space-rest-placement.

Thank you Mats and every other optimistic Lilyponder!



-- 
dax2-tele2adsl:dk -- http://d-axel.dk/  Donald Axel


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


Re: chords in piano staff

2005-04-08 Thread Mats Bengtsson
Try something like
\layout {
  \context{
\PianoStaff
\override VerticalAlignment #'forced-distance = #6
\accepts ChordNames
  }
  /Mats
[EMAIL PROTECTED] wrote:
Hi Mats,
thank you, your solution works, even if now I have a very large distance
between the two staves.
How can I come back to the original distance of the piano staff?
Thanks
Libero Mureddu
\version 2.4.5
md = {c'4 c' c' c'}
ms = {c4 c c c}
harmonies = \chordmode {
   c4:m f:min7 g:maj c:aug
}
\score {
 \context PianoStaff 
  \context Staff = upper \md
  \context ChordNames {
 \set chordChanges = ##t
 \harmonies
  }
  \context Staff = lower \ms
   
\layout {
  \context{
\PianoStaff
\accepts ChordNames
  }
}
}
Compilation exited abnormally with code 1 at Fri Apr  8 13:23:50
 

-- Original Message --
Date: Fri, 08 Apr 2005 11:00:00 +0200
From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC:  lilypond-user@gnu.org
Subject: Re: chords in piano staff
By default, a PianoStaff context cannot contain a ChordNames context, but
that's easy to modify. Just add (untested)
\layout{
\context{
  \PianoStaff
  \accepts ChordNames
}
}
 /Mats
[EMAIL PROTECTED] wrote:
   

Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to
 

create
   

a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks
Libero Mureddu

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



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


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


transpose

2005-04-08 Thread Robert Jamison
I have a number of pieces written in fakebook style that I want to 
transpose to other keys.
I know the command
\transpose c g should move things up a 5th (or maybe down a 4th).

I read the manual page on transpose, but I cannot figure out from that 
where to insist the command.
Everything I've tried has ended in numerous errors.
The models in the manual just don't show me how to do it.
And how do you transpose the chords?

For concreteness, the whole file is below.
I want it in C Major, instead of G Major -- up a fifth.
I'm sure if I see
how to do it once, I can do it ad infinitum.
Thanks,
Robert
\header {
  dedication =  November 12, 2004
  title =   Bob and Barbara's Wedding
  subtitle =composed: 27. October,  2004
  source =  
  composer =Robert E. Jamison
  enteredby =   rej
  copyright =   
}
harmonies = \chords {
%   r4
g2. b:m/fis e:m d   c d g d
g2. b:m/fis e:m c   g a:m d d
c d e:m d/fis   g c g d
c d e:m d/fis   c d g g
%
}
melody = \notes
 {
 \time 3/4
 \key g \major
 \relative c  { {\clef bass}{
%\partial 4 d4
d2 d4   d2 d4   d c b   a g fis
g2 b4   a2 b8 c b4 c d  a2 b8 c
d2 d4   d2 d4   d g fis e d c   
b g2c4. d8 b4   a2.~a2  d,4 
\bar||
%
e2 g4   fis g a g4. a8 b4   a4 b c
d4 g,4 d'4  e8 d c e d cd4 g,4 g'4  a,2 g8 fis
e2 g4   fis g a g4. a8 b4   a b c
e8 d c b a ga2 g8 fis   g2.~g2.

}   
 \bar ||}}

\score {
  \notes 
\context ChordNames {
\property ChordNames.chordChanges = ##t
\harmonies
}
\context Staff = one \melody
  
  \paper{ }
  \midi{ }
}

--
**
Robert E. Jamison
Professor of Mathematical Sciences
Clemson University
Clemson, SC  29634-0975
(864) 656-5219
http://people.clemson.edu/~rejam/
http://www.clemson.edu/~rejam/
***
Vision without action is a daydream;
Action without vision is a nightmare.
 Japanese proverb


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


invoking Lilypond from a script

2005-04-08 Thread Kris Shaffer
Thanks for making such a great product.  I love using Lilypond.  I am
currently working on an applescript app for Mac OS X that will allow a
.ly file to be dragged to a Lilypond icon to create the PDF score
without using the command line.  My hopes is that it will help make
Lilypond more accesible to traditional Mac users.  However, when I
call Lilypond (v. 2.2.5) from the appescript (i.e. do shell script
/sw/bin/lilypond [filename.ly]), it outputs the score to / instead
of the directory the source file is in.  I'm wondering if there is a
reason why it would not automatically export to the originating
folder, as it does when I invoke it in the terminal.  Perhaps the
Applescript calling the shell script is the problem?  Let me know if
you know of a reason this may be behaving unexpectedly, or if you need
more information from me.  Otherwise, I will add some extra code and
variables to get around the issue.  Thanks.

Sincerely,
Kris Shaffer


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


Re: invoking Lilypond from a script

2005-04-08 Thread David Rogers
Kris Shaffer wrote:

...I'm wondering if there is a reason why it would not automatically
export to the originating folder, as it does when I invoke it in the
terminal.  Perhaps the Applescript calling the shell script is the
problem?  Let me know if you know of a reason this may be behaving
unexpectedly, or if you need more information from me.  Otherwise, I
will add some extra code and variables to get around the issue. 


Can you make the shell script cd to the directory the file is in, first?

David


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


Re: invoking Lilypond from a script

2005-04-08 Thread Erik Sandberg
On Friday 08 April 2005 19.29, Kris Shaffer wrote:
 Thanks for making such a great product.  I love using Lilypond.  I am
 currently working on an applescript app for Mac OS X that will allow a
 .ly file to be dragged to a Lilypond icon to create the PDF score
 without using the command line.  My hopes is that it will help make
 Lilypond more accesible to traditional Mac users.  However, when I
 call Lilypond (v. 2.2.5) from the appescript (i.e. do shell script
 /sw/bin/lilypond [filename.ly]), it outputs the score to / instead
 of the directory the source file is in.  I'm wondering if there is a
 reason why it would not automatically export to the originating
 folder, as it does when I invoke it in the terminal.  Perhaps the
 Applescript calling the shell script is the problem?  Let me know if
 you know of a reason this may be behaving unexpectedly, or if you need
 more information from me.  Otherwise, I will add some extra code and
 variables to get around the issue.  Thanks.

lilypond writes files to the current working directory. If you are in a 
console, and you cd to e.g. /tmp/foo, and write
lilypond /bar/blah/x.ly
then the output will be located in /tmp/foo/. This is simply the convention 
most Unix-style software use.

You could either run lilypond with a different working directory, or you could 
specify the output by passing -o to lilypond. You may be interested in 
looking at the commands dirname and basename.

Erik


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


Re: transpose

2005-04-08 Thread Gilles
Hi.

 For concreteness, the whole file is below.
 I want it in C Major, instead of G Major -- up a fifth.

This is how I do it:

%-
\version 2.4.2

melodyNotes = \relative c''' {
   \time 3/4
   g4 d c |
   a4 b c |
}

melodyStaff = \context Staff = Melody {
  \clef G
  \key c \major
  \transpose g c { \melodyNotes }
}

\score {
\melodyStaff
}
%-

[For the chords, I didn't try yet, so I don't know.]

Best,
Gilles


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


Re: New in 2.4.3?

2005-04-08 Thread Gilles

 I took a file which works fine in v. 2.3.12 for Linux and tried to 
 render it using 2.4.3 for Windows, and the following was logged:
 
 Sphere.ly:19:9: error: unknown escaped string: `\notes':
   \notes
  
 
 
 Sphere.ly:19:8: error: syntax error, unexpected STRING:
   \note
s 
 
 
 What is the new syntax?
 

You should use the convert-ly script before attempting to render with
a different version...

\notes { ... } - { ... }


Gilles


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