Hi.

> 
> I'm trying to copy music using lilypond, even though I read half of the
> manual I don't understand ways of putting notes in a correct sequence :)

Maybe you should have read the other half first ;-)

> here is the piece pf music:
> http://img54.imageshack.us/my.php?image=untitled7et2.jpg
> 

If you are going to transcribe pieces with multiple voices, I would
recommend to use explicit "Voice" contexts.

You'll find here attached files showing how I organize the code.
I've entered the first bar of your example.  And you'll quite
obviously be able to go on from there.

Best,
Gilles
% Lilypond sub-header

piece = "Allegro"
\version "2.6.0"

upperRH =  \relative c' {
  \time 4/4
%
  bes'2 bes |
%
  \bar "||"
%
}

lowerRH =  \relative c' {
%
  g'2 g |
%
  \bar "||"
%
}

upperLH =  \relative c {
%
  d'2 d |
%
  \bar "||"
%
}

lowerLH =  \relative c {
%
  <g g'>2 <g g'> |
%
  \bar "||"
%
}

figuresLowerLH = \figuremode {
%
  \override FiguredBass.BassFigure #'direction = #-1
  \override FiguredBass.BassFigure #'kern = #-0.5
%

%
}

continuoRH = \new Staff {
  \set Staff.midiInstrument = "harpsichord"
  {
    \clef G
    \key g \minor
    \transpose c c <<
      \new Voice { \voiceOne \upperRH }
      \new Voice { \voiceTwo \lowerRH }
    >>
  }
}

continuoLH = \new Staff {
  \set Staff.midiInstrument = "harpsichord"
  \set Staff.minimumVerticalExtent = #'(-4 . 2)
  {
    \clef F
    \key g \minor
    \transpose c c <<
      \new Voice { \voiceOne \upperLH }
      <<
        \new FiguredBass { \figuresLowerLH }
        \new Voice { \voiceTwo \lowerLH }
      >>
    >>
  }
}

continuoStaff = \context PianoStaff = "Continuo" <<
  \set PianoStaff.instrument = \markup \column { "Basso" "continuo  " }
  \continuoRH
  \continuoLH
>>
% Custom fields

#(use-modules (srfi srfi-19))
today = #(date->string (current-date) "~d-~m-~Y")
lastUpdated = \markup { "Last updated:" " " \today }

% Lilypond fields

%dedication = "lilyDedication"
title = "lilyTitle"
%subtitle = "lilySubtitle"
%subsubtitle = "lilySubsubtitle"
%opus = "lilyOpus"
composer = "lilyComposer"
tagline = \markup { \column { \hcenter "Encoded by Gilles and engraved by 
LilyPond"
                              \hcenter \lastUpdated } }

% Mutopia fields

mutopiatitle = \title
mutopiacomposer = \composer
mutopiainstrument = "mutopiaInstruments"
%mutopiapoet = "mutopiaPoet"
%mutopiaopus = "mutopiaOpus"
%date = "mutopiaDate"
%source = "mutopiaSource"
%style = "mutopiaStyle"
copyright = "Creative Commons Attribution-ShareAlike 2.5"
maintainer = "Gilles Sadowski"
maintainerEmail = "[EMAIL PROTECTED]"
%maintainerWeb = "mutopiaMaintainerWeb"
lastupdated = \today
\version "2.6.0"

\header {
  \include "header.inc.ly"
  instrument = "Basso continuo"
}

\include "1__continuo.inc.ly"
\score {
  \continuoStaff
  
  \header {
    \include "1__header.inc.ly"
  }   

  \layout  {
    indent = 15.0\mm 
  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to