Two questions: slashes and rhythmic cues

2006-05-12 Thread Stan Mulder
I've read the archives and see people discussing this but not sure 
anything was decided. I'm writing a jazz lead sheet and need slashes 
with chords over them. It's the slashes that I'm having a problem with. 
I found that I could use the following:


\override NoteHead #'style = #'slash
\override Stem #'transparent = ##t
g4 g g g
g g g g

But when the parts are transposed the slashes move all over the place 
for the Bb and Eb instruments. Is there are way to keep the slash 
exactly on a certain note and ignore the transposition? Also, that 
symbol should not be a playable one. Is there a way to differentiate it 
from a repeat slash marking so as to not have it play in the midi output?




The second question regards rhythmic cues, smallish notes that would 
appear in or above the staff indicating rhythmic "hits" or "kicks", but 
again this would only indicate rhythm and not be a playable note in midi 
output. It should also not be transposable.


Stan


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


Two questions: slashes and rhythmic cues

2006-05-12 Thread Stan Mulder
Let me try posting this again. Previously post got attached to another 
thread...


I've read the archives and see people discussing this but not sure 
anything was decided. I'm writing a jazz lead sheet and need slashes 
with chords over them. It's the slashes that I'm having a problem with. 
I found that I could use the following:


\override NoteHead #'style = #'slash
\override Stem #'transparent = ##t
g4 g g g
g g g g

But when the parts are transposed the slashes move all over the place 
for the Bb and Eb instruments. Is there are way to keep the slash 
exactly on a certain note and ignore the transposition? Also, that 
symbol should not be a playable one. Is there a way to differentiate it 
from a repeat slash marking so as to not have it play in the midi output?




The second question regards rhythmic cues, smallish notes that would 
appear in or above the staff indicating rhythmic "hits" or "kicks", but 
again this would only indicate rhythm and not be a playable note in midi 
output. It should also not be transposable.


Stan



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


Re: Two questions: slashes and rhythmic cues

2006-05-12 Thread Graham Percival


On 12-May-06, at 10:33 AM, Stan Mulder wrote:

But when the parts are transposed the slashes move all over the place 
for the Bb and Eb instruments. Is there are way to keep the slash 
exactly on a certain note and ignore the transposition?


As it happens, this is part of an example in 9.2.6 Defining new 
contexts.  You should be able to figure out how to extract the portions 
that you need.


 Also, that symbol should not be a playable one. Is there a way to 
differentiate it from a repeat slash marking so as to not have it play 
in the midi output?


I have no idea about this, though.

Cheers,
- Graham



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


Re: Two questions: slashes and rhythmic cues

2006-05-12 Thread Paul Scott

Graham Percival wrote:


On 12-May-06, at 10:33 AM, Stan Mulder wrote:

But when the parts are transposed the slashes move all over the place 
for the Bb and Eb instruments. Is there are way to keep the slash 
exactly on a certain note and ignore the transposition?



I was about to ask the same question.
As it happens, this is part of an example in 9.2.6 Defining new 
contexts.  You should be able to figure out how to extract the 
portions that you need.
Thanks.   It looks like a bit of work but less than what I did to solve 
this on my own.


Great new manual!!!  Thanks for all of your work!

Paul Scott



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


Re: Two questions: slashes and rhythmic cues

2006-05-14 Thread Paul Scott

Graham Percival wrote:


On 12-May-06, at 10:33 AM, Stan Mulder wrote:

But when the parts are transposed the slashes move all over the place 
for the Bb and Eb instruments. Is there are way to keep the slash 
exactly on a certain note and ignore the transposition?


As it happens, this is part of an example in 9.2.6 Defining new 
contexts.  
Even though the slashes don't move, octaves and accidentals (because of 
transposition) do affect the music following the slashed music.  Also 
transposition can cause accidentals to appear with the slashes"


\version "2.8.2"
\layout{
 \context {
   \name ImproVoice
   \type "Engraver_group"
   \consists "Note_heads_engraver"
   \consists "Text_engraver"
   \consists Pitch_squash_engraver
   squashedPosition = #0
   \override NoteHead #'style = #'slash
   \override Stem #'transparent = ##t
   \alias Voice
 }
 \context {
   \Staff
   \accepts "ImproVoice"
 }
}
aaa = \relative c'' {
 d2 e f g
 \new ImproVoice {
   c4 c c c
 }
 g4 e c2
}

{ \transpose c bes, \aaa }


Paul




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