\include "paper16.ly"
\score {
\notes
- \relative c'' {
- \key g;
+ \relative c'' \sequential{
\time 3/4;
+ \key g;
\repeat "volta" 2 {
d4 g,8 a b c d4 g, g |
a b
)COMMENT(
-)These are notes with pitch code(a') and code(b'). Because their
+)These are notes with pitch code(a) and code(b). Because their
duration is the same as the code(g), there is no need to enter the
duration (You may enter it anyway, eg. code(a4 b4)) COMMENT(
) Three more notes. The `code(|)' character is a `barcheck'. When
processing the music, LilyPond will verify that barchecks are found at
the start of a measure. This can help you track down errors.
-COMMENT(
-
-)verb(
- e'4
-) COMMENT(
-) So far, no notes were chromatically altered. Here is the first one
+ So far, no notes were chromatically altered. Here is the first one
that is: code(fis). Mudela by default uses Dutch note names, and
``Fis'' is the Dutch note name for ``F sharp''. However, there is no
sharp sign in the output. The program keeps track of key signatures,
)The structure of the file will be the same as the previous one, a
code(\score) block with music in it. To keep things readable, we will
-give the different parts of music names, and use names to construct
-music within the score block.
+give names to the different parts of music, and use the names to
+construct the music within the score block.
verb(
\partial 8;
)
-The piece starts an anacrusis of one eighth. COMMENT(
+The piece starts with an anacrusis of one eighth. COMMENT(
)verb(
c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
controls the directions of stems, articulations marks and other
symbols.
If code(verticalDirection) is set to code(\down)
-(identifier for the integer -1) the stems go down
+(identifier for the integer -1) the stems go down,
code(\up) (identifier for the integer 1) makes the stems go up.COMMENT(
)verb( g'8. b,16)COMMENT(
verb(s1 s2. r4)COMMENT(
)code(s) is a `spacer' rest. It does not print anything, but it does
-have duration of a rest. COMMENT(
+have the duration of a rest. COMMENT(
)verb(oboes = \notes \relative c'' \context Voice = oboe {)COMMENT(
dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
dnl WARNING WARNING WARNING WARNING
dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
+dnl WARNING WARNING WARNING WARNING
+dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
dnl aclocal.m4 -*-shell-script-*-
dnl StepMake subroutines for configure.in
AC_DEFINE(HAVE_LIBGUILE)], , $GUILE_LDFLAGS dnl
)
if test "$ac_cv_lib_guile_gh_scm2doubles" != yes ; then
- AC_STEPMAKE_WARN(You should install guile 1.3 or newer)
+ GUILE_LDFLAGS="`echo $GUILE_LDFLAGS | sed -e 's/-lreadline//g'`"
+ AC_CHECK_LIB(guile, gh_doubles2scm,
+ [LIBS="`echo $GUILE_LDFLAGS | sed -e 's/-L[[/-_a-zA-Z0-9]]\+ //g'` $LIBS"
+ AC_DEFINE(HAVE_LIBGUILE)], , $GUILE_LDFLAGS dnl
+ )
+ if test "$ac_cv_lib_guile_gh_doubles2scm" != yes ; then
+ AC_STEPMAKE_WARN(You should install guile 1.3 or newer)
+ fi
fi
])
setenv LILYPONDPREFIX "@datadir@"
# include an empty path component for the system wide includes.
-setenv MFINPUTS "@datadir@/mf:$MFINPUTS::"
-setenv TEXINPUTS "@datadir@/tex:$TEXINPUTS::"
-setenv GUILE_LOAD_PATH "@datadir@/scm:$GUILE_LOAD_PATH"
+if ($?MFINPUTS) then
+ setenv MFINPUTS "/usr/share/lilypond/mf:${MFINPUTS}::"
+else
+ setenv MFINPUTS "/usr/share/lilypond/mf::"
+endif
+if ($?TEXINPUTS) then
+ setenv TEXINPUTS "/usr/share/lilypond/tex:${TEXINPUTS}::"
+else
+ setenv TEXINPUTS "/usr/share/lilypond/tex::"
+endif
+if ($?GUILE_LOAD_PATH) then
+ setenv GUILE_LOAD_PATH "/usr/share/lilypond/scm:${GUILE_LOAD_PATH}"
+else
+ setenv GUILE_LOAD_PATH "/usr/share/lilypond/scm"
+endif
+
+
*/
#include "debug.hh"
#include "crescendo.hh"
-#include "dynamic-engraver.hh"
#include "musical-request.hh"
#include "lookup.hh"
#include "paper-def.hh"
staff_side_p_->dir_ = Direction (int (prop));
}
- prop = get_property ("dynamicDir", 0);
+ prop = get_property ("dynamicDirection", 0);
if (prop.isnum_b ())
{
staff_side_p_->dir_ = (Direction) (int) prop;
{
to_end_ss_span_p_->dir_ = Direction (int (prop));
}
- prop = get_property ("dynamicDir", 0);
+ prop = get_property ("dynamicDirection", 0);
if (prop.isdir_b ())
{
to_end_ss_span_p_->dir_ = (Direction) (int) prop;
{
if (j > 2)
j = 2;
+ if (type == "harmonic" || type == "cross")
+ j = 2;
return afm_find (String ("noteheads-") + to_str (j) + type);
}
/*
UGH.
*/
- SCM l = gh_eval_str (("(style-to-cmr \"" + style + "\")").ch_C());
+ SCM l = ly_ch_C_eval_scm (("(style-to-cmr \"" + style + "\")").ch_C());
if (l != SCM_BOOL_F)
{
style = ly_scm2string (SCM_CDR(l)) +to_str ((int)font_h);
brace_count ++;
else if (text[i] == '}')
brace_count --;
- Character_metric *c = afm_l->get_char ((unsigned char)text[i],false);
+ Character_metric *c = (Character_metric*)afm_l->get_char ((unsigned char)text[i],false);
w += c->dimensions()[X_AXIS].length ();
ydims.unite (c->dimensions()[Y_AXIS]);
Atom at (gh_list (text_scm_sym,
- gh_str02scm (text.ch_C()),
+ ly_ch_C_to_scm (text.ch_C()),
SCM_UNDEFINED));
at.font_ = ly_symbol (style);
at.magn_ = gh_int2scm (font_mag);
channel_i_ = n->channel_i_;
// Anybody who hears any difference, or knows how this works?
-
- // 0x64 is supposed to be neutral, but let's try
- //aftertouch_byte_ = 0x64;
+ // 0 should definitely be avoided, notes stick on some sound cards.
+ // 64 is supposed to be neutral
+ aftertouch_byte_ = 64;
- static int i = 0;
- aftertouch_byte_ = i;
- i += 0x10;
}
String
% paper.ly
-linewidth20 = \hsize - 2.5 * \staffheight;
-textheight20 = \vsize - 5.0 * \staffheight;
-linewidth = \staffheight/20.0 * \linewidth20;
-textheight = \staffheight/20.0 * \textheight20;
+%% Why som complicated? /MB
+%linewidth20 = \hsize - 2.5 * \staffheight;
+%textheight20 = \vsize - 5.0 * \staffheight;
+%linewidth = \staffheight/20.0 * \linewidth20;
+%textheight = \staffheight/20.0 * \textheight20;
+
+linewidth = \hsize - 2.\cm;
+textheight = \vsize - 4.\cm;
indent = \linewidth / 14.0;
hyphen_minimum_length = 0.25*\font_normal;
% Multi-measure rests
-mmrest_x_minimum = 2.0*\staffheight;
+mmrest_x_minimum = 1.4*\staffheight;
% chop off this much when next to pp / ff sign.
%{
relative strength of space following breakable columns (eg. prefatory matter)
%}
-breakable_column_space_strength = 8.0;
+breakable_column_space_strength = 2.0;
% space after inline clefs and such get this much stretched
decrease_nonmus_spacing_factor = 1.0 ;
trpIIhelp=\notes\relative c'' {
\tiny
-s2.*32 |
+[c8.^"Oboe" ( d16] ) c2 |
+[c8. ( d16] ) c2 |
+s2.*30 |
s2*9 |
r4^"Clar. I" r8 c-. |
[bes-. a-. g-. f-. ] |
-\def\fetdef#1#2{%
- \def#1{\hbox{\fetchar{#2}}}}
-\font\fetasixteen = feta16
-\def\fetchar#1{{\fetasixteen\char#1}}
-\input{feta20} %%% Add lilypond-xxx/mf/out/ to TEXINPUTS
+%\def\fetdef#1#2{%
+% \def#1{\hbox{\fetchar{#2}}}}
+%\font\fetasixteen = feta16
+%\def\fetchar#1{{\fetasixteen\char#1}}
+%\input{feta20} %%% Add lilypond-xxx/mf/out/ to TEXINPUTS
\newcommand{\okt}{$8^{va}$}
\advance\topmargin-5mm
\advance\headsep-4mm
\addtolength{\textheight}{17mm}
-\advance\footskip-3mm
+\advance\footskip-5mm
\usepackage{fancyheadings}
\lhead{\textbf{\large\theinstrument}}
\end{flushright}%
\end{minipage}\par
\parskip\saveparskip
- {\flushleft{\Large\textbf\thepiece}\par}%
+ {\flushleft{\Large\textbf\thepiece}\\}%
% \leavevmode%
- \enlargethispage*{5mm}%
+% \enlargethispage*{7mm}%
}
\include "strings.ly"
my_paper = \paper {
- textheight = 275.0 \mm;
+ textheight = 265.0 \mm;
\translator {
\OrchestralPartStaffContext
}
\translator {
\ScoreContext
skipBars = 1;
- markScriptPadding = "6.0";
- barNumberScriptPadding = "11.0";
+ barNumberScriptPadding = "12.0";
+ markScriptPadding = "20.0";
dynamicPadding = 3.0;
textScriptPadding = 5.0;
textStyle = "italic";
\clarI
>
\header{
- instrument = "Clarinetto I in B\\flat";
+ instrument = "Clarinetto I in B\\textflat";
}
\paper{
\my_paper
\clarII
>
\header{
- instrument = "Clarinetto II in B\\flat";
+ instrument = "Clarinetto II in B\\textflat";
}
\paper{
\my_paper
\context Voice = help \trpIhelp
>
\header{
- instrument = "Tromba I in B\\flat";
+ instrument = "Tromba I in B\\textflat";
}
\paper{
\my_paper
\context Voice = help \trpIIhelp
>
\header{
- instrument = "Tromba II in B\\flat";
+ instrument = "Tromba II in B\\textflat";
}
\paper{
\my_paper
\include "wood.ly"
\include "brass.ly"
\include "strings.ly"
-\include "paper16.ly";
-
+\include "paper16.ly"
\score{ <
\context StaffGroup = wood <
\oboe
>
\context Voice = clarI <
- \property Staff.instrument = "Clar. I in B\\flat "
+ \property Staff.instrument = "Clar. I in B\\textflat "
\property Staff.instr = "Cl. I"
\globalNoKey
\clarI
>
\context Voice = clarII <
- \property Staff.instrument = "Clar. II in B\\flat "
+ \property Staff.instrument = "Clar. II in B\\textflat "
\property Staff.instr = "Cl. II"
\globalNoKey
\clarII
}
>
\context Staff = trp <
- \property Staff.instrument = "2 Trp. in B\\flat "
+ \property Staff.instrument = "2 Trp. in B\\textflat "
\property Staff.instr = "Trp."
\context Voice = trpI <
\globalNoKey
>
\context StaffGroup = percussion <\context Voice = timpani <
\property Staff.instrument = "Timp. \& Triang."
- \property Staff.instr = "Tmp\&{}Trg"
+ \property Staff.instr = "\qquad Tmp\& Trg"
\global
\timpani
>
barNumberScriptPadding = "12.0";
markScriptPadding = "20.0";
}
- \translator { \StaffContext
+ \translator {
+% \HaraKiriStaffContext % Gives lost bar lines and misplaced marks!!
+ \StaffContext
\consists "Staff_margin_engraver";
marginScriptPadding = "15.0";
dynamicPadding = 3.0;
b r b r |
a r r4 |
R2 |
-g!4 \p \< ( a |
-\! b!2 ~ |
+g4 \p \< ( a |
+\! b2 ~ |
b4 \> a ~ |
a \! ) fis8 r |
g4 \p \< ( a |
conversions.append ((1,2,0), conv,
'automaticMelismas -> automaticMelismata')
+if 1:
+ def conv(lines):
+ newlines =[]
+ for x in lines:
+ x = re.sub ('dynamicDir', 'dynamicDirection', x)
+ newlines.append (x)
+ return newlines
+
+ conversions.append ((1,2,1), conv,
+ 'dynamicDir -> dynamicDirection')
############################
{\center{\large\theinstrument}\par}
{\flushleft{\large\normalfont\scshape\thepiece}}
% \leavevmode
+ \global\let\theopus\relax%
+ \global\let\thepiece\relax%
}
\def\makelilypiecetitle
{
\bigskip
{\flushright{\theopus}\par}
{\flushleft{\large\normalfont\scshape\thepiece}}
+ \global\let\theopus\relax%
+ \global\let\thepiece\relax%
}
\endinput