Kevin Cole <[email protected]> writes:

> On Mon, Oct 16, 2023 at 8:33 AM David Kastrup <[email protected]> wrote:
>>
>> Kevin Cole <[email protected]> writes:
>>
>> > I'm transcribing a pub song, and at one point, there's a lyric
>> > "(clap)(clap)" with "X X" on the staff.
>> >
>> > I've seen that one can have a "\drum {hc4 hc4}" but I want something like a
>> > layout of "| e4. a4. | X X g8 |" in 6/8 time all on one staff -- which I
>> > guess in MIDI would probably be something like "r8 hc8 r8 hc8 r4" in a drum
>> > track (voice?) for that measure with the claps...
>>
>> Something like
>>
>> \new OneStaff {
>>   \new Staff {
>>     \time 6/8
>>     e4. a4. |
>>     \drums \with { \omit TimeSignature } { r8 hc8 r8 hc8 r4 } |
>>     a2.
>>   }
>> }
>>
>> maybe ?
>
> Thanks. A step in the right direction, but now I have the lyrics in
> the center of the staff, and the "(clap) (clap)" in the lyrics
> skipping over the drum claps. See attached PNG. (Oh, I'm using "s8" in
> place of "r8" too, but I'm thinking that isn't a mistake, since I
> don't want rests to show up.) The minimum [non]-working example:
>
> %%%%%%%%%%%%%%%%%%%%%
> \score {
>   \new OneStaff {
>     <<
>       \new Staff {
>         \new Voice = "mel" { \melody }
>       }
>       \new Lyrics \lyricsto mel \words
>     >>
>   }
> }
> %%%%%%%%%%%%%%%%%%%%%

Frankly, I must have completely misinterpreted your request.  It sounded
to me like you were talking about drum-style notes.  A OneStaff context
is for putting several contexts which usually would have their own lines
("vertical axis") into one.

Maybe you want to show a hand-drawn sketch of what you want because at
least I have no idea what we are talking about at this point of time.

-- 
David Kastrup

Reply via email to