lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the Basic Lilypond structure


From: neuro Hwang
Subject: Re: the Basic Lilypond structure
Date: Sun, 10 Nov 2002 23:56:09 -0800

I think it's more like this:

 ====
\header {
filename =    "neuro_mozart_horn_4_3_01.ly"
title =       "Mozart - Horn Concdrto No. 4 in E flat, K 495"
subtitle = "III Rondo : allegro vivace"
source =      "source"
composer =    "Wolfgang Amadeus Mozart (1756-1791)"
enteredby =   "neuro"
%  copyright =   "neuro"
tagline = "Copyright \copyright 2002 neuro"
% opus= "K495"
% piece = "4"
}

\include "english.ly"
\version "1.6.5"
\paper { }  
% \paper{ linewidth = 18.0 \cm }
% \paper {\translator{ \StaffContext minimumVerticalExtent = #'(-4 . 4) }}

\midi{ \tempo 4 = 100 }

global =  \notes {
  \key ef \major
  \time 6/8
}

upper =  \context Staff \notes\relative c {
 r8    % 1
 
 <g'4 bf ef > r8 <b4f ef > r8 % 2
 <af4 bf ef > r8 <af4 bf f'> r8 % 3
 <g4 bf ef > r8 <af4 ef'> r8 % 4
 <bf4 d > r8 r4 r8  % 5
 
 <g4 bf ef > r8 <bf4 ef > r8 % 6
 <af4 bf ef > r8 <af4 bf f'> r8 % 7
 <g4 bf ef > r8 d'8 c8 d   % 8 ?
 <g,8 bf ef > <g bf ef > <g bf ef > <g8 bf ef > r8 bf'  % 9
 ef8 ef ef ef ef ef  % 9
 d f bf bf af f    %10
}

lower =  \context Staff \notes\relative c {
  r8    % 1
  
  ef4 r8 g4 r8    % 2
  f4 r8 d4 r8    % 3
  ef4 r8 c4 r8   % 4
  <f4 bf,> r8 bf16 c bf af g f  % 5
  
  ef4 r8 g4 r8    % 6
  f4 r8 d4 r8    % 7
  ef4 r8 bf bf bf   % 8
  ef8 ef ef ef r8 r8    % 9
  
  
}

\score {
 \context GrandStaff <
 \context Staff = upper <
  \global
  \upper
  >
 \context Staff = lower <
  \global
  \clef "bass"
  \lower
  >
 >
}

----- Original Message ----- 

> Again, excuse me, I am new here.
> 
> I have read the document, but am still confused.
> What is the basic lilypond structure?
> 
> For example, to write a simple Piano staff, does it look like this ?
>  --------
> \header {
>   filename =    "the_file_nam.ly"
>   title =       "Title goes here"
>   subtitle = "subtitle goes here"
>   composer =    "comoser's name (1756 - 2002)"
>   tagline = "Copyright \copyright 2002 my copyright note"
> }
> 
> \include "english.ly"
> \version "1.6.5"
> \paper {}
> \midi {\tempo 4 = 120 }
> global =  \notes {
> \key e \major
> \time 6/8
> }
> 
> \score {
> \context  PianoStaff <
> \context Staff = upper \upper
> \context Staff = lower \lower
>  >
> }
> 
> upper =  {
>   a b c d 
> % .. blah blah ...
> }
> 
> lower =  {
>   e f g h 
> %.. blah blah ...
> }
> ---------
> 
> thank you very much 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]