Let us review these commands:
description(
-dit(mymycode(\clef) var(clefname)) This command sets the current clef for notation,
+dit(mycode(\clef) var(clefname)) This command sets the current clef for notation,
i.e., a clef symbol is printed and the notes following this command
are shifted vertically. The argument is a string, the name of the
new clef. The default clef is the treble clef.
\clef "treble"; c'4
\clef "alto"; c'4
)
-dit(mymycode(\key) var(pitch)) This command changes the current key signature. The
+dit(mycode(\key) var(pitch)) This command changes the current key signature. The
key signature is printed at the start of every line. The argument
is the name of the corresponding major key. The key of C-minor can
thus be specified as `mycode(\key es)'.
-dit(mymycode(\keysignature) var(pitchlist))
+dit(mycode(\keysignature) var(pitchlist))
This command changes the current key signature. Unlike the
`mycode(\key)' command, this command can produce arbitrary key
example.
-dit(mymycode(\time) var(numerator)mycode(/)var(denominator))
+dit(mycode(\time) var(numerator)mycode(/)var(denominator))
This command changes the current time signature. LilyPond uses the
time signature to
calculate where to place the bars that start a measure. These bars
)
-dit(mymycode(\cadenza) var(togglevalue)) When typesetting music without a
+dit(mycode(\cadenza) var(togglevalue)) When typesetting music without a
regular meter (such as an ad libitum cadenza), no bar lines should be
printed. In LilyPond you can achieve this by issuing the command
`mycode(\cadenza 1)': it turns off the automatically
is printed. LilyPond will act as if you are again at the start of a
measure.
-dit(mymycode(\bar) var(bartype))
+dit(mycode(\bar) var(bartype))
This command lets you print special bar
lines and repeat symbols. You can also use it to allow line breaks
when entering cadenzas. The argument var(bartype) is a string that
-dit(mymycode(\partial) var(duration)) some music starts with a measure that
+dit(mycode(\partial) var(duration)) some music starts with a measure that
isn't fully filled, a so-called upstep. The mycode(\partial) command
allows you to make
upsteps. The argument is a duration similar to the duration of a note.
[d'8 dis'] e' c''4 e'8 c''4
)
- dit(mymycode(\grouping) var(durationslist)) sets the metric structure of the measure.
+ dit(mycode(\grouping) var(durationslist)) sets the metric structure of the measure.
Its effect can best be shown by an example:
mudela(fragment,verbatim)(
\time 5/16;
mudela(verbatim)(
polymetricpaper = \paper {
- Score = \translator {
+ \translator {
\ScoreContext
\remove "Timing_engraver";
}
- Staff = \translator {
+ \translator {
\StaffContext
\consists "Timing_engraver";
}
Most of the items are marked in the code as well, with full explanation.
grep for TODO and ugh/ugr/urg
+
+BUGS:
+
+ * fix Score.skipBars
+
+ * repeat bars: need distance after ":|" and before "|:"
+
+ * \shape 1st dim skipped?
+
+ * fix marks/barnumbers/marginal notes
+
+****
+
+
* uniformise property names.
- ydirection <-> yDirection
+ * ydirection <-> yDirection
* typo checks on property names?
* zip target for binary windows dist (JBR)
- * repeat bars: need distance after ":|" and before "|:"
-
* text continuationss
* revise documentation
* junking \skip req in lyrics
- * \shape 1st dim skipped?
-
- * Choire -> Choir
-
* Language:
- general plet mechanism.
* install TeX stuff into tex/generic directory.
+ * /etc/profile.d support for RPM.
+
* percussion note heads
* mi2mu empty staffs.
* include MIDI list
- * make separate translation property list.
-
* make GNU style webpages.
* There seems to be an install error in lilypond-1.0.0. Most of the
MAJOR_VERSION=1
MINOR_VERSION=0
PATCH_LEVEL=12
-MY_PATCH_LEVEL=hwn1
+MY_PATCH_LEVEL=hwn2
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
ScoreContext = \translator {
\type Score_engraver;
Score;
+ defaultClef = violin;
+
\consists "Timing_engraver";
\consists "Bar_column_engraver";
BarNumberingStaffContext = \translator {
\StaffContext
-
-
barColumnPriority = "0";
-
marginBreakPriority = "-4";
\consists "Mark_engraver";
\consists "Bar_column_engraver";
HaraKiriStaffContext = \translator {
\type "Hara_kiri_line_group_engraver";
Staff;
- defaultclef = violin;
barColumnPriority = "0";
marginBreakPriority = "-4";
\accepts "Voice";
};
+OrchestralPartStaffContext = \translator {
+ \HaraKiriStaffContext
+ barColumnPriority = "0";
+ marginBreakPriority = "-4";
+ \consists "Mark_engraver";
+ \consists "Bar_column_engraver";
+ \consists "Bar_number_engraver";
+};
+
OrchestralScoreContext= \translator {
\type Score_engraver;
Score;
markScriptPadding = "4.0";
barColumnPriority = "-4";
markBreakPriority = "-4";
+ defaultClef = violin;
\consists "Timing_engraver";
\consists "Bar_column_engraver";
--- /dev/null
+
+\score
+{
+ \notes { c1 c1 \property Score.skipBars = 1 c1 \break R1*8 c1 c1 c1 c1
+ }
+ \paper {
+
+ }
+}
NAME = lilypond
SUBDIRS = include
-EXTRA_DIST_FILES = VERSION
MODULE_LIBS=$(depth)/lib $(depth)/flower
STEPMAKE_TEMPLATES= c++ executable
$(outdir)/main.o: $(outdir)/BLURB.hh $(outdir)/COPERTINA.hh $(outdir)/FLAPTEKST.hh
-# ugh . -> $(outdir)
-VERSION: $(depth)/VERSION
- cp $< $@
-PACKAGE_NAME=LilyPond
-MAJOR_VERSION=1
-MINOR_VERSION=0
-PATCH_LEVEL=12
-MY_PATCH_LEVEL=hwn1
-
-# use the above to send patches: MY_PATCH_LEVEL is always empty for a
-# released version.
-#
-# Please don't move these comments up; the patch should fail if
-# the previous version was wrong.
{\
return this;\
}\
- virtual Class* access_ ## Class (bool copy_b = true) const;\
+ virtual Class* access_ ## Class (bool copy_b) const;\
~Class ## _identifier();\
virtual void do_print () const; \
virtual String do_str () const; \
for (Dictionary_iter<Identifier*> i (*translator_p_dict_p_); i.ok (); i++)
{
- Translator * t = i.val ()->access_Translator ();
+ Translator * t = i.val ()->access_Translator (false);
t-> output_def_l_ = this;
}
}
$$ = new Notename_table;
}
| NOTENAME_TABLE_IDENTIFIER {
- $$ = $1-> access_Notename_table();
+ $$ = $1-> access_Notename_table(true);
}
| notenames_body STRING '=' explicit_musical_pitch {
(*$$)[*$2] = *$4;
translator_spec_body:
TRANS_IDENTIFIER {
- $$ = $1->access_Translator ();
+ $$ = $1->access_Translator (true);
$$-> set_spot (THIS->here_input ());
}
| TYPE STRING ';' {
$$ = new Score;
}
| SCORE_IDENTIFIER {
- $$ = $1->access_Score ();
+ $$ = $1->access_Score (true);
}
| score_body mudela_header {
$$->header_p_ = $2;
$$ = p;
}
| PAPER_IDENTIFIER optional_semicolon {
- Paper_def *p = $1->access_Paper_def ();
+ Paper_def *p = $1->access_Paper_def (true);
THIS->lexer_p_->scope_l_arr_.push (p->scope_p_);
$$ = p;
}
$$ = $1;
}
| REAL_IDENTIFIER {
- Real *r_p = $1->access_Real ();
- $$ = * r_p;
- DOUT << "Lookup real: " << *r_p << "\n";
- delete r_p;
+ $$= *$1->access_Real (false);
}
| dim
| '(' real ')' {
$$ = THIS->default_midi_p ();
}
| MIDI_IDENTIFIER {
- $$ = $1-> access_Midi_def ();
+ $$ = $1-> access_Midi_def (true);
}
| midi_body translator_spec {
$$-> assign_translator ($2);
$$ = new Transposed_music ($3, *$2);
delete $2;
}
- | MUSIC_IDENTIFIER { $$ = $1->access_Music (); }
+ | MUSIC_IDENTIFIER { $$ = $1->access_Music (true); }
| NOTES
{ THIS->lexer_p_->push_note_state (); }
Music
$$ = new Barcheck_req;
}
| COMMAND_IDENTIFIER {
- $$ = $1->access_Request ();
+ $$ = $1->access_Request (true);
}
;
post_request:
POST_REQUEST_IDENTIFIER {
- $$ = (Request*)$1->access_Request ();
+ $$ = (Request*)$1->access_Request (true);
}
| dynamic_req {
$$ = $1;
}
}
| DURATION_IDENTIFIER {
- $$ = $1->access_Duration ();
+ $$ = $1->access_Duration (true);
}
| steno_duration '.' {
$$->dots_i_ ++;
$$ = -$2;
}
| INT_IDENTIFIER {
- int *i_p = $1->access_int ();
- $$ = *i_p;
- delete i_p;
+ $$ = *$1->access_int (false);
}
;
$$ = $1;
}
| STRING_IDENTIFIER {
- String *s_p = $1->access_String ();
-
- $$ = s_p;
- DOUT << "Lookup string: " << *s_p << "\n";
+ $$ = $1->access_String (true);
}
;
$$ = new Lookup;
}
| IDENTIFIER {
- $$ = $1->access_Lookup ();
+ $$ = $1->access_Lookup (true);
}
| symtables_body FONT STRING {
$$->font_ = *$3;
1.0.12
1.0.12.am1
1.0.12.hwn1
+1.0.12.hwn2
SUBDIRS = include
EXTRA_DIST_FILES += TODO
MODULE_LIBS=$(depth)/lib $(depth)/flower
-
STEPMAKE_TEMPLATES=c++ executable
include $(depth)/make/stepmake.make
$(outdir)/mi2mu-version.o: $(outdir)/version.hh
-VERSION: $(depth)/VERSION
- cp $< $@
\score{
\$bassi
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\include "clarinetti.ly"
\score{
\$clarinetti_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$contrabasso_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
--- /dev/null
+
+\paper { \translator {
+ \OrchestralPartStaffContext
+
+ }
+ \translator { \ScoreContext
+ skipBars = 1;
+ }
+}
\$bassi
>
- \include "score-paper.ly"
+
\score{
<
\property Score . textstyle = "italic"
\paper{
% Give hara-kiri something to do...
linewidth = 130.0\mm;
+ \translator { \OrchestralScoreContext }
}
\midi{ \tempo 4 = 160; }
}
\include "corni.ly"
\score{
\$corni_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\include "fagotti.ly"
\score{
\$fagotti_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$flauti_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$oboi_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\include "trombe.ly"
\score{
\$trombe_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$viola_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$violino1_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$violino2_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
\score{
\$violoncello_staff
- \include "part-paper.ly"
+ \include "coriolan-part-paper.ly"
\midi{ \tempo 4 = 160; }
}
>
a4 = \paper{
- \include "bar-numbering.ly"
+ \translator{ \BarNumberingStaffContext }
}
a4sixteen = \paper{
\paper_sixteen
linewidth= 193.\mm;
- \include "bar-numbering.ly"
+ \translator { \BarNumberingStaffContext }
}
\score{
\$lyric_staff
{ \notes \transpose a { \$grand_staff } }
>
- \include "score-paper.ly";
+ \paper { \translator { \OrchestralScoreContext }}
\midi{
\tempo 4 = 54;
}
.PHONY : all clean config default dist doc doc++ exe help html lib TAGS\
po
-
+VPATH=$(outdir)/ #ugh?
# target all:
#
all: default
$(LOOP)
-$(outdir)/version.hh: VERSION
- sh ./$(step-bindir)/make-version.sh > $@
+# ugh . -> $(outdir)
+$(outdir)/VERSION: $(depth)/VERSION
+ cp $< $@
+$(outdir)/version.hh: VERSION
+ sh ./$(step-bindir)/make-version.sh $< > $@
# should this be in Rules?
configure: configure.in aclocal.m4
\ifnum\thepage=1{\hfil \LilyIdString}%
\else{foo\hfil\the\pageno\hfil}%
\fi}}%
-\fi
\nopagenumbers
}