Re: cross-staff "synchronized" grace-note figure
Hi Eric, On Sat, Mar 1, 2008 at 5:08 AM, Eric Flesher <[EMAIL PROTECTED]> wrote: > Is it possible in a piano (grand-staff) score to create a grace-note figures > such that: > 1. the figure consists of 4 notes in the bass staff (beamed as small 8th > notes) > 2. the second note of the figure synchronizes with the same pitch on beat 1 > of > the treble staff. > 3. this second note is cross-staff beamed to the note in the treble staff It's certainly possible, but there's no easy solution using LilyPond's built-in grace note support (which is pretty inflexible and awkward when it comes to spacing). Here's a snippet using fake grace notes which might be one way of solving this problem: \version "2.11.42" \paper { ragged-right = ##t } rh = \change Staff = upper lh = \change Staff = lower %This macro fakes grace notes from normal notes using the default grace note settings in engraver-init.ly graceNotes = #(define-music-function (parser location music) (ly:music?) #{ \override Stem #'direction = #UP \override Stem #'font-size = #-3 \override NoteHead #'font-size = #-3 \override Dots #'font-size = #-3 \override Stem #'length-fraction = #0.8 \override Stem #'no-stem-extend = ##t \override Beam #'thickness = #0.384 \override Beam #'length-fraction = #0.8 \override Accidental #'font-size = #-4 \override Slur #'direction = #DOWN $music \revert Stem #'direction \revert Stem #'font-size \revert NoteHead #'font-size \revert Dots #'font-size \revert Stem #'length-fraction \revert Stem #'no-stem-extend \revert Beam #'thickness \revert Beam #'length-fraction \revert Accidental #'font-size \revert Slur #'direction #}) upper = { \time 3/8 %a skip for the first grace note in the bass, followed by the main note with a scaled duration s16 dis'4.*5/6 | } lower = { \clef bass %the arabesque faked using the macro and scaled durations \graceNotes { \voiceTwo d,,8*1/2 \rh %hide the small accidental for the merged note \once \override Accidental #'stencil = ##f dis' \lh cis, fis g } s } \score { \new PianoStaff << \context Staff = upper { \upper } \context Staff = lower { \lower } >> \layout { \context { \Score \override NoteCollision #'merge-differently-dotted = ##t } } } Regards, Neil <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cross-staff "synchronized" grace-note figure
David Fedoruk gmail.com> writes: > > I'm not sure which notes are grace and which are not. The problem is > interesting *think* i'm encountering a similar one, but you haven't > given me enough information to tell. > All the left-hand (bass clef) pitches will look like grace notes. The right hand pitch in the treble clef is a normal (and hence normal-sized) note. This all unfolds in one measure of 3/8 time, with the pitches as follows: Right hand: D#4 (i.e. just above middle C), dotted quarter-note Left hand: D2 - D#4 - C#3 - F#3 G3 (dyad), all grace notes. (The second grace note coincides with the main note in the right hand.) I'm using standard pitch notation, where the digit after the pitch-class name denotes the octave, i.e. not pitch-registral designations as would be given in Lilypond – those could be converted easily enough. The main issue is how one makes the second of the group of grace notes coincide with the right-hand pitch. This also requires cross-staff beaming with the grace notes, and a double-stemmed notehead on the D#4. I have found a post on a similar topic, dealing with "synchronizing" grace and normal notes between staves, but it only references synchronizing the first grace of the figure with the normal note, and there is no cross-staff beaming of the graces. Thanks! EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cross-staff "synchronized" grace-note figure
> Is it possible in a piano (grand-staff) score to create a grace-note figures > such that: > 1. the figure consists of 4 notes in the bass staff (beamed as small 8th > notes) > 2. the second note of the figure synchronizes with the same pitch on beat 1 > of > the treble staff. > 3. this second note is cross-staff beamed to the note in the treble staff I'm not sure which notes are grace and which are not. The problem is interesting *think* i'm encountering a similar one, but you haven't given me enough information to tell. > > Essentially this is a sort of "arabesque" figure in which a chief melodic > note > (here, the beat-1 note of the treble staff) is ornamented by a grace-like > figure > beginning one pitch before the chief (treble-staff) note and finishing 2 > pitches > later. > Sometimes what looks complex turns out to have a simple solution. Cheers, David -- David Fedoruk B.Mus. UBC,1986 Certificate in Internet Systems Administration, UBC, 2003 http://recordjackethistorian.wordpress.com "Music is enough for one's life time, but one life time is not enough for music" Sergei Rachmaninov ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
cross-staff "synchronized" grace-note figure
This may have been addressed before, but my search of the archives hasn't returned anything: Is it possible in a piano (grand-staff) score to create a grace-note figures such that: 1. the figure consists of 4 notes in the bass staff (beamed as small 8th notes) 2. the second note of the figure synchronizes with the same pitch on beat 1 of the treble staff. 3. this second note is cross-staff beamed to the note in the treble staff Essentially this is a sort of "arabesque" figure in which a chief melodic note (here, the beat-1 note of the treble staff) is ornamented by a grace-like figure beginning one pitch before the chief (treble-staff) note and finishing 2 pitches later. Any advice would be most welcome. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user