Custom guitar chords

2009-04-15 Thread Miklos Vajna
Hi,

Here is a sample:


\version "2.12.1"

\score {
<<
\chords {
e1:sus4 g e:m b:m
}
\relative c'
{
e8.
^\markup \fret-diagram #"f:2;6-o;5-o;4-2-2;3-2-3;2-o;1-o;"
e16( e8) e8 e16 d e8 r4 | e8 e e16 e8 e16 e8 e( b'4) |
b8 a g16 g8 fis16 fis g e8 r8. e16 | fis8
^\markup \fret-diagram #"f:2;5-o;4-4-3;3-4-4;2-o;1-2-1;"
fis16 e fis8 g16 fis( fis4) g16( fis e fis)
}
>>
}


So I'm having normal chords like 'g' and 'e:m' but I have two custom
chords as well. I have a problem and a question as well.

First, currently the output has "Bm" for my chord, but actually I would
like to have it as 'Bm \super "omit3"/A'. (No, I don't really mind about
the midi output. :) )

Second, It's a bit ugly to define the custom chords inside the notes and
not in the \chords secion. Is it possible to do something like
"^\markup" in the \chords section?

Thanks!


pgpZbXMDx9pfm.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Margins

2009-04-15 Thread Anthony W. Youngman
In message , Henning Plumeyer 
 writes

Am 14.04.2009, 18:32 Uhr, schrieb Mark Polesky :

Francisco Vila wrote:


2009/4/11 Mark Austin :
> Is there any way of setting a binding
> margin... need to increase the left
> margin of odd-numbered pages, and the
> right margin of even numbered pages...


Could we say inner margin?


Please no.

AIUI, the proper technical term IS "binding margin". Let's not change it 
just to be different.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



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


Re: Trying to vary white mensural ligatures

2009-04-15 Thread PálBenkő
hi Mike,

> I'm stuck on a form of ligature that uses the descending diagonal neume
> to indicate two notes, and has a rising stem on the left.

> \[ d\longa c\breve \] % gives the right diagonal neume, but no stem

> \[ d1 c1 \]  % gives the stem, but separate
>  % diamond-shaped note heads

> I have read the section on white mensural notation, the definitions of
> ligature objects, and every mention of ligatures and mensural notation
> in the Scheme files. On the possibility that there was an invisible
> stem, as the manuals says there is for whole notes, I tried overriding
> transparency and color of the Stem object, to no avail.

> I'm not sure what note durations are intended in the manuscript

it's \[ d1 c1 \].

ligatures in lilypond can currently be engraved only in one shape,
although some combinations could be written (and were written, as you've noted)
in several ways.
see ligature-description.txt in
http://lists.gnu.org/archive/html/lilypond-devel/2005-02/msg00198.html
on how to write (read) ligatures.

hth,
p



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


Re: Custom guitar chords

2009-04-15 Thread Robin Bannister

Miklos Vajna wrote:
First, currently the output has "Bm" for my chord, 

but actually I would like to have it as 'Bm \super "omit3"/A'.

Like this?  (verbatim)

replaceCN =  #(define-music-function (parser location new) (markup?) 
 #{\once \override ChordNames.ChordName #'stencil = 
   #(lambda (grob) (grob-interpret-markup grob $new)) #}) 

BmsusA = \markup {Bm \super "omit3"/A} 


\chords { e1:sus4 g e:m \replaceCN \BmsusA b:m }


Cheers,
Robin


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


Re: Margins

2009-04-15 Thread Henning Plumeyer
Am 15.04.2009, 19:56 Uhr, schrieb Anthony W. Youngman  
:


In message , Henning Plumeyer  
 writes

Am 14.04.2009, 18:32 Uhr, schrieb Mark Polesky :

Francisco Vila wrote:


2009/4/11 Mark Austin :
> Is there any way of setting a binding
> margin... need to increase the left
> margin of odd-numbered pages, and the
> right margin of even numbered pages...


Could we say inner margin?


Please no.

AIUI, the proper technical term IS "binding margin". Let's not change it  
just to be different.


Ok, the introduced technical term should be used. Didn't know it is one.

Btw: What the word for the opposite margin?

Henning



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


Lilypond is amazing! (engraving Reubke)

2009-04-15 Thread Wilbert Berendsen
Hi,

Just to learn LilyPond better I've engraved the splendid Organ Sonata "Der 
94ste Psalm" by Julius Reubke (1834-1858) with LilyPond 2.13.1.
The result can be seen here [1]. The 28-page score is based on the IMSLP score 
(first edition 1871) of this piece.

The .ly files live in the lilymusic googlecode repository [2], a repo which 
I'm btw happy to share with anybody wanting to write good LilyPond scores (of 
public domain or otherwise Free music) under free licenes and svn version 
control.

I discovered many niceties, e.g. when you use named contexts everywhere, you 
are always able to add things like markups and even accents etc. later from 
outside the main music definitions. This helps to separate the music and 
notes/remarks etc. I use a Devnull context containing some line breaks. The 
system-count and max-systems-per-page settings helped me well to get the score 
on the right number of pages.

Also a few lil' bugs I'll try to isolate, like cross-staff slurs sometimes 
behave strange, esp. when there are also markups below or above. Forcing or 
forbidding line breaks works around that kind of problems. And sometimes 
autobeamed notes have too long stems just before/after staff changes (already 
in issue tracker). And LilyPond uses more than 600MB main memory during 
engraving which almost puts my 512M laptop to a grinding halt. I bought a new 
computer with 4gig main ram just to use LilyPond for my Reubke score! :-)

[1] http://www.wilbertberendsen.nl/reubke/psalm94
[2] http://code.google.com/p/lilymusic/ and
http://code.google.com/p/lilymusic/source/browse/#svn/trunk/reubke/psalm94

best regards,
Wilbert Berendsen

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


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


Re: Margins

2009-04-15 Thread Anthony W. Youngman
In message , Henning Plumeyer 
 writes
Am 15.04.2009, 19:56 Uhr, schrieb Anthony W. Youngman 
:


In message , Henning Plumeyer 
 writes

Am 14.04.2009, 18:32 Uhr, schrieb Mark Polesky :

Francisco Vila wrote:


2009/4/11 Mark Austin :
> Is there any way of setting a binding
> margin... need to increase the left
> margin of odd-numbered pages, and the
> right margin of even numbered pages...


Could we say inner margin?


Please no.

AIUI, the proper technical term IS "binding margin". Let's not change 
it just to be different.


Ok, the introduced technical term should be used. Didn't know it is one.

Btw: What the word for the opposite margin?


I don't know there is one. Why should there be?

Just like a page has a top and bottom margin, and your usable area is 
usually what's left (but may lose some to a header and/or footer space), 
so from left to right you normally have left and right margin with 
usable area being what's left, you sometimes lose some of that to the 
binding margin.


I'll use American sizes for easy maths, but lets say you have a 1/2" 
binding margin, that leaves you with an 8" wide page. If you now have 
1/2" left and right margins that leaves you with 7" of usable space. And 
you'd spec that as '1/2" left and right, and 1/2" binding margins'. That 
says everything that needs to be said.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



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


Re: Custom guitar chords

2009-04-15 Thread Miklos Vajna
On Wed, Apr 15, 2009 at 09:18:21PM +0200, Robin Bannister  
wrote:
> Like this?  (verbatim)
> 
> replaceCN =  #(define-music-function (parser location new) (markup?) 
>   #{\once \override ChordNames.ChordName #'stencil = 
> #(lambda (grob) (grob-interpret-markup grob $new)) #}) 
> 
> BmsusA = \markup {Bm \super "omit3"/A} 
> 
> \chords { e1:sus4 g e:m \replaceCN \BmsusA b:m }

Works perfectly, thanks! :)


pgp3DSHDOzrS6.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond is amazing! (engraving Reubke)

2009-04-15 Thread -Eluze


Wilbert Berendsen-5 wrote:
> 
> 
> And LilyPond uses more than 600MB main memory during 
> engraving which almost puts my 512M laptop to a grinding halt. I bought a
> new 
> computer with 4gig main ram just to use LilyPond for my Reubke score! :-)
> 
> 
beautiful and powerful!

on which OS are you? 

I just compiled the whole score under windows/xp-sp3 with 512 MB RAM and I
can confirm it used up to 665MB main memory - and of course it took a long
time to finish: 46 minutes!
unfortunately i forgot to turn off "point'n click", so a file of 3.76MB
resulted (yours only had 600KB!)

further small differences are probably due to the fact that i run it with
2.12.2 and i got only 26 pages (28 in yours) - but it will take some time to
see all differences.

anyway: congrats for this beautiful work and thanks for making it available
for all interested people!

-- 
View this message in context: 
http://www.nabble.com/Lilypond-is-amazing%21-%28engraving-Reubke%29-tp23067386p23068931.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Custom guitar chords

2009-04-15 Thread Carl D. Sorensen



On 4/15/09 10:51 AM, "Miklos Vajna"  wrote:

> Hi,
> 
> Here is a sample:
> 
> 
> \version "2.12.1"
> 
> \score {
> <<
> \chords {
> e1:sus4 g e:m b:m
> }
> \relative c'
> {
> e8.
> ^\markup \fret-diagram #"f:2;6-o;5-o;4-2-2;3-2-3;2-o;1-o;"
> e16( e8) e8 e16 d e8 r4 | e8 e e16 e8 e16 e8 e( b'4) |
> b8 a g16 g8 fis16 fis g e8 r8. e16 | fis8
> ^\markup \fret-diagram #"f:2;5-o;4-4-3;3-4-4;2-o;1-2-1;"
> fis16 e fis8 g16 fis( fis4) g16( fis e fis)
> }
>>> 
> }
> 
> 
> So I'm having normal chords like 'g' and 'e:m' but I have two custom
> chords as well. I have a problem and a question as well.
> 
> First, currently the output has "Bm" for my chord, but actually I would
> like to have it as 'Bm \super "omit3"/A'. (No, I don't really mind about
> the midi output. :) )

Would you really like a Bm with the third missing and an A bass?  If so, you
could use

b:m-3/+a

I think you'll still need to use the chord name markup that Robin showed
you, but at least you'll have the right notes.

> 
> Second, It's a bit ugly to define the custom chords inside the notes and
> not in the \chords secion. Is it possible to do something like
> "^\markup" in the \chords section?

I think you'll be much happier if you use the FretBoards context for your
fret diagrams, instead of using markups on the notes.  Please see section
2.4.1 of the Notation Reference, especially the section on Predefined fret
diagrams.  You can define the fret diagram for your b:m-3/+a chord once, and
use it multiple times in your work.  If you can't figure out how to do it,
I'll be happy to give you some more guidance.

As a preview, you'd add the following to the top of your file:

\include "predefined-guitar-fretboards.ly"

\storePredefinedDiagram \chordmode { e:sus4 }
   #guitar-tuning
   #"x;;4-3;4-4;;2-1;"

Then you'd add a new context between your ChordNames context and your Staff
context:

\new FretBoards {e1:sus4 }

HTH,

Carl



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


MIDI output in Mac OS X 10.5.2

2009-04-15 Thread IoD

When I insert the \midi { } in the \score section of my Lilypond projects,
the only output produced are a .ps file and a .pdf file, no MIDI output.  Is
there a known error/bug that could cause this? A common mistake that I could
be making? Any help you can offer?

Thanks in advance,
-Io Daly
-- 
View this message in context: 
http://www.nabble.com/MIDI-output-in-Mac-OS-X-10.5.2-tp23070553p23070553.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Lilypond is amazing! (engraving Reubke)

2009-04-15 Thread Dmytro O. Redchuk
2009/4/16 Wilbert Berendsen :
> Hi,
>
> Just to learn LilyPond better I've engraved the splendid Organ Sonata "Der
> 94ste Psalm" by Julius Reubke (1834-1858) with LilyPond 2.13.1.
> The result can be seen here [1]. The 28-page score is based on the IMSLP score
> (first edition 1871) of this piece.
>
> The .ly files live in the lilymusic googlecode repository [2], a repo which
> I'm btw happy to share with anybody wanting to write good LilyPond scores (of
> public domain or otherwise Free music) under free licenes and svn version
> control.
Thank you *very* much.

I'm not a professional at all, and i feel it's *quite* useful to have
"solid great examples". Like yours, too :-)

And many thanks to lilypond, again and again :-)

> best regards,
> Wilbert Berendsen
>
> --
> Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/

-- 
Dmytro O. Redchuk


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