Re: Beaming and grace notes

2014-11-30 Thread Rutger Hofman
Is the original correct? I would guess that a treble clef has been 
forgotten in the upper staff, at the moment the staff is crossed in the 
grace note run. How else can the run, and especially the cross-staff 
chords in the last four 1/32 notes make sense?


Rutger

On 11/29/2014 07:49 PM, Knute Snortum wrote:

Ah, I see.  Use two voices so one is the eighth note and the other is
the grace notes with their duration divided over the eighth.  This also
gets me the slur.  Thank you.


Knute Snortum
(via Gmail)

On Sat, Nov 29, 2014 at 10:31 AM, Keith OHara k-ohara5...@oco.net
mailto:k-ohara5...@oco.net wrote:

On Sat, 29 Nov 2014 07:44:39 -0800, Knute Snortum
ksnor...@gmail.com mailto:ksnor...@gmail.com wrote:

Thank you both for your relies.  Keith, your second suggestion
is what I
need, if I could designate a zero length note.

Requirements:

* An actual eighth note
* Grace notes need to attached with a beam to the eighth note
* Grace notes add no duration to the measure

I've attached a picture of the measure.  It has a lot of
challenges in it
for me.


These small notes are not what LilyPond's \grace was designed for,
but more like the small-note tuplet that Harm pointed out.  We want
these note to be spaced across the beat, but more quickly than their
visible duration.

LilyPond will do most of the beaming you want if you tell her how
the music splits into two voices at the E-flat.  Ignoring the fact
that there are two staves for the moment, try something like this:

\version 2.18.2
{
   \key des\major \clef bass \time 2/4
   aes32 bes aes ges
   
 {\voiceTwo ees8 ~ ees4 |}
 \new Voice {
   \voiceOne
   \scaleDurations 4/14 {
 ees32[
 \teeny
 \override Stem  #'no-stem-extend = ##t
 \override Stem  #'length-fraction = #0.7
 ges aes bes des' ges, bes, c  des f] ges[ bes c' des']
 \normalsize
 \revert Stem  #'no-stem-extend
 \revert Stem  #'length-fraction
   }
   f'16- des'
   c32 des c bes,| }  }

We should probably put a Debussy example in the user manual (if he's
in public domain in europe by now) and also make a shorthand for
\graceStyleOn \graceStyleOff because often we want the style but do
not want LilyPond's \grace timing.





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


Re: Beaming and grace notes

2014-11-30 Thread Rutger Hofman

On 11/29/2014 07:49 PM, Knute Snortum wrote:

Ah, I see.  Use two voices so one is the eighth note and the other is
the grace notes with their duration divided over the eighth.  This also
gets me the slur.  Thank you.


Knute Snortum
(via Gmail)

On Sat, Nov 29, 2014 at 10:31 AM, Keith OHara k-ohara5...@oco.net
mailto:k-ohara5...@oco.net wrote:

On Sat, 29 Nov 2014 07:44:39 -0800, Knute Snortum
ksnor...@gmail.com mailto:ksnor...@gmail.com wrote:

Thank you both for your relies.  Keith, your second suggestion
is what I
need, if I could designate a zero length note.

Requirements:

* An actual eighth note
* Grace notes need to attached with a beam to the eighth note
* Grace notes add no duration to the measure

I've attached a picture of the measure.  It has a lot of
challenges in it
for me.


Is the original correct? I would guess that a treble clef has been
forgotten in the upper staff, at the moment the staff is crossed in the
grace note run. How else can the run, and especially the cross-staff
chords in the last four 1/32 notes make sense?

Rutger

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


Re: Beaming and grace notes

2014-11-30 Thread Knute Snortum
You are correct; the original is missing a treble clef.  I am using an
early edition that has passed into public domain to transcribe, but so far
I've found three errors in the score.  I'm using a later edition to double
check from but I'm still transcribing from the earlier one so my
transcription is free of any copyright.  I should have using the later
edition for the example.


Knute Snortum
(via Gmail)

On Sun, Nov 30, 2014 at 2:56 AM, Rutger Hofman rut...@cs.vu.nl wrote:

 Is the original correct? I would guess that a treble clef has been
 forgotten in the upper staff, at the moment the staff is crossed in the
 grace note run. How else can the run, and especially the cross-staff
 chords in the last four 1/32 notes make sense?

 Rutger

 On 11/29/2014 07:49 PM, Knute Snortum wrote:

 Ah, I see.  Use two voices so one is the eighth note and the other is
 the grace notes with their duration divided over the eighth.  This also
 gets me the slur.  Thank you.


 Knute Snortum
 (via Gmail)

 On Sat, Nov 29, 2014 at 10:31 AM, Keith OHara k-ohara5...@oco.net
 mailto:k-ohara5...@oco.net wrote:

 On Sat, 29 Nov 2014 07:44:39 -0800, Knute Snortum
 ksnor...@gmail.com mailto:ksnor...@gmail.com wrote:

 Thank you both for your relies.  Keith, your second suggestion
 is what I
 need, if I could designate a zero length note.

 Requirements:

 * An actual eighth note
 * Grace notes need to attached with a beam to the eighth note
 * Grace notes add no duration to the measure

 I've attached a picture of the measure.  It has a lot of
 challenges in it
 for me.


 These small notes are not what LilyPond's \grace was designed for,
 but more like the small-note tuplet that Harm pointed out.  We want
 these note to be spaced across the beat, but more quickly than their
 visible duration.

 LilyPond will do most of the beaming you want if you tell her how
 the music splits into two voices at the E-flat.  Ignoring the fact
 that there are two staves for the moment, try something like this:

 \version 2.18.2
 {
\key des\major \clef bass \time 2/4
aes32 bes aes ges

  {\voiceTwo ees8 ~ ees4 |}
  \new Voice {
\voiceOne
\scaleDurations 4/14 {
  ees32[
  \teeny
  \override Stem  #'no-stem-extend = ##t
  \override Stem  #'length-fraction = #0.7
  ges aes bes des' ges, bes, c  des f] ges[ bes c' des']
  \normalsize
  \revert Stem  #'no-stem-extend
  \revert Stem  #'length-fraction
}
f'16- des'
c32 des c bes,| }  }

 We should probably put a Debussy example in the user manual (if he's
 in public domain in europe by now) and also make a shorthand for
 \graceStyleOn \graceStyleOff because often we want the style but do
 not want LilyPond's \grace timing.




 ___
 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


Re: Note name to markup

2014-11-30 Thread Hans Aberg

 Maybe this snippet could help : http://lsr.di.unimi.it/LSR/Item?id=856

I have made a version that works with all key signatures, including microtonal 
ones, when using the SMuFL http://www.smufl.org standard, with some padding 
issues remaining.

I replace the original mode name lookup with an associative list where keys are 
the mode key-alist definitions, making it easy to add modes and change names.



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


Re: Beaming and grace notes

2014-11-30 Thread Shane Brandes
a short snippet for educational use constitutes fair use.

S.

On Sun, Nov 30, 2014 at 10:01 AM, Knute Snortum ksnor...@gmail.com wrote:
 You are correct; the original is missing a treble clef.  I am using an early
 edition that has passed into public domain to transcribe, but so far I've
 found three errors in the score.  I'm using a later edition to double check
 from but I'm still transcribing from the earlier one so my transcription is
 free of any copyright.  I should have using the later edition for the
 example.


 Knute Snortum
 (via Gmail)

 On Sun, Nov 30, 2014 at 2:56 AM, Rutger Hofman rut...@cs.vu.nl wrote:

 Is the original correct? I would guess that a treble clef has been
 forgotten in the upper staff, at the moment the staff is crossed in the
 grace note run. How else can the run, and especially the cross-staff
 chords in the last four 1/32 notes make sense?

 Rutger

 On 11/29/2014 07:49 PM, Knute Snortum wrote:

 Ah, I see.  Use two voices so one is the eighth note and the other is
 the grace notes with their duration divided over the eighth.  This also
 gets me the slur.  Thank you.


 Knute Snortum
 (via Gmail)

 On Sat, Nov 29, 2014 at 10:31 AM, Keith OHara k-ohara5...@oco.net
 mailto:k-ohara5...@oco.net wrote:

 On Sat, 29 Nov 2014 07:44:39 -0800, Knute Snortum
 ksnor...@gmail.com mailto:ksnor...@gmail.com wrote:

 Thank you both for your relies.  Keith, your second suggestion
 is what I
 need, if I could designate a zero length note.

 Requirements:

 * An actual eighth note
 * Grace notes need to attached with a beam to the eighth note
 * Grace notes add no duration to the measure

 I've attached a picture of the measure.  It has a lot of
 challenges in it
 for me.


 These small notes are not what LilyPond's \grace was designed for,
 but more like the small-note tuplet that Harm pointed out.  We want
 these note to be spaced across the beat, but more quickly than their
 visible duration.

 LilyPond will do most of the beaming you want if you tell her how
 the music splits into two voices at the E-flat.  Ignoring the fact
 that there are two staves for the moment, try something like this:

 \version 2.18.2
 {
\key des\major \clef bass \time 2/4
aes32 bes aes ges

  {\voiceTwo ees8 ~ ees4 |}
  \new Voice {
\voiceOne
\scaleDurations 4/14 {
  ees32[
  \teeny
  \override Stem  #'no-stem-extend = ##t
  \override Stem  #'length-fraction = #0.7
  ges aes bes des' ges, bes, c  des f] ges[ bes c' des']
  \normalsize
  \revert Stem  #'no-stem-extend
  \revert Stem  #'length-fraction
}
f'16- des'
c32 des c bes,| }  }

 We should probably put a Debussy example in the user manual (if he's
 in public domain in europe by now) and also make a shorthand for
 \graceStyleOn \graceStyleOff because often we want the style but do
 not want LilyPond's \grace timing.




 ___
 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


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


Re: Beaming and grace notes

2014-11-30 Thread Keith OHara

On Sat, 29 Nov 2014 07:44:39 -0800, Knute Snortum ksnor...@gmail.com wrote:


I've attached a picture of the measure.  [Debussy Prelude #2, Voiles]


This piece uses a whole-tone scale (not in the part with the cross-staff grace 
notes of Knute's example, but most of the rest of the piece) so I would be 
tempted to print a version of this with

  wholeTone = #`(
   (0 . ,NATURAL) (1 . ,NATURAL) (2 . ,NATURAL)
   (3 . ,SHARP) (4 . ,SHARP) (5 . ,FLAT) (6 . ,FLAT))

  \key c\wholeTone

and see if it is easier to read with all the accidentals moved into a key 
signature.


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


lilypond-cheatsheets

2014-11-30 Thread sg2002

Hello.

Just want to share a LilyPond script I developed for myself, in case 
anyone would find it useful.


This script https://github.com/sg2002/lilypond-cheatsheets allows you 
to generate a cheetsheet for a fretted instrument like a guitar. Example 
is available here. 
https://github.com/sg2002/lilypond-cheatsheets/blob/master/guitar-standard.pdf?raw=true


Scheme source may be a little rusty and I probably could have used more 
of LilyPond api, but I felt that a simpler abstraction would work better 
in this case.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-cheatsheets

2014-11-30 Thread Johan Vromans
On Mon, 01 Dec 2014 04:10:48 +0300
sg2002 sg2...@gmx.com wrote:

 Just want to share a LilyPond script I developed for myself, in case 
 anyone would find it useful.

Cute.

Since it's a LilyPond cheat sheet, wouldn't it be better to use c' cis' d'
etc instead of C3 and so on?

Also, guitar sounds an octave lower than notated, which is
often indicated by a small 8 below the clef.

Thanks,
Johan



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