RE: Horizontal note spacing in chant template

2024-04-17 Thread richard
Thanks David, much appreciated.

> and confusing the bass eye

...doesn't take much (says the tenor)  

I was thinking about using a bracket/arpeggio as in the documentation.

-Original Message-
From: lilypond-user-bounces+richard=oneill-griffiths@gnu.org
 On Behalf Of
David Wright
Sent: Wednesday, April 17, 2024 4:04 PM
To: rich...@oneill-griffiths.net
Cc: lilypond-user@gnu.org
Subject: Re: Horizontal note spacing in chant template

On Wed 17 Apr 2024 at 11:45:51 (+0100), rich...@oneill-griffiths.net wrote:
> Hi, I've been using the Anglican chant template to set items for our 
> choir and I've just a note spacing problem with one chant (Walford 
> Davies) last quarter.
>  
> How do I address the note spacing for the B/C clash in the 3rd bar?

voiceThree will provide the offset, and handle the stem correctly.
You can reduce the amount of bracketing too, as attached.

> Now if there's also an easier way to show that voice split in the 
> tenor part, I'd  appreciate it.

Conventionally, one uses an arpeggio bracket to resolve the ambiguity with
semibreves, as shown.

I would advise against abandoning convention, and confusing the bass eye, by
any use of stemDown in the tenor part.

Cheers,
David.




Re: Horizontal note spacing in chant template

2024-04-17 Thread David Wright
On Wed 17 Apr 2024 at 11:45:51 (+0100), rich...@oneill-griffiths.net wrote:
> Hi, I've been using the Anglican chant template to set items for our choir
> and I've just a note spacing problem with one chant (Walford Davies) last
> quarter.
>  
> How do I address the note spacing for the B/C clash in the 3rd bar?

voiceThree will provide the offset, and handle the stem correctly.
You can reduce the amount of bracketing too, as attached.

> Now if there's also an easier way to show that voice split in the tenor
> part, I'd  appreciate it.

Conventionally, one uses an arpeggio bracket to resolve the ambiguity
with semibreves, as shown.

I would advise against abandoning convention, and confusing the bass eye,
by any use of stemDown in the tenor part.

Cheers,
David.
\version "2.24.0"
\language "english"

global = {
  \key c \minor
   s1*4 \bar "|."
}

TenorMusic = \relative {
  g1 af2 c2 c2
  <<
c2
\new Voice = "melody" {
  \voiceThree
  bf4 af4
}
  >>
  \arpeggioBracket < c g >1 \arpeggio
}

BassMusic = \relative {
  af,1 df2 c2 f2 bf,2 ef1
}

\markup {
  \fill-line {
\score {
  <<
\new ChoirStaff <<
  \new Staff <<
\clef "bass"
\global
\new Voice = "Tenor" <<
  \voiceOne
  \TenorMusic
>>
 \new Voice = "Bass" <<
  \voiceTwo
  \BassMusic
>>
  >>
>>
  >>
  \layout {
\context {
  \Score
  fineBarType = "||"
}
\context {
  \Staff
  \remove Time_signature_engraver
}
  }
}
  }
}


RE: Horizontal note spacing in chant template

2024-04-17 Thread richard
Thanks. 

Appreciate the help

-Original Message-
From: lilypond-user-bounces+richard=oneill-griffiths@gnu.org 
 On Behalf Of Mats 
Bengtsson
Sent: Wednesday, April 17, 2024 1:20 PM
To: lilypond-user@gnu.org; rich...@oneill-griffiths.net
Subject: Re: Horizontal note spacing in chant template


On 2024-04-17 12:45, rich...@oneill-griffiths.net wrote:
>
> Hi, I’ve been using the Anglican chant template to set items for our 
> choir and I’ve just a note spacing problem with one chant (Walford
> Davies) last quarter.
>
> How do I address the note spacing for the B/C clash in the 3^rd bar?
>
> Now if there’s also an easier way to show that voice split in the 
> tenor part, I’d appreciate it.
>
> Thanks
>
> Richard Griffiths
>
> \version "2.24.0"
>
> \language "english"
>
> global = {
>
> \key c \minor
>
> s1*4 \bar "|."
>
> }
>
> TenorMusic = \relative {
>
> g1 af2 c2 c2
>
> \new Voice = "melody" {
>
> <<
>
> \new Voice {
>
> \voiceTwo
>
> \stemUp
>
> bf4 af4 g1
>
> }
>
> {
>
> \voiceOne
>
> c2 c1
>
> }
>
> >>
>
> }
>
> }
>
> BassMusic= \relative {
>
> af,1 df2 c2 f2 bf,2 ef1
>
> }
>
> \markup {
>
> \fill-line {
>
> \score {
>
> <<
>
> \new ChoirStaff <<
>
> \new Staff <<
>
> \clef "bass"
>
> \global
>
> \new Voice = "Tenor" <<
>
> \voiceOne
>
> \TenorMusic
>
> >>
>
> \new Voice = "Bass" <<
>
> \voiceTwo
>
> \BassMusic
>
> >>
>
> >>
>
> >>
>
> >>
>
> \layout {
>
> \context {
>
> \Score
>
> fineBarType = "||"
>
> }
>
> \context {
>
> \Staff
>
> \remove Time_signature_engraver
>
> }
>
> }
>
> }
>
> }
>
> }
>
Why not use \voiceThree and/or \voiceFour, see 
https://lilypond.org/doc/v2.24/Documentation/learning/i_0027m-hearing-voices. 
In other words, replace your definition of TenorMusic by

TenorMusic = \relative {
   g1 af2 c2 c2
   \new Voice = "melody" {
 <<
   \new Voice {
 \voiceThree
 bf4 af4 g1
   }
   {
 \voiceOne
 c2 c1
   }
 >>
   }
}

 /Mats





Re: Horizontal note spacing in chant template

2024-04-17 Thread Mats Bengtsson



On 2024-04-17 12:45, rich...@oneill-griffiths.net wrote:


Hi, I’ve been using the Anglican chant template to set items for our 
choir and I’ve just a note spacing problem with one chant (Walford 
Davies) last quarter.


How do I address the note spacing for the B/C clash in the 3^rd bar?

Now if there’s also an easier way to show that voice split in the 
tenor part, I’d appreciate it.


Thanks

Richard Griffiths

\version "2.24.0"

\language "english"

global = {

\key c \minor

s1*4 \bar "|."

}

TenorMusic = \relative {

g1 af2 c2 c2

\new Voice = "melody" {

<<

\new Voice {

\voiceTwo

\stemUp

bf4 af4 g1

}

{

\voiceOne

c2 c1

}

>>

}

}

BassMusic= \relative {

af,1 df2 c2 f2 bf,2 ef1

}

\markup {

\fill-line {

\score {

<<

\new ChoirStaff <<

\new Staff <<

\clef "bass"

\global

\new Voice = "Tenor" <<

\voiceOne

\TenorMusic

>>

\new Voice = "Bass" <<

\voiceTwo

\BassMusic

>>

>>

>>

>>

\layout {

\context {

\Score

fineBarType = "||"

}

\context {

\Staff

\remove Time_signature_engraver

}

}

}

}

}

Why not use \voiceThree and/or \voiceFour, see 
https://lilypond.org/doc/v2.24/Documentation/learning/i_0027m-hearing-voices. 
In other words, replace your definition of TenorMusic by


TenorMusic = \relative {
  g1 af2 c2 c2
  \new Voice = "melody" {
    <<
  \new Voice {
    \voiceThree
    bf4 af4 g1
  }
  {
    \voiceOne
    c2 c1
  }
    >>
  }
}

    /Mats




RE: Horizontal note spacing in chant template

2024-04-17 Thread richard
Thank you so much.
 
From: Michael Werner  
Sent: Wednesday, April 17, 2024 12:55 PM
To: rich...@oneill-griffiths.net; lilypond-user@gnu.org
Subject: Re: Horizontal note spacing in chant template
 
Hi Richard,
On 2024-Apr-17 06:45, rich...@oneill-griffiths.net 
<mailto:rich...@oneill-griffiths.net>  wrote:
Hi, I’ve been using the Anglican chant template to set items for our choir and 
I’ve just a note spacing problem with one chant (Walford Davies) last quarter.
 
How do I address the note spacing for the B/C clash in the 3rd bar?
 
Now if there’s also an easier way to show that voice split in the tenor part, 
I’d  appreciate it.
 
Probably better ways to go about this, but what I came up with is to change the 
tenor part to:
TenorMusic = \relative {
  g1 af2 c2 c2
  \new Voice = "melody" {
<<
  \new Voice {
\voiceFour
\once \override NoteColumn.force-hshift = 1.2 bf4 af4 g1
  }
  {
\voiceOne
c2 c1
  }
>>
  }
}
This results in:



-- 
Michael


Re: Horizontal note spacing in chant template

2024-04-17 Thread Michael Werner

Hi Richard,

On 2024-Apr-17 06:45, rich...@oneill-griffiths.net wrote:


Hi, I’ve been using the Anglican chant template to set items for our choir and 
I’ve just a note spacing problem with one chant (Walford Davies) last quarter.

How do I address the note spacing for the B/C clash in the 3^rd bar?

Now if there’s also an easier way to show that voice split in the tenor part, 
I’d appreciate it.



Probably better ways to go about this, but what I came up with is to change the 
tenor part to:

TenorMusic = \relative { g1 af2 c2 c2 \new Voice = "melody" { << \new Voice { 
\voiceFour \once \override NoteColumn.force-hshift = 1.2 bf4 af4 g1 } { \voiceOne c2 c1 } >> } }

This results in:

--

Michael



OpenPGP_signature.asc
Description: OpenPGP digital signature


Horizontal note spacing in chant template

2024-04-17 Thread richard
Hi, I've been using the Anglican chant template to set items for our choir
and I've just a note spacing problem with one chant (Walford Davies) last
quarter.
 
How do I address the note spacing for the B/C clash in the 3rd bar?
 
Now if there's also an easier way to show that voice split in the tenor
part, I'd  appreciate it.
 
Thanks
 
Richard Griffiths
 
\version "2.24.0"
\language "english"
 
global = {
  \key c \minor
   s1*4 \bar "|."
}
TenorMusic = \relative {
  g1 af2 c2 c2
  \new Voice = "melody" {
<<
  \new Voice {
\voiceTwo
\stemUp
bf4 af4 g1
  }
  {
\voiceOne
c2 c1
  }
>>
  }
}
BassMusic = \relative {
  af,1 df2 c2 f2 bf,2 ef1
}
\markup {
  \fill-line {
\score {
  <<
\new ChoirStaff <<
  \new Staff <<
\clef "bass"
\global
\new Voice = "Tenor" <<
  \voiceOne
  \TenorMusic
>>
 \new Voice = "Bass" <<
  \voiceTwo
  \BassMusic
>>
  >>
>>
  >>
  \layout {
\context {
  \Score
  fineBarType = "||"
}
\context {
  \Staff
  \remove Time_signature_engraver
}
  }
}
  }
}


RE: Horizontal note spacing

2016-11-23 Thread Andrew Bernard
Hi Abraham,

 

What a great help. I have been wanting this for a very long time. Overriding

 

Score.NoteSpacing.knee-spacing-correction

 

allows the kneed beamed grace notes to be evenly spaced, with trial and error 
for the right number.

 

Very much appreciated.

 

This is almost worth an LSR snippet, don’t you think? It is pretty hard to 
figure this out even if you pore through the reference manuals for months, if 
you don’t know what you are looking for.

 

 

Andrew

 

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


Re: Horizontal note spacing

2016-11-23 Thread tisimst
Hey, Andrew!

On Tue, Nov 22, 2016 at 8:54 PM, Andrew Bernard [via Lilypond] <
ml-node+s1069038n197023...@n5.nabble.com> wrote:

> I have tried setting new spacing sections every which way with no success.
> I think it is the dodecaphonic accidental style combined with the cross
> staff kneed beaming that causes the difficulty. Unless I just don’t
> understand how to use them. Plus I think this is muddied by the overall
> score proportional spacing settings, but I am really not sure how they
> interact with new spacing sections. But I have not thought of your
> suggestion. What settings of the SpacingSpanner grob would be in play here?
>

I have to apologize. I was going off of memory and (sigh) remembered wrong.
I meant to point you at the NoteSpacing grob (
http://lilypond.org/doc/v2.19/Documentation/internals/notespacing). This
grob controls the optical corrections that are applied in situations like
kneed beams, opposing stems, etc. I don't have a good answer for your
search, but you might be able to tailor those properties to your needs by
either increasing or decreasing their values (and in case you're wondering,
setting the numeric ones to zero and the boolean one to #f makes the output
even worse, so the values should probably be increased, if anything).


> And something I have wanted to ask just forever – what is this springs and
> rods business? The IR is rather terse, as is its wont.
>

I can't tell you the details (because I don't fully understand how they are
implemented, but "springs and rods" refers to how LilyPond spaces things.
Certain dimensions behave more like a spring and can expand or contract
(like the space between notes or between staves). Others are relatively
fixed in length like a inextensible rod (e.g., the space before/after
barlines, accidentals, etc.). Does that make more sense, at least what it's
means in theory? Sorry I can't be of more help than that.

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Horizontal-note-spacing-tp197021p197044.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Horizontal note spacing

2016-11-22 Thread Andrew Bernard
Hi Abraham,

 

I have tried setting new spacing sections every which way with no success. I 
think it is the dodecaphonic accidental style combined with the cross staff 
kneed beaming that causes the difficulty. Unless I just don’t understand how to 
use them. Plus I think this is muddied by the overall score proportional 
spacing settings, but I am really not sure how they interact with new spacing 
sections. But I have not thought of your suggestion. What settings of the 
SpacingSpanner grob would be in play here?

 

And something I have wanted to ask just forever – what is this springs and rods 
business? The IR is rather terse, as is its wont.

 

Andrew

 

From: Abraham Lee [mailto:tisimst.lilyp...@gmail.com] 
Sent: Wednesday, 23 November 2016 1:40 PM
To: Andrew Bernard <andrew.bern...@gmail.com>
Cc: lilypond-user@gnu.org
Subject: Re: Horizontal note spacing

 

Have a look in the IR at the grob SpacingSpanner. It's properties control all 
the optical spacing functionality. You can turn off/on the optical properties 
whenever you want.

 

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


Re: Horizontal note spacing

2016-11-22 Thread Abraham Lee
Andrew,

On Tuesday, November 22, 2016, Andrew Bernard 
wrote:

> Greetings All,
>
>
>
> With the reasonably complex contemporary music that I engrave for my
> colleague, I often come across situations where lilypond spaces note stems
> in a beamed group unevenly, but we would like them to be equally spaced.
> Lilypond is certainly doing the right thing, but we particularly want an
> optically even spacing rather than the probably technically correct
> engraving practice that lilypond produces.
>
>
>
> I use proportional spacing in my actual scores, but have not included that
> in the MWE, as it makes no difference. The MWE here shows the uneven
> spacing of the stems in the grace note figures. It would be excellent if I
> could shift the note columns around to even this up visually. I am not
> saying this is a bug – just an effect I would like to have control over.
>
>
>
> A function would be nice, as I have hundreds of these cases. Is this
> possible by any stretch of the imagination?
>
>
>
> [Sorry this is a bit unminimal but I need to illustrate the matter
> exactly, and I wanted to show two examples of this, from an actual score.]
>
>
>
> Andrew
>
>
>
> == snip
>
>
>
> \version "2.19.50"
>
>
>
> treble = {
>
>   \clef treble
>
>   \time 1/4
>
>
>
>   c'4
>
>   16 16. 16
>
>   32
>
>   c'4
>
> }
>
>
>
> bass = {
>
>   \clef treble
>
>   \time 1/4
>
>
>
>   c'4
>
>
>
>   \override Beam.positions = #'(5 . 5)
>
>   \grace {
>
> \set tieWaitForNote = ##t
>
> b8[ _~ c' _~ d' ^~ ees' ^~
>
> \change Staff = treble \stemDown
>
> g']
>
> \change Staff = bass \stemUp
>
>   }
>
>   \once \override Beam.positions = #'(4 . 4)
>
>
>
>   8..[
>
>   \grace {
>
> \set tieWaitForNote = ##t
>
> a8[ _~ c' _~ des' _~ e' ^~
>
> \change Staff = treble \stemDown
>
> fis']
>
> \change Staff = bass \stemUp
>
>   }
>
>   32] |
>
>
>
>   c'4
>
> }
>
>
>
> \score {
>
>
>
>   \new PianoStaff
>
>   <<
>
> \new Staff = "treble" \treble
>
> \new Staff = "bass" \bass
>
>   >>
>
>
>
>   \layout {
>
> \context {
>
>   \Score
>
>   \accidentalStyle Score.dodecaphonic
>
> }
>
>   }
>
> }
>
> == snip
>

Have a look in the IR at the grob SpacingSpanner. It's properties control
all the optical spacing functionality. You can turn off/on the optical
properties whenever you want.

HTH,
Abraham
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Horizontal note spacing

2016-11-22 Thread Andrew Bernard
Greetings All,

 

With the reasonably complex contemporary music that I engrave for my
colleague, I often come across situations where lilypond spaces note stems
in a beamed group unevenly, but we would like them to be equally spaced.
Lilypond is certainly doing the right thing, but we particularly want an
optically even spacing rather than the probably technically correct
engraving practice that lilypond produces.

 

I use proportional spacing in my actual scores, but have not included that
in the MWE, as it makes no difference. The MWE here shows the uneven spacing
of the stems in the grace note figures. It would be excellent if I could
shift the note columns around to even this up visually. I am not saying this
is a bug - just an effect I would like to have control over.

 

A function would be nice, as I have hundreds of these cases. Is this
possible by any stretch of the imagination?

 

[Sorry this is a bit unminimal but I need to illustrate the matter exactly,
and I wanted to show two examples of this, from an actual score.]

 

Andrew

 

== snip

 

\version "2.19.50"

 

treble = {

  \clef treble

  \time 1/4

 

  c'4

  16 16. 16

  32

  c'4

}

 

bass = {

  \clef treble

  \time 1/4

 

  c'4

 

  \override Beam.positions = #'(5 . 5)

  \grace {

\set tieWaitForNote = ##t

b8[ _~ c' _~ d' ^~ ees' ^~

\change Staff = treble \stemDown

g']

\change Staff = bass \stemUp

  }

  \once \override Beam.positions = #'(4 . 4)

 

  8..[

  \grace {

\set tieWaitForNote = ##t

a8[ _~ c' _~ des' _~ e' ^~

\change Staff = treble \stemDown

fis']

\change Staff = bass \stemUp

  }

  32] |

 

  c'4

}

 

\score {

 

  \new PianoStaff

  <<

\new Staff = "treble" \treble

\new Staff = "bass" \bass

  >>

 

  \layout {

\context {

  \Score

  \accidentalStyle Score.dodecaphonic

}

  }

}

== snip

 

 

 

 

 

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


Re: Horizontal note spacing

2014-03-16 Thread Benjamin Fluehr
Thank you Alexander, that worked great.

I discovered that part of the reason my previous efforts had failed is that
I was including gregorian.ly, which specifies \override
SpacingSpanner.packed-spacing = ##t. Packed spacing had a number of side
effects that were not desirable for this use case.


On Fri, Mar 14, 2014 at 8:01 AM, Alexander Kobel n...@a-kobel.de wrote:

 On 03/14/2014 01:34 PM, Benjamin Fluehr wrote:

 I am re-engraving music based on the attached image. Notice that the
 original editor tightened the horizontal spacing between the notes on
 the syllables De- and Pa-. This was done to mimic the Gregorian
 chant neumes on which the music is based.

 Could someone recommend how to achieve this in Lilypond? [...]


 Hi Benjamin,

 what about faking note durations? (See the attached example.)


 HTH,
 Alexander

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


Horizontal note spacing

2014-03-14 Thread Benjamin Fluehr
I am re-engraving music based on the attached image. Notice that the
original editor tightened the horizontal spacing between the notes on the
syllables De- and Pa-. This was done to mimic the Gregorian chant
neumes on which the music is based.

Could someone recommend how to achieve this in Lilypond? The best I have
come up with is:

normalSpacing = { \override NoteColumn.X-extent = #'(1 . 6) }
tightSpacing = { \revert NoteColumn.X-extent }

This approach has a number of downsides (can't start or stop in the middle
of a slur; can't squeeze multiple notes underneath a lyric syllable).

Thanks!
attachment: spacing.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal note spacing

2014-03-14 Thread Alexander Kobel

On 03/14/2014 01:34 PM, Benjamin Fluehr wrote:

I am re-engraving music based on the attached image. Notice that the
original editor tightened the horizontal spacing between the notes on
the syllables De- and Pa-. This was done to mimic the Gregorian
chant neumes on which the music is based.

Could someone recommend how to achieve this in Lilypond? [...]


Hi Benjamin,

what about faking note durations? (See the attached example.)


HTH,
Alexander
attachment: greg-durations.png\version 2.18.0

% from gregorian.ly
divisioMaior = {
  \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
  \once \override BreathingSign.Y-offset = #0

  % Workaround: add padding.  Correct fix would be spacing engine handle this.
  \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
  \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)

  \breathe
}
finalis = {
  \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
  \once \override BreathingSign.Y-offset = #0

  % Workaround: add padding.  Correct fix would be spacing engine handle this.
  \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
  \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)

  \breathe
}

\score {
  
\new Staff \with {
  \remove Time_signature_engraver
  \hide Stem
} {
  \key d \major
  \new Voice = V \relative c'' {
\cadenzaOn
a4 fis d g fis fis4*1/3( e d4) d4 % or fis16, fis4*1/6, whatever you like
\finalis
fis4*1/3( g4) fis a fis d e d % ditto
\divisioMaior
  }
}

\new Lyrics \lyricsto V \lyricmode {
  Cre -- do in u -- num De -- um.
  Pa -- trem om -- ni -- po -- ten -- tem,
}
  

  \layout {
\context {
  \Score
  %% You also might want to try this:
  % \override SpacingSpanner.strict-note-spacing = ##t
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal note spacing

2013-10-03 Thread Franciszek Boehlke
I tried my simple approach to disabling collision detection, but I didn't
get desired (or deserved, as I smartly wrote in previous mail :P) effect -
spaces between notes with accidentals were still slightly wider than other,
and some other spacing rules got very wrong. Well, I expected it to work a
bit better.

Cheers,
Franek


2013/10/1 Franciszek Boehlke franio.kropk...@gmail.com

 I'm not completely sure of that, but disabling springs should be quite
 easy to do (in C++ code), and effect might be what is deserved, i.e. no
 smart spacing. However, it can result in lots of collisions in some cases.
 Maybe I'll try it today or tomorrow, I'd like to remind myself spring code
 a bit.


 2013/10/1 David Kastrup d...@gnu.org

 LaurenH l.v.had...@sms.ed.ac.uk writes:

  I'm looking for a music writing program that will allow me to precisely
  control horizontal spacing for use in a psychology sight-reading
  study.

 You are probably best off writing your own program then.  LilyPond does
 so many tweaks and finetunes and optical spacing and what else that it
 will take a lot of work to wrest control of horizontal spacing in its
 entirety from it.

 Now you can, like, use LilyPond's markup constructs in order to puzzle
 things together starting at music glyphs.  Whether that is a more
 convenient path for you than just using any old program (or possibly Urs
 Liska's project of making LilyPond glyphs accessible to LaTeX) is a
 different question.

 It might also be worth looking at MusiXTeX, actually: one of its main
 nuisances is that you are yourself responsible for every tiny bit of
 spacing and collision avoidance and whatever.  For your task, that might
 be rather an advantage.

 --
 David Kastrup


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



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


Horizontal note spacing

2013-10-01 Thread LaurenH
I'm looking for a music writing program that will allow me to precisely
control horizontal spacing for use in a psychology sight-reading study.
Though I've found information on how to pad accidentals etc I was wondering
if someone could help with a few more detailed horizontal spacing questions:

(1) I need to be able to choose how wide a bar is (e.g. 3cm, or 1/8 the
total page-width), and make each system's spacing the same. I'd need this
width to be set regardless of what is in the bar. Is this possible? 

(2) I additionally need to define the distances between notes (i.e. ratio of
2 for each doubled duration) and I need this to be completely unaffected by
accidentals- i.e I want no padding around accidentals. Is this possible? 

I'd really appreciate someone letting me know whether Lilypond would be an
appropriate program to use for my study. Thanks, Lauren



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Horizontal-note-spacing-tp151701.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Horizontal note spacing

2013-10-01 Thread Mike Solomon

On 1 oct. 2013, at 13:59, LaurenH l.v.had...@sms.ed.ac.uk wrote:

 I'm looking for a music writing program that will allow me to precisely
 control horizontal spacing for use in a psychology sight-reading study.
 Though I've found information on how to pad accidentals etc I was wondering
 if someone could help with a few more detailed horizontal spacing questions:
 
 (1) I need to be able to choose how wide a bar is (e.g. 3cm, or 1/8 the
 total page-width), and make each system's spacing the same. I'd need this
 width to be set regardless of what is in the bar. Is this possible? 
 
 (2) I additionally need to define the distances between notes (i.e. ratio of
 2 for each doubled duration) and I need this to be completely unaffected by
 accidentals- i.e I want no padding around accidentals. Is this possible? 
 
 I'd really appreciate someone letting me know whether Lilypond would be an
 appropriate program to use for my study. Thanks, Lauren
 

LilyPond can probably do (2) via its proportional notation commands.  (1) is 
possible if you make the line skip at each bar.  Otherwise, you'd have to make 
changes to the C++ code used to compile the LilyPond executable.  The changes 
wouldn't be complicated but would require working knowledge of C++.

Cheers,
MS
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal note spacing

2013-10-01 Thread David Kastrup
LaurenH l.v.had...@sms.ed.ac.uk writes:

 I'm looking for a music writing program that will allow me to precisely
 control horizontal spacing for use in a psychology sight-reading
 study.

You are probably best off writing your own program then.  LilyPond does
so many tweaks and finetunes and optical spacing and what else that it
will take a lot of work to wrest control of horizontal spacing in its
entirety from it.

Now you can, like, use LilyPond's markup constructs in order to puzzle
things together starting at music glyphs.  Whether that is a more
convenient path for you than just using any old program (or possibly Urs
Liska's project of making LilyPond glyphs accessible to LaTeX) is a
different question.

It might also be worth looking at MusiXTeX, actually: one of its main
nuisances is that you are yourself responsible for every tiny bit of
spacing and collision avoidance and whatever.  For your task, that might
be rather an advantage.

-- 
David Kastrup


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


Re: Horizontal note spacing

2013-10-01 Thread Franciszek Boehlke
I'm not completely sure of that, but disabling springs should be quite easy
to do (in C++ code), and effect might be what is deserved, i.e. no smart
spacing. However, it can result in lots of collisions in some cases. Maybe
I'll try it today or tomorrow, I'd like to remind myself spring code a bit.


2013/10/1 David Kastrup d...@gnu.org

 LaurenH l.v.had...@sms.ed.ac.uk writes:

  I'm looking for a music writing program that will allow me to precisely
  control horizontal spacing for use in a psychology sight-reading
  study.

 You are probably best off writing your own program then.  LilyPond does
 so many tweaks and finetunes and optical spacing and what else that it
 will take a lot of work to wrest control of horizontal spacing in its
 entirety from it.

 Now you can, like, use LilyPond's markup constructs in order to puzzle
 things together starting at music glyphs.  Whether that is a more
 convenient path for you than just using any old program (or possibly Urs
 Liska's project of making LilyPond glyphs accessible to LaTeX) is a
 different question.

 It might also be worth looking at MusiXTeX, actually: one of its main
 nuisances is that you are yourself responsible for every tiny bit of
 spacing and collision avoidance and whatever.  For your task, that might
 be rather an advantage.

 --
 David Kastrup


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

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


Horizontal note spacing

2009-09-15 Thread Nick Payne
The only way I found of adding extra space before the arpeggiated chord 
in this example was to have a hidden voice with some notes to affect the 
spacing - I had a look at the manual section on horizontal spacing and 
tried a few things, but this was the only thing I tried that made a 
difference. Is this the only solution?


%%%
\version 2.13.3

treble = \relative c' {
   a4 cis\arpeggio |
   g' cis, |
}


bass = \relative c {
   e a,4 a e a,\arpeggio |
   bes d, a a e a, |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef treble_8
   \key d \minor
   \time 2/4
   
   \context Voice = 1 { \voiceOne \treble }
   \context Voice = 2 { \voiceTwo \bass }
   \context Voice = 3 { \voiceThree \hidden }
   
   }
   
   \layout {
   \context {
   \Staff
   \consists Span_arpeggio_engraver
   }
   }
}
%%%

Nick Payne
inline: withouthidden.pnginline: withhidden.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal note spacing

2009-09-15 Thread Kieren MacMillan

Hi Nick,


Is this the only solution?


My preference would be to adjust the padding or X-extent of the  
arpeggio directly, e.g.


\version 2.13.3

arpspace = \once \override Staff.Arpeggio #'X-extent = #'(-13 . 1)

treble = \relative c' {
   a4 \arpspace cis\arpeggio |
   g' cis, |}

bass = \relative c {
   e a,4 a e a,\arpeggio |
   bes d, a a e a, |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef treble_8
   \key d \minor
   \time 2/4
   
   \context Voice = 1 { \voiceOne \treble }
   \context Voice = 2 { \voiceTwo \bass }
   
   }
   
   \layout {
   \context {
   \Staff
   \consists Span_arpeggio_engraver
   }
   }
}

Hope this helps!
Kieren.


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


Re: Horizontal note spacing

2009-09-15 Thread Nick Payne

Thanks. A much simpler  fix.

Nick

Kieren MacMillan wrote:

Hi Nick,


Is this the only solution?


My preference would be to adjust the padding or X-extent of the 
arpeggio directly, e.g.


\version 2.13.3

arpspace = \once \override Staff.Arpeggio #'X-extent = #'(-13 . 1)

treble = \relative c' {
   a4 \arpspace cis\arpeggio |
   g' cis, |}

bass = \relative c {
   e a,4 a e a,\arpeggio |
   bes d, a a e a, |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef treble_8
   \key d \minor
   \time 2/4
   
   \context Voice = 1 { \voiceOne \treble }
   \context Voice = 2 { \voiceTwo \bass }
   
   }
   
   \layout {
   \context {
   \Staff
   \consists Span_arpeggio_engraver
   }
   }
}

Hope this helps!
Kieren.





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