Re: Harmonics with ottava

2019-02-07 Thread Aaron Hill

On 2019-02-07 3:01 am, N. Andrew Walsh wrote:
Problem now is, Lily isn't avoiding collisions between the markup 
objects
and grobs on other staves. Neither the markup nor the Staff.ottavation 
text
block are given place, instead overlapping the voice above. How can I 
fix

this?


Do you have a MWE for this?  The snippet you posted only has a single 
staff.  I tried adding one...



\version "2.19.82"
<<
\new Staff { a2_\markup "Text" }
\new Staff
\relative c, {
\clef "bass_8"
\textLengthOn
  \override Staff.NoteColumn.ignore-collision = ##t
  \override NoteHead.style = #'harmonic-mixed
  <<
{
  \oneVoice
  eih4^\markup { \right-align "Sul D" }--\harmonic
}
\\
{
  \oneVoice
  \textLengthOn
  \tiny
  \override Stem.stencil = ##f
  \override Flag.stencil = ##f
  \override ParenthesesItem.font-size = #0
  \set Staff.ottavation = #"15ma"
  \once \override Staff.OttavaBracket.direction = #UP
  \set Voice.middleCPosition = #(+ -1)
  < \parenthesize ceh'''>4 s
  \unset Staff.ottavation
  \unset Voice.middleCPosition
}
  >>
}





...but I could not get any overlap.  Granted, "Sul D" and "Text" appear 
next to each other, but that has to do with text alignment.  If you 
change "Text" to \center-align, for instance, then the lower staff gets 
moved down to prevent overlap.


-- Aaron Hill

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


Re: Harmonics with ottava

2019-02-07 Thread N. Andrew Walsh
PS- also, I've made use of http://lsr.di.unimi.it/LSR/Item?id=875, which
gets the notes in the correct positions. My example now looks like this:
---
\version "2.19.82"
\relative c, {
\clef "bass_8"
\textLengthOn
  \override Staff.NoteColumn.ignore-collision = ##t
  \override NoteHead.style = #'harmonic-mixed
  <<
{
  \oneVoice
  eih^\markup { \right-align "Sul D" }--\harmonic
}
\\
{
  \oneVoice
  \textLengthOn
  \tiny
  \override Stem.stencil = ##f
  \override Flag.stencil = ##f
  \override ParenthesesItem.font-size = #0
  \set Staff.ottavation = #"15ma"
  \once \override Staff.OttavaBracket.direction = #UP
  \set Voice.middleCPosition = #(+ -1)
  < \parenthesize ceh'''>4 s
  \unset Staff.ottavation
  \unset Voice.middleCPosition
}
  >>
}
---
Problem now is, Lily isn't avoiding collisions between the markup objects
and grobs on other staves. Neither the markup nor the Staff.ottavation text
block are given place, instead overlapping the voice above. How can I fix
this?

Cheers,

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


Re: Harmonics with ottava

2019-02-07 Thread N. Andrew Walsh
Hi Andrew

On Thu, Feb 7, 2019 at 11:51 AM Andrew Bernard 
wrote:

> Hello Andrew,
>
> Why are quartertones technically wrong?
>

Quartertones are wrong for harmonics (especially "natural" ones), because
neither the finger position nor the resultant pitch are equivalent to
equal-tempered quartertones. They are, at best, an approximation; and as I
write music in just intonation, a misleading one that I avoid. But like I
said: this is an example of a Stockhausen piece, and as he didn't care
about tuning properly and I don't care about his music, I'm not going to
invest the energy into doing it the right way.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Harmonics with ottava

2019-02-07 Thread Andrew Bernard
Hello Andrew,

Why are quartertones technically wrong?

My current string quartet is full of them. String players can do them just
fine.

Andrew



On Thu, 7 Feb 2019 at 21:46, N. Andrew Walsh 
wrote:

>
> (And yes, I know quartertones are technically wrong.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Harmonics with ottava

2019-02-07 Thread N. Andrew Walsh
Hi List,

I have the following construction:

--
\version "2.19.82"
\relative c, {
\clef "bass_8"
\textLengthOn
  \override Staff.NoteColumn.ignore-collision = ##t
  \override NoteHead.style = #'harmonic-mixed
  <<
{
  \oneVoice
  eih^\markup { \right-align "Sul D" }--\harmonic
}
\\
{
  \oneVoice
  \tiny
  \override Stem.stencil = ##f
  \override Flag.stencil = ##f
  \override ParenthesesItem.font-size = #0
  { \ottava #1 < \parenthesize ceh'''>4 s }
}
  >>
}

What I actually want is for the fingered note to appear in the correct
location in the staff (so, just above the middle line), and the ottava to
apply only to the sounding harmonic note above it in parentheses. This
becomes important in higher-order harmonics, where you otherwise have two
notes that are separated by two or three octaves and it starts taking up a
lot of vertical space.

Is there a way to do this?

Cheers,

A
(And yes, I know quartertones are technically wrong. This is 1) an example
from a Stockhausen piece, and he's a dilettante who never was about correct
harmonic representation, and 2) if I were to do it properly I'd need to
import all my own custom accidentals as glyphs, and that's way too much
work for a musical example of a piece from a composer I clearly loathe)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user