Re: Using #(define fonts) gives me an ill-looking feta font

2011-03-08 Thread David Rogers

* James Lowe  [2011-03-09 07:13]:


Hello,

I am using Mac OS X (in case that matters) and I am having an issue where
using the following construct in a \paper block:

myStaffSize = #24
 #(define fonts
 (make-pango-font-tree "Baskerville"
   "Optima"
   "Courier"
 (/ myStaffSize 24)))


--

Gives me 'ugly' instances of the feta font.

See attached pngs (left side is without this construct)

As you can see the 'church rests' don't touch the staff lines and the
heads and stems are 'spindly'.

I'd like to define the 3 font types instead of having to use overrides,
but the 'myStaffSize' is something I just copied verbatim from the NR. I
don't actually know what it does but I cannot just remove it as I get
compile errors.

My files use a #(set-global-staff-size 24) so I thought it might be
related, but changing the value either in this global-staff-size or in the
myStaffSize does nothing.


Try removing (or commenting out) your global-staff-size setting. I think
that the myStaffSize and the global-staff-size conflict with each other,
even if they are set to the same value.

--
David

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


Re: Using #(define fonts) gives me an ill-looking feta font

2011-03-08 Thread madMuze


Hello,

I am using Mac OS X (in case that matters) and I am having an issue where
using the following construct in a \paper block:

 myStaffSize = #24
  #(define fonts
  (make-pango-font-tree "Baskerville"
"Optima"
"Courier"
  (/ myStaffSize 24)))


--
I believe the calculations for font size are done internally relative to 20,
no matter what you choose for sizes. I use "/ myStaffSize 20" with a wide
variety of global staff sizes and have good results.
David

-- 
View this message in context: 
http://old.nabble.com/Using--%28define-fonts%29--gives-me-an-ill-looking-feta-font-tp31103932p31104059.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


Using #(define fonts) gives me an ill-looking feta font

2011-03-08 Thread James Lowe
Hello,

I am using Mac OS X (in case that matters) and I am having an issue where
using the following construct in a \paper block:

 myStaffSize = #24
  #(define fonts
  (make-pango-font-tree "Baskerville"
"Optima"
"Courier"
  (/ myStaffSize 24)))


--

Gives me 'ugly' instances of the feta font.

See attached pngs (left side is without this construct)

As you can see the 'church rests' don't touch the staff lines and the
heads and stems are 'spindly'.

I'd like to define the 3 font types instead of having to use overrides,
but the 'myStaffSize' is something I just copied verbatim from the NR. I
don't actually know what it does but I cannot just remove it as I get
compile errors.

My files use a #(set-global-staff-size 24) so I thought it might be
related, but changing the value either in this global-staff-size or in the
myStaffSize does nothing.

I wonder if anyone can give me some advice so I can get the glyphs
correctly formatted again without having to go through all 24 individual
scores and set 'abs-font' commands everywhere?

Thanks as always for your time.

James

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


Double Digit Fingering ie 10 11 12

2011-03-08 Thread bannersite
It appears that double digit fingering is not supported in the shorthand 
version:

 %error: syntax error, unexpected UNSIGNED

I found a reference to using \markup as the long hand and a previous post 
referencing -\markup { \finger ". . ." } and ^\markup { \finger ". . ." }

So I tried without sucess:

 %warning: cannot add text scripts to 
individual note heads

and

 %warning: cannot add text scripts to 
individual note heads


The only way I could make it work was with:

^\markup { \finger "10" }

However this opened a whole bunch of formating issues for me. String number no 
longer over fingering, odd markings, and font issues.

Is there a way I'm missing that functions as .

Thanks Scott


Here is the full code I'm using to debug formating issues occured in a larger 
item. (If we can't com up with a solution I'll post about those later)

\version "2.12.0" % necessary for upgrading to future LilyPond versions.

# (define RH rightHandFinger)

\score

\new Staff {
 

  %warning: cannot add text scripts to 
individual note heads

  %warning: cannot add text scripts to 
individual note heads

 % %error: syntax error, unexpected UNSIGNED

 ^\markup { \finger "10" }

 }


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


Re: Open (no3) chords in chordmode

2011-03-08 Thread Christopher Meredith
On Tue, Mar 8, 2011 at 5:23 PM, Carl Sorensen  wrote:

> On 3/8/11 12:43 PM, "Christopher Meredith"  wrote:
>
> > I've noticed this question asked here 6 or 7 years ago but have not been
> able
> > to find a solution. I want to use a chord symbol for an open interval (G
> D)
> > with no third. I have tried using g1^3 but the symbol still appears as
> "G."
> > I'd like it to say "G (no3)." I tried to accomplish it using this snippet
> from
> > the reference manual:
> >
> >
> > % modify maj9 and 6(add9)
> > % Exception music is chords with markups
> > chExceptionMusic = {
> >   1-\markup { \super "(no3)" }
>
> This should be 1, not 1.
>
> The exception music can be thought of as being in the key of c, so you
> write
> the chords as if they were in c.  Then you can write any open interval, and
> it will work properly.


Ah! Perfect, thank you!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Open (no3) chords in chordmode

2011-03-08 Thread Carl Sorensen
On 3/8/11 12:43 PM, "Christopher Meredith"  wrote:

> I've noticed this question asked here 6 or 7 years ago but have not been able
> to find a solution. I want to use a chord symbol for an open interval (G D)
> with no third. I have tried using g1^3 but the symbol still appears as "G."
> I'd like it to say "G (no3)." I tried to accomplish it using this snippet from
> the reference manual:
> 
> 
> % modify maj9 and 6(add9)
> % Exception music is chords with markups
> chExceptionMusic = {
>   1-\markup { \super "(no3)" }

This should be 1, not 1.

The exception music can be thought of as being in the key of c, so you write
the chords as if they were in c.  Then you can write any open interval, and
it will work properly.

HTH,

Carl


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


Re: alignAboveContext not working

2011-03-08 Thread Richard Opheim
OK, but if I erase

"PartPOneVoiceOne =  \relative e' {\clef "treble" \key c \major \time 6/8"

the file won't compile.
On Tue, Mar 8, 2011 at 8:09 AM, Phil Holmes  wrote:

>  Here's one solution:
>
>  \version "2.12.3"
> \layout {\context {\Score }}
> \context Staff = "main"
> { e4 e e e
> <<{ e8 e4 e8 e4 d4. e4 c8 ~}
> \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3
> \override Stem #'length = #5
> \remove "Time_signature_engraver"
> \remove "Staff_symbol_engraver"
> \remove "Bar_engraver"}
> {b4 b8 r8 b8 b8 r8 b4 b4 b8}>>
> }
>
> --
> Phil Holmes
>
>
>
>   - Original Message -
> *From:* Richard Opheim 
> *To:* Lilypond user email list 
> *Sent:* Tuesday, March 08, 2011 11:05 AM
> *Subject:* alignAboveContext not working
>
> Hello. In the code below...
>
> \version "2.12.3"
> \layout {\context {\Score }}
> PartPOneVoiceOne =  %{Leader %} \relative e' {\clef "treble" \key c \major
> \time 6/8
> \partial 4. e8 e4
> <<{ e8 e4 e8 e4 d4. e4 c8 ~}
> \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3
> \override Stem #'length = #5
> \remove "Time_signature_engraver"
> \remove "Staff_symbol_engraver"
> \remove "Bar_engraver"}
> {b4 b8 r8 b8 b8 r8 b4 b4 b8}>>
>
> ... the ossia bars show up below the staff. I realize that I should put in
> \new Staff = "main" --- but where?
>
> Richard Opheim
>
>
>
>  --
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


-- 
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: slur control-points (collides with accidental)

2011-03-08 Thread Roland Goretzki
Hello list, hello David,

You wrote:
> You could also use this snippet, which works with the default
> control-points: http://lsr.dsi.unimi.it/LSR/Snippet?id=639

Wow, that's really great! :-)

Now I'm able to handle control-points, which was impossible to me
without this tool. (Too complicated to me.)

A long time I was waiting for something like that.
Thanks a lot.

Best Regards   Roland

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


Re: How to tell lilypond some barlines have width

2011-03-08 Thread Neil Puttock
On 8 March 2011 18:05, Laura Conrad  wrote:

> Does anyone know a way to tell lily that an "empty" barline shouldn't
> have space, but there should still be some space around the barlines
> that are being printed?

If you're running 2.13, change

defaultBarType = #"empty"

to

defaultBarType = #""

The latter takes up no space.

Cheers,
Neil

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


Re: left-aligning grobs to other grobs

2011-03-08 Thread David Nalesnik
> I think this is better asked on the lilypond-dev list as well.
>
> So while I don't have an answer (I am not a programmer) I have cc;d that
> list in case someone is reading that list and not the user lists.
>
> James
>>

Thank you, James -- I appreciate it,

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


Open (no3) chords in chordmode

2011-03-08 Thread Christopher Meredith
I've noticed this question asked here 6 or 7 years ago but have not been
able to find a solution. I want to use a chord symbol for an open interval
(G D) with no third. I have tried using g1^3 but the symbol still appears as
"G." I'd like it to say "G (no3)." I tried to accomplish it using this
snippet from the reference manual:


% modify maj9 and 6(add9)
% Exception music is chords with markups
chExceptionMusic = {
  1-\markup { \super "(no3)" }
}

% Convert music to list and prepend to existing exceptions.
chExceptions = #( append
  ( sequential-music-to-chord-exceptions chExceptionMusic #t)
  ignatzekExceptions)

musicScore = \context StaffGroup <<
   \new ChordNames \chordmode { \set majorSevenSymbol = "maj7"
\set chordNameExceptions = #chExceptions
g2^3 g4:m d:m/f g:m d:m c:m bes d1 d4:m bes f ees:/g d1
g2.^3 s4 s1 s1
c2:m c4:m7 d:m bes2. c4:m7 d2.^3 d4:m g2:m d4:m/f g:m d1
g1^3
}



But it does not seem to make a difference. Can anyone suggest a solution?
Thanks!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


How to tell lilypond some barlines have width

2011-03-08 Thread Laura Conrad

I'm attempting to print out my Holborne parts
 with
something more like 17th century spacing and less like 19th century
spacing.

A recipe for this that I got a year or so ago
 included
the magic word:

  \override BarLine #'extra-spacing-width = #'(+inf.0 . -inf.0)

This works very well for telling Lily not to put extra space between the
notes that are separated by an empty barline, which is something I want.

However, it seems to be telling Lily that even double thick repeat signs
with dots before and after take up no space, and this is causing a lot
of collisions when the spacing is tight, especially when the notes have
dots on them.

I've been playing with the other BarLine parameters, like kern and
thickthickness without much success.  

Does anyone know a way to tell lily that an "empty" barline shouldn't
have space, but there should still be some space around the barlines
that are being printed?

Thanks,
-- 
Laura   (mailto:lcon...@laymusic.org)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

Jesus, I'm Thirsty.  (Danku)

'Who's getting the beer?'
Judas stepped up to the bar.
He'd had a windfall!

Danny Reynolds


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


Re: left-aligning grobs to other grobs

2011-03-08 Thread James Lowe
David

-Original Message-
From: David Nalesnik 
Date: Tue, 8 Mar 2011 11:44:44 -0600
To: LilyPond User 
Subject: left-aligning grobs to other grobs

>Hi, all --
>
>Attached is a function which started out as an attempt to get tempo
>indications to line up with the left edge of the time signature.  It's
>been generalized so that you can left-align any grob responsive to
>'extra-offset to the closest grob of a specified type in that system
>(as far as I can tell so far -- you could even left-align a notehead
>to a barline, if you were so inclined...)
>
>It locates the closest grob by first searching all of the grobs in a
>system for every instance of the target type, then selecting the one
>that is closest horizontally.  (For example, if you want to align
>something to a barline, the function would determine where all the
>barlines are, then choose the nearest one).
>
>I have several questions:
>
>(1) Is there a way to locate the nearest grob more efficiently, so the
>routine doesn't have to search the entire system?
>
>(2) Is there a way to exclude grobs that are in the same system, but
>on a different staff?  I've looked at the 'staff-symbol property, but
>it's empty in some cases.
>
>(3) Does anybody have any suggestions how to improve the coding?  I'm
>enjoying learning Scheme, but my approach is rather hit-and-miss!
>
>

I think this is better asked on the lilypond-dev list as well.

So while I don't have an answer (I am not a programmer) I have cc;d that
list in case someone is reading that list and not the user lists.

James
>


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


left-aligning grobs to other grobs

2011-03-08 Thread David Nalesnik
Hi, all --

Attached is a function which started out as an attempt to get tempo
indications to line up with the left edge of the time signature.  It's
been generalized so that you can left-align any grob responsive to
'extra-offset to the closest grob of a specified type in that system
(as far as I can tell so far -- you could even left-align a notehead
to a barline, if you were so inclined...)

It locates the closest grob by first searching all of the grobs in a
system for every instance of the target type, then selecting the one
that is closest horizontally.  (For example, if you want to align
something to a barline, the function would determine where all the
barlines are, then choose the nearest one).

I have several questions:

(1) Is there a way to locate the nearest grob more efficiently, so the
routine doesn't have to search the entire system?

(2) Is there a way to exclude grobs that are in the same system, but
on a different staff?  I've looked at the 'staff-symbol property, but
it's empty in some cases.

(3) Does anybody have any suggestions how to improve the coding?  I'm
enjoying learning Scheme, but my approach is rather hit-and-miss!

Best,
David
\version "2.12.3"

leftAlignGrob =
#(define-music-function (parser location grob-to-align reference-grob) (string? symbol?)
 #{
\overrideProperty  $grob-to-align #'after-line-breaking #(lambda (grob)
  (let* ((sys (ly:grob-system grob))
	 (array (ly:grob-object sys 'all-elements))
	 (len (ly:grob-array-length array))
	 (current-grob-in-search (lambda (q)
	   (assq-ref (ly:grob-property (ly:grob-array-ref array q) 'meta) 'name)))
	 (default-coord (ly:grob-relative-coordinate grob sys X))
	 (lst '()))
  
   ;; find all instances in a system of the grob we want to use for alignment
   ;; returns list of X-coordinates, minus duplicates
	 (let lp ((x len))
	   (if (positive? x)
	   (begin
		 (if (eq? $reference-grob (current-grob-in-search (1- x)))
		 (set! lst
		   (uniq-list (append lst
			 (list (ly:grob-relative-coordinate (ly:grob-array-ref array (1- x)) sys X))
		 (lp (1- x)
  
  ;; find the value in the list closest to the X-coordinate of object to be aligned
	(let ((ref (car lst)))
	   (define closest (lambda (x)
	 (if (< (abs (- default-coord (car x))) (abs (- default-coord ref)))
		 (set! ref (car x)))
	 (if (not (null? (cdr x)))
		 (closest (cdr x)
  
  (closest lst)
  (ly:grob-set-property! grob 'extra-offset `(,(- ref default-coord) . 0)
  #}
)

\relative c' {

  %% bar 1
  \time 3/4
  \key d \major
  \leftAlignGrob #"Score.MetronomeMark" #'TimeSignature
  \tempo 4 = 120
  \once \override  TextScript #'padding = #2
  \leftAlignGrob #"TextScript" #'Clef
  d_"clef"
  \leftAlignGrob #"TextScript" #'KeySignature
  e_"key sig." fis

  %% bar 2
  e
  \once \override  Hairpin #'X-offset = #-1
  \leftAlignGrob #"TextScript" #'Hairpin
  d\<_"hairpin (offset)" e

  %% bar 3
  \leftAlignGrob #"TextScript" #'BarLine
  \time 2/4
  fis^"bar" d

  %% bar 4
  \time 4/4
  \leftAlignGrob #"TextScript" #'TimeSignature
  e^"meter" fis d
  \once \override  DynamicText #'X-offset = #0.5
  \leftAlignGrob #"TextScript" #'DynamicText
  fis\f_"dynamic (offset)"

  %% bar 5
  \leftAlignGrob #"TextScript" #'Stem
  \time 3/4
  e^"stem" fis d

  %% bar 6
  \leftAlignGrob #"Score.RehearsalMark" #'TimeSignature
  \mark #1
  \time 2/4
  fis d
}


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


Re: alignAboveContext not working

2011-03-08 Thread Phil Holmes
Here's one solution:

\version "2.12.3"
\layout {\context {\Score }}
\context Staff = "main"
{ e4 e e e 
<<{ e8 e4 e8 e4 d4. e4 c8 ~}
\new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 
\override Stem #'length = #5
\remove "Time_signature_engraver"
\remove "Staff_symbol_engraver" 
\remove "Bar_engraver"}
{b4 b8 r8 b8 b8 r8 b4 b4 b8}>>
}

--
Phil Holmes


  - Original Message - 
  From: Richard Opheim 
  To: Lilypond user email list 
  Sent: Tuesday, March 08, 2011 11:05 AM
  Subject: alignAboveContext not working


  Hello. In the code below...

  \version "2.12.3"
  \layout {\context {\Score }}
  PartPOneVoiceOne =  %{Leader %} \relative e' {\clef "treble" \key c \major 
\time 6/8 
  \partial 4. e8 e4
  <<{ e8 e4 e8 e4 d4. e4 c8 ~}
  \new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 
  \override Stem #'length = #5
  \remove "Time_signature_engraver"
  \remove "Staff_symbol_engraver" 
  \remove "Bar_engraver"}
  {b4 b8 r8 b8 b8 r8 b4 b4 b8}>>

  ... the ossia bars show up below the staff. I realize that I should put in 
\new Staff = "main" --- but where?

  Richard Opheim
   





--


  ___
  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: slur control-points (collides with accidental)

2011-03-08 Thread David Nalesnik
On 3/8/11, Jan-Peter Voigt  wrote:
> This is nice! I mostly use frescobaldi, but I will update
> jeditlilypondtool on my mac.
> And I will look, if there is a way, to get lilys points as a default.
>
> Jan-Peter
>
> On 08.03.2011 12:28, Bertalan Fodor (LilyPondTool) wrote:
>> Would LilyPondTool's Slur Tweak feature help?
>>
>> See
>> http://lilypondtool.organum.hu/fileadmin/lilypondtool/docs/ch05s05.html
>>
>> Bert
>>
>>
>> On Tue, Mar 8, 2011 at 12:11 PM, Jan-Peter Voigt > > wrote:
>>
>> Hello List,
>>
>> I have a figure with a slur, where the slur collides with an
>> accidental. So I tried using control-points to move/shape it a little.
>> Well I still prefer lilys version and have to live with touching
>> the accidental, because my shape doesn't look natural and I have
>> to try to find the right points.
>> My Question is, is there a way to get lilys control-points and
>> modify them just a little bit?

Hi Jan-Peter,

You could also use this snippet, which works with the default
control-points: http://lsr.dsi.unimi.it/LSR/Snippet?id=639

Best,
David

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


Re: slur control-points (collides with accidental)

2011-03-08 Thread Jan-Peter Voigt
This is nice! I mostly use frescobaldi, but I will update 
jeditlilypondtool on my mac.

And I will look, if there is a way, to get lilys points as a default.

Jan-Peter

On 08.03.2011 12:28, Bertalan Fodor (LilyPondTool) wrote:

Would LilyPondTool's Slur Tweak feature help?

See 
http://lilypondtool.organum.hu/fileadmin/lilypondtool/docs/ch05s05.html


Bert


On Tue, Mar 8, 2011 at 12:11 PM, Jan-Peter Voigt > wrote:


Hello List,

I have a figure with a slur, where the slur collides with an
accidental. So I tried using control-points to move/shape it a little.
Well I still prefer lilys version and have to live with touching
the accidental, because my shape doesn't look natural and I have
to try to find the right points.
My Question is, is there a way to get lilys control-points and
modify them just a little bit?

--snip--
\version "2.12.3"

\relative c'' {
 \time 6/4 \autoBeamOff
 c!8([ fis, g! bes] a[ d, dis gis b! cis]) d! bes
 \once \override Slur #'control-points = #'((0.3 . -0.3) (2 . -8)
(13 . -6.5) (27.3 . -0.3))
 c!8([ fis, g! bes] a[ d, dis gis b! cis]) d! bes
}
--snip--

Cheers,
Jan-Peter


___
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: ANN: Les colles de Bach - The Bach's School (You've got me, there)

2011-03-08 Thread Phil Hézaine
Le 08/03/2011 09:48, Bertalan Fodor (LilyPondTool) a écrit :
> Wow! This is great.
> 
> Thank you.
> 
> Bert

Thanks. Just now I recall your question about the famous 'G' in:
Le Puzzle du Batteur - The Drummer's 'G'igsaw.
Well, you get the whole answer with:
Les 'colles' de Bach - The Bach's School ;-)

All the best.
Phil.

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


Re: slur control-points (collides with accidental)

2011-03-08 Thread Bertalan Fodor (LilyPondTool)
Would LilyPondTool's Slur Tweak feature help?

See http://lilypondtool.organum.hu/fileadmin/lilypondtool/docs/ch05s05.html

Bert


On Tue, Mar 8, 2011 at 12:11 PM, Jan-Peter Voigt  wrote:

> Hello List,
>
> I have a figure with a slur, where the slur collides with an accidental. So
> I tried using control-points to move/shape it a little.
> Well I still prefer lilys version and have to live with touching the
> accidental, because my shape doesn't look natural and I have to try to find
> the right points.
> My Question is, is there a way to get lilys control-points and modify them
> just a little bit?
>
> --snip--
> \version "2.12.3"
>
> \relative c'' {
>  \time 6/4 \autoBeamOff
>  c!8([ fis, g! bes] a[ d, dis gis b! cis]) d! bes
>  \once \override Slur #'control-points = #'((0.3 . -0.3) (2 . -8) (13 .
> -6.5) (27.3 . -0.3))
>  c!8([ fis, g! bes] a[ d, dis gis b! cis]) d! bes
> }
> --snip--
>
> Cheers,
> Jan-Peter
>
>
> ___
> 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: How to override VoltaBracket once?

2011-03-08 Thread TaoCG


-Eluze wrote:
> 
> just put it at the beginning of each alternative in which you want to
> lower the volta bracket!
> hth
> 

Alright, I always thought that both brackets count as one.
Also I thought that I at least had tried to put this in one of the
alternatives but apparently I didn't.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/How-to-override-VoltaBracket-once--tp31095175p31096272.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


slur control-points (collides with accidental)

2011-03-08 Thread Jan-Peter Voigt

Hello List,

I have a figure with a slur, where the slur collides with an accidental. 
So I tried using control-points to move/shape it a little.
Well I still prefer lilys version and have to live with touching the 
accidental, because my shape doesn't look natural and I have to try to 
find the right points.
My Question is, is there a way to get lilys control-points and modify 
them just a little bit?


--snip--
\version "2.12.3"

\relative c'' {
  \time 6/4 \autoBeamOff
  c!8([ fis, g! bes] a[ d, dis gis b! cis]) d! bes
  \once \override Slur #'control-points = #'((0.3 . -0.3) (2 . -8) (13 
. -6.5) (27.3 . -0.3))

  c!8([ fis, g! bes] a[ d, dis gis b! cis]) d! bes
}
--snip--

Cheers,
Jan-Peter


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


alignAboveContext not working

2011-03-08 Thread Richard Opheim
Hello. In the code below...

\version "2.12.3"
\layout {\context {\Score }}
PartPOneVoiceOne =  %{Leader %} \relative e' {\clef "treble" \key c \major
\time 6/8
\partial 4. e8 e4
<<{ e8 e4 e8 e4 d4. e4 c8 ~}
\new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3
\override Stem #'length = #5
\remove "Time_signature_engraver"
\remove "Staff_symbol_engraver"
\remove "Bar_engraver"}
{b4 b8 r8 b8 b8 r8 b4 b4 b8}>>

... the ossia bars show up below the staff. I realize that I should put in
\new Staff = "main" --- but where?

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


Re: How to override VoltaBracket once?

2011-03-08 Thread -Eluze


TaoCG wrote:
> 
> Hi,
> 
> what I am basically trying to do is to override a property of VoltaBracket
> once but I can't figure out where to place the command in the code. When I
> remove \once it works fine. I know I can just revert the property but I am
> still curious why it won't work.
> 
> Actually I have a coda sign in the alternative-part and I set its
> outside-staff-priority to 0 to have it below the volta bracket but now the
> volta bracket seems to be to far away.
> The following snippet produces what I want but if I try to override with
> \once nothing happens.
> 
> \version "2.13.52"
> 
> 
> music =
> {
>   \repeat unfold 6 { c'1 }
> }
> 
> frame =
> {
>   \override Score.VoltaBracket #'extra-offset = #'(0 . -1.5)  
>   \repeat volta 2
>   {   
>   s1*2
>   }
>   \alternative
>   {
>   { s1*2 }
>   {
>   s1
>   \once \override Score.RehearsalMark 
> #'outside-staff-priority = #0
>   \mark \markup \musicglyph #"scripts.coda"
>   s1
>   }
>   }
>   \bar "||"
> }
> 
> \score
> {
>   <<
>   \new Staff = "s" \new Voice = "v" << \frame \music >>
>   >>
> }
> 
just put it at the beginning of each alternative in which you want to lower
the volta bracket!
hth
-- 
View this message in context: 
http://old.nabble.com/How-to-override-VoltaBracket-once--tp31095175p31095789.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: use a custom soundfont

2011-03-08 Thread Janek Warchoł
2011/2/24 
>
> How can I attach a custom soundfont to Lilypond? I know a general Midi 
> soundfont can not be attached.
> My custom soundfont uses less then 16 channels. So that should be sufficient.

Isn't this a matter of midi player/operating system? If i'm right,
midi files to not contain any data about sounfonts, it's only "midi
events" which are converted into sound by the program used for
playback. It's the program that plays midi who uses the soundfont,
unless i'm mistaken.

cheers,
Janek

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


Re: ANN: Les colles de Bach - The Bach's School (You've got me, there)

2011-03-08 Thread Bertalan Fodor (LilyPondTool)
Wow! This is great.

Thank you.

Bert

On Mon, Mar 7, 2011 at 9:45 PM, Phil Hézaine wrote:

> Hi all,
>
> "Les 'colles' de Bach - The Bach's School (You've got me, there)"
> is the full version of Bach's Chorales transcribed
> (Under Free Art License) for GNU Solfege 3.19.4
> This transcription is especially for music students,
> or classes of Solfege - Harmony - Counterpoint.
> You first need to install the 3.19.4 and read the LISEZ-MOI-README
> either on site or in the zip package.
>
>  http://superbonus.project.free.fr/spip.php?article48
>
> Be happy.
> Phil.
>
> ___
> 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


How to override VoltaBracket once?

2011-03-08 Thread TaoCG

Hi,

what I am basically trying to do is to override a property of VoltaBracket
once but I can't figure out where to place the command in the code. When I
remove \once it works fine. I know I can just revert the property but I am
still curious why it won't work.

Actually I have a coda sign in the alternative-part and I set its
outside-staff-priority to 0 to have it below the volta bracket but now the
volta bracket seems to be to far away.
The following snippet produces what I want but if I try to override with
\once nothing happens.

\version "2.13.52"


music =
{
\repeat unfold 6 { c'1 }
}

frame =
{
\override Score.VoltaBracket #'extra-offset = #'(0 . -1.5)  
\repeat volta 2
{   
s1*2
}
\alternative
{
{ s1*2 }
{
s1
\once \override Score.RehearsalMark 
#'outside-staff-priority = #0
\mark \markup \musicglyph #"scripts.coda"
s1
}
}
\bar "||"
}

\score
{
<<
\new Staff = "s" \new Voice = "v" << \frame \music >>
>>
}
-- 
View this message in context: 
http://old.nabble.com/How-to-override-VoltaBracket-once--tp31095175p31095175.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