[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding lyrics to basic drum beat
From: |
Kevin Tough |
Subject: |
Re: Adding lyrics to basic drum beat |
Date: |
Fri, 06 Feb 2015 09:04:20 +0100 |
Hi Joram,
I've been reading and trying to get this to work, experimenting.
In order to output midi and pdf your code must be put in a score block
with a layout and midi block inside. As soon as I enclose the code in
the \score block Lilypond says it cannot find voice "voice". I tried
using quotes around "voice" as in the documentation, no improvement. I
changed voice to voicehh thinking perhaps voice is a keyword, no
improvement. I took my \include statements for my favorite printing
scheme in and out. Nothing appears to work so far. Why should the \score
block effect Lilypond to find this voices name??
Here is my minimal code as it now stands. I've commented out the \score
block and the *.pdf is fine but no midi.
\version "2.18.2"
%\score {
<<
\new DrumStaff <<
\new DrumVoice = voice { \stemUp \drummode { hh4 hh hh hh }}
\new DrumVoice { \stemDown \drummode { bd4 sn bd sn }}
>>
\new Lyrics \lyricsto voice { One Two Three Four }
>>
\layout {
indent = 0.0\cm
}
\midi {
\tempo 4 = 120
}
%} % End of score block
On Fri, 2015-02-06 at 01:27 +0100, Noeck wrote:
> Hi Kevin,
>
> is this something you like?
>
> \version "2.18.2"
>
> <<
> \new DrumStaff <<
> \new DrumVoice = voice { \stemUp \drummode { hh4 hh hh hh }}
> \new DrumVoice { \stemDown \drummode { bd4 sn bd sn }}
> >>
> \new Lyrics \lyricsto voice { One Two Three Four }
> >>
>
> If the text does not follow a name voice (= voice in the example) using
> \lyricsto, the syllables need duration like notes do.
> I think addlyrics is a short-hand that only works with normal Staffs or at
> least
> not with multiple voices:
> http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-vocal-music#automatic-syllable-durations
>
> Cheers,
> Joram
>
> Am 06.02.2015 um 01:10 schrieb Kevin Tough:
> > \version "2.18.2"
> > % MinimalDrumWithMidi.ly
> >
> > \include "./sjs_drumconfig.ly"
> >
> > %#(set-global-staff-size 70)
> >
> > \paper {
> > ragged-right = ##f
> > }
> >
> > \header {
> > title = "Minimal Drum With Midi"
> > composer = "EwithM"
> > }
> >
> > \score {
> >
> > \new DrumStaff { <<
> > % \set DrumStaff.drumStyleTable = #(alist->hash-table sjsdrums)
> > \new DrumVoice { \stemUp \drummode { hh4 hh hh hh }}
> > \new DrumVoice { \stemDown \drummode {bd4 sn bd sn }}
> >
> > >>
> > \addlyrics { One Two Three Four }
> > }
> >
> > \layout {
> > indent = 0.0\cm
> > }
> > \midi {
> > \tempo 4 = 120
> > }
> > }
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
- Adding lyrics to basic drum beat, Kevin Tough, 2015/02/05
- Re: Adding lyrics to basic drum beat, Noeck, 2015/02/05
- Re: Adding lyrics to basic drum beat,
Kevin Tough <=
- Re: Adding lyrics to basic drum beat, Kevin Tough, 2015/02/06
- Re: Adding lyrics to basic drum beat, Thomas Morley, 2015/02/06
- Re: Adding lyrics to basic drum beat, David Kastrup, 2015/02/07
- Re: Adding lyrics to basic drum beat, Thomas Morley, 2015/02/07
- Re: Adding lyrics to basic drum beat, Thomas Morley, 2015/02/07
- Re: Adding lyrics to basic drum beat, Kevin Tough, 2015/02/08