Re: Half-note with a flag

2013-07-05 Thread Thomas Morley
2013/7/5 John Kliewe : > Hi, > > I am trying to create a measure like the attached, from Chopin's Nocturne > #3. [...] > Any advice? Use: \mergeDifferentlyHeadedOn Further explanations in the NR. Cheers, Harm ___ lilypond-user mailing list lilypond-

Re: Half-note with a flag

2013-07-05 Thread Noeck
Hi John, \mergeDifferentlyHeadedOn is what you are looking for. The approach with two voices was already right. \version "2.16.0" \new Staff \relative c' { \clef bass \time 6/8 \key b \major \mergeDifferentlyHeadedOn << { cis,2 s4 } \\ { cis8[ e8 b' gis e' b] } >> } For more details,

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread Thomas Morley
Hi Pierre, thanks again for your work. I'll work on it the upcoming weekend. 2013/7/5 Pierre Perol-Schneider : > 2013/7/5 David Kastrup >> >> I have my doubts. The exponential evaluates to >> 0.13 * Staffsize ** (ln(0.13)/ln(20)) > > > Sorry for that, i'm trying to copy formulas from my excel f

Half-note with a flag

2013-07-05 Thread John Kliewe
Hi, I am trying to create a measure like the attached, from Chopin's Nocturne #3. Here is what I have tried, but neither approach is quite right : \version "2.16.0" upper= \relative c'' { \clef treble   \time 6/8   \key b \major r2. r2. } lower= \relative c' { \clef bass   \time 6/8   \key b \m

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread Pierre Perol-Schneider
2013/7/5 David Kastrup > I have my doubts. The exponential evaluates to > 0.13 * Staffsize ** (ln(0.13)/ln(20)) Sorry for that, i'm trying to copy formulas from my excel file and doing mistakes (plus my wife's complaining...) after few testings, it seems that 0.14 is a better aprox. figure so

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread Pierre Perol-Schneider
Copy of some tests enclosed. <>___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: More post-divisi oddities

2013-07-05 Thread Guy Stalnaker
Gentlemen, Thanks for your replies. Vaughan, Your attachment was filtered out as a binary file by my email server. The GNU.org archives also shows it as a .bin file so I cannot 'see' what you've done. If you would, please attach it as a reply to this email. David, I think I understand what you

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread David Kastrup
Pierre Perol-Schneider writes: > 2013/7/5 Pierre Perol-Schneider > >> >> >> kern = x-length*10* EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] - LN(0.13) ] >> > > Sorry again, i'm righting too fast > so last shot : > > kern = x-length*10* EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] + LN(0.13) ] > > this

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread Pierre Perol-Schneider
2013/7/5 Pierre Perol-Schneider > > > kern = x-length*10* EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] - LN(0.13) ] > Sorry again, i'm righting too fast so last shot : kern = x-length*10* EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] + LN(0.13) ] this one should be the good one...

Re: Synchronize music of different length

2013-07-05 Thread Carl Peterson
I don't know that Urs was contemplating "irrational" in the mathematical sense, but in the more logical sense of being something not governed by an easily understood relationship, such as one measure generating two and the next two generating one, and then maybe four develops to 10 and 9 to 5, or s

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread Pierre Perol-Schneider
2013/7/5 Pierre Perol-Schneider > > kern = x-length * EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] - LN(0.13) ] > > Sorry, I forgot one factor.. So here again "the" kern function : kern = x-length*10* EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] - LN(0.13) ]

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent

2013-07-05 Thread Pierre Perol-Schneider
2013/7/4 Thomas Morley > > So I should ask: > How to get good results with different global-staff-size? > > Hi Harm, So here 's what I've found this evening : kern = x-length * EXP[ [ [LN(0.13)/LN(20)]*LN(StaffSize) ] - LN(0.13) ] Works pretty well from staff size = 15 to 30. Did not test othe

Re: Synchronize music of different length

2013-07-05 Thread Urs Liska
Am 05.07.2013 17:20, schrieb David Kastrup: Urs Liska writes: Hi Richard, thanks for your suggestions. I was just thinking about how to deal with the different timings (I would have found that too, but later) when your second suggestion came in. This works for the given situation. But as you

Re: Synchronize music of different length

2013-07-05 Thread David Kastrup
Urs Liska writes: > Hi Richard, > > thanks for your suggestions. > I was just thinking about how to deal with the different timings (I > would have found that too, but later) when your second suggestion came > in. > > This works for the given situation. > But as you say I will have situations whe

Re: Synchronize music of different length

2013-07-05 Thread Urs Liska
Hi Richard, thanks for your suggestions. I was just thinking about how to deal with the different timings (I would have found that too, but later) when your second suggestion came in. This works for the given situation. But as you say I will have situations where it won't be sufficient becaus

RE: Synchronize music of different length

2013-07-05 Thread Richard Sabey
Hi Urs. I tried to send a reply earlier. I don't know if I succeeded, but the method I suggested was not good enough anyway. Here's my second attempt at a solution to your problem: \version "16.0" firstVersion =\relative e'' {e2. e4 | g2. cis,4 |} secondVersion =\scaleDurations #'(2 . 1)\relative

RE: Synchronize music of different length

2013-07-05 Thread Richard Sabey
Hi Urs. In your example, if you lay the second version out as if the notes had twice the durations they actually have, then it looks nice: \version "16.0" firstVersion =\relative e'' {e2. e4 | g2. cis,4 |} secondVersion =\scaleDurations #'(2 . 1)\relative e'' {e4~ e16[ fis] e[ fis] g4. cis,8 |} \