@item @code{instrument}, @code{instr} @propertytype{string}
@indexcode{instrument}@indexcode{instr}
- If @code{Staff_margin_engraver}
-@cindex Staff_margin_engraver
+ If @code{Instrument_name_engraver}
+@cindex Instrument_name_engraver
is
added to the Staff translator, then the @code{instrument} property
is used to label the first line of the staff and the @code{instr}
@item @code{Staff_group_bar_engraver}@indexcode{Staff_group_bar_engraver}
- @item @code{Staff_margin_engraver}@indexcode{Staff_margin_engraver}
+ @item @code{Instrument_name_engraver}@indexcode{Instrument_name_engraver}
Prints the name of the instrument (specified by
@code{Staff.instrument} and @code{Staff.instr}) at the left of the
staff.
-\version "1.3.5";
+\version "1.3.42";
\header{
enteredby = "jcn";
linewidth=150.0\mm;
\translator {
\StaffContext
- \consists "Staff_margin_engraver";
+ \consists "Instrument_name_engraver";
numberOfStaffLines = #1
marginScriptPadding = #30 % urg: this is in PT
instrument = #"Foo"
}
\translator {
\StaffGroupContext
- \consists "Staff_margin_engraver";
+ \consists "Instrument_name_engraver";
marginScriptPadding = #10 % urg: this is in PT
instrument = #" \n \n \n \n \n \n \n \n \n \nPiano\n(For rehearsal only)"
}
-\version "1.3.5";
+\version "1.3.42";
onestaff = \context Staff = foo\notes {
\property Staff.instr = instr
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes\transpose c'{
}
}
-\version "1.3.5";
+\version "1.3.42";
}
}
-\version "1.3.5";
+\version "1.3.42";
TestedFeatures = "beams and beamflags";
}
-\version "1.3.5";
+\version "1.3.42";
\score{
<
-\version "1.3.5";
+\version "1.3.42";
\score {
\notes \relative c' {
"(Feta definitively is not an abbreviation of Font-En-TjA)";
}
-\version "1.3.5";
+\version "1.3.42";
shortlong = \notes{
c4()c( c c |
>
}
-\version "1.3.5";
+\version "1.3.42";
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
%{
Would this be acceptable/good enough/convenient for entry?
-\version "1.3.5";
+\version "1.3.42";
\score {
\notes{
copyright = "public domain";
Tested = "test the Collision resolution ";
}
-\version "1.3.5";
+\version "1.3.42";
twovoice = \context Staff \notes <
\context Voice=i { \stemdown c4 d e f g2~ g4 a [c8 d e f] c2| }
-\version "1.3.5";
+\version "1.3.42";
\score {
>
}
-\version "1.3.5";
+\version "1.3.42";
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
FontBody= \notes\transpose c''{
\bar "|:";
% "(Feta definitively is not an abbreviation of Font-En-TjA)";
}
-\version "1.3.5";
+\version "1.3.42";
\include "font-body.ly"
\score{
% "(Feta definitively is not an abbreviation of Font-En-TjA)";
}
-\version "1.3.5";
+\version "1.3.42";
\include "paper16.ly"
\include "font-body.ly"
gourlay_maxmeasures =5.;
}
}
-\version "1.3.5";
+\version "1.3.42";
% perhaps the current modifier approach is too simplistic
-\version "1.3.5";
+\version "1.3.42";
gmsus=\notes\relative c \chords{
g1
-\version "1.3.5";
+\version "1.3.42";
%{
-\version "1.3.5";
+\version "1.3.42";
voiceOne = \notes \relative c'' {
a1 a a
-\version "1.3.5";
+\version "1.3.42";
toeter_i = \notes\relative c <{
\property Staff.instrument = #"Toeters"
>
}
-\version "1.3.5";
+\version "1.3.42";
/Mats B
%}
-\version "1.3.5";
+\version "1.3.42";
incipit = \notes\relative c'{
<b1 fis' b d>
-\version "1.3.5";
+\version "1.3.42";
%{
test key itemv breaking
-\version "1.3.5";
+\version "1.3.42";
blah = \notes {
}
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes\relative c'{
[c16 \stemdown c'' \stemboth c,, d]
copyright = "public domain";
}
-\version "1.3.5";
+\version "1.3.42";
m =\notes \relative c'' {
\property Staff.automaticMelismata = ##t
-\version "1.3.5";
+\version "1.3.42";
$somewhat_long = \lyrics{
\property Lyrics . textStyle = "roman"
-\version "1.3.5";
+\version "1.3.42";
global = \notes {
s1 | \mark "A";
>
\paper { Gourlay_maxmeaures = 2.; }
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
voice_one = \notes\transpose c''{ \stemup
R1 * 2 | f'4-. r r2 | R1 * 3 |
}
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes \transpose c''{
-\version "1.3.5";
+\version "1.3.42";
m = \notes \relative c''{
c1 | c2 c | c c | c c | \break c c | c c | c c | c c |
minVerticalAlign = 2.2*\staffheight;
}
\translator { \StaffContext
- \consists "Staff_margin_engraver";
+ \consists "Instrument_name_engraver";
marginScriptPadding = 15.0;
}
}
-\version "1.3.5";
+\version "1.3.42";
\score {
}
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
blah = \notes{ \transpose c'' {
"(Feta definitively is not an abbreviation of Font-En-TjA)";
}
-\version "1.3.5";
+\version "1.3.42";
shortlong = \notes{
c4()c( c c |
}
}
-\version "1.3.5";
+\version "1.3.42";
% test damping
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes\relative c'{
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes{
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes\transpose c'{
}
}
-\version "1.3.5";
+\version "1.3.42";
TestedFeatures = "This file tests various spacings";
}
-\version "1.3.5";
+\version "1.3.42";
multipart = \notes \relative c'{
\context StaffGroup <
-\version "1.3.5";
+\version "1.3.42";
nt = \notes { c1 \break c1 c1 }
stuff = \notes \relative c'' <
\context Staff = stone { \nt }
% test staff margin with partial measure.
+
+\version "1.3.42";
+
\score {
\notes { \property Staff.instrument = "foo" \partial 4; c4 c1 }
-\paper { \translator { \StaffContext \consists Staff_margin_engraver; }}
+ \paper {
+ \translator { \StaffContext \consists Instrument_name_engraver; }
+ }
}
-\version "1.3.5";
+\version "1.3.42";
\score {
\translator { \ScoreContext
%textVerticalAlignment = #0
}
-%\translator { \StaffContext \consists "Staff_margin_engraver"; }
-%\translator { \PianoStaffContext \consists "Staff_margin_engraver"; }
+%\translator { \StaffContext \consists "Instrument_name_engraver"; }
+%\translator { \PianoStaffContext \consists "Instrument_name_engraver"; }
\translator { \StaffContext \consists "New_staff_margin_engraver"; }
\translator { \PianoStaffContext \consists "New_staff_margin_engraver"; }
}}
\translator { \OrchestralScoreContext }
\translator {
\StaffContext
- \consists "Staff_margin_engraver";
+ \consists "Instrument_name_engraver";
marginHangOnClef = 1;
}
}
}
-\version "1.3.5";
+\version "1.3.42";
>
\paper { linewidth = -1.; }
}
-\version "1.3.5";
+\version "1.3.42";
-\version "1.3.5";
+\version "1.3.42";
\score{
\context Voice\notes \relative c''{
%%?
}
-\version "1.3.5";
+\version "1.3.42";
beamintervals = \notes{
\time 7/4;
instrument= "Violoncello";
}
-\version "1.3.5";
+\version "1.3.42";
% this is an example of extreme dynamics
% the thumb-script is used in cello music to indicate a note that should
% be played with your thumb.
-\version "1.3.5";
+\version "1.3.42";
\score { \notes \relative c'' {
[<a8_\thumb a'8-3(> <)b_\thumb b'-3>
instrument= "Instrument";
}
-\version "1.3.5";
+\version "1.3.42";
\score{
\notes
}
-\version "1.3.5";
+\version "1.3.42";
vOne = \notes \relative c''{
\clef"violin";
}
}
-\version "1.3.5";
+\version "1.3.42";
copyright = "public domain";
}
-\version "1.3.25";
+\version "1.3.42";
\include "paper-as5.ly"
{\voicetwo c}>
- \version "1.0.21";
+ \version "1.3.42";
}
\paper { }
-\version "1.3.5";
+\version "1.3.42";
\score {
\notes <
}
}
-\version "1.3.5";
+\version "1.3.42";
\context Score \notes <
\context PianoStaff <
\context Staff = treble {
+ \property Staff.instrument = #"right"
+ \property Staff.instr = #"rt"
+ \property PianoStaff.instrument = #"hands"
+ \property PianoStaff.instr = #"hs"
+
+
\property Score.midiInstrument = "church organ"
\praeludiumRight r1 \fugaIIRight }
\context Staff = bass {
>
\context Staff = pedal \relative c <
{
+ \property Staff.instrument = #"left"
+ \property Staff.instr = #"lt"
+
\time 4/4;
\key e;
\clef bass;
\paper {
\translator { \OrchestralScoreContext }
+ \translator { \PianoStaffContext
+ \consists "Instrument_name_engraver";
+ }
+ \translator { \StaffContext
+ \consists "Instrument_name_engraver";
+ }
}
\midi {
Item * edge = new Item;
- SCM edge_sym = ly_symbol2scm ("Left_edge_item");
+ SCM edge_sym = ly_symbol2scm ("Left_edge_item");
edge->set_elt_property ("break-align-symbol", edge_sym);
/*
#include "main.hh"
#include "musical-request.hh"
#include "identifier.hh"
-#include "mudela-version.hh"
#include "version.hh"
+#include "mudela-version.hh"
void strip_trailing_white (String&);
void strip_leading_white (String&);
"localedir: `" DIR_LOCALEDIR "'\n"
"\n";
- print_mudela_versions (cout);
+
cout << endl;
cout << _f ("Report bugs to %s", "bug-gnu-music@gnu.org") << endl;
#include "auto-change-music.hh"
#include "output-property.hh"
-// mmm
-Mudela_version oldest_version ("1.3.4");
-
bool
is_duration_b (int t)
{
return t == 1 << intlog2(t);
}
+
+// mmm JUNKME ?
+Mudela_version oldest_version ("1.3.42");
+
void
print_mudela_versions (ostream &os)
{
<< endl;
}
+
// needed for bison.simple's malloc() and free()
#include <malloc.h>
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly"
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly";
-\version "1.3.38";
+\version "1.3.42";
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly"
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly"
}
-\version "1.3.38";
+\version "1.3.42";
(bss . ( -1 6 2 ))
)
-\version "1.3.38";
+\version "1.3.42";
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly"
% Toplevel AsciiScript initialisation file.
-\version "1.3.24";
+\version "1.3.42";
\include "declarations-as.ly"
% Toplevel AsciiScript initialisation file.
-\version "1.3.24";
+\version "1.3.42";
\include "declarations-as.ly"
% Toplevel initialisation file.
-\version "1.3.5";
+\version "1.3.42";
\include "declarations.ly"
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly";
% Toplevel initialisation file.
-\version "1.3.4";
+\version "1.3.42";
\include "declarations.ly"
(sidd . ( -1 6 2 ))
}
-\version "1.3.38";
+\version "1.3.42";
-% $Id: norsk.ly,v 1.3 2000/03/23 12:52:56 fred Exp $
+% $Id: norsk.ly,v 1.4 2000/04/04 17:00:58 fred Exp $
%{
-\version "1.3.38";
+\version "1.3.42";
% paper-as5.ly
-\version "1.3.24";
+\version "1.3.42";
paper_as_five = \paper {
staffheight = 5.\char;
% paper-as9.ly
-\version "1.3.24";
+\version "1.3.42";
paper_as_nine = \paper {
staffheight = 9.\char;
-\version "1.3.4";
+\version "1.3.42";
paper_sixteen = \paper {
staffheight = 16.0\pt;
% paper20.ly
-\version "1.3.4";
+\version "1.3.42";
paper_twenty = \paper {
staffheight = 20.0\pt;
% paper23.ly
-\version "1.3.4";
+\version "1.3.42";
paper_twentythree = \paper {
staffheight = 23.0\pt;
%}
-\version "1.3.4";
+\version "1.3.42";
%hmm, (these) abbrevs suck, imo
% i guess they're meant as some form of doco
autoBeamOn = \property Voice.noAutoBeaming = ##f
-emptyText = \property Voice.textEmptyDimension = ##t
-fatText = \property Voice.textEmptyDimension = ##f
+emptyText = \property Voice.textNonEmpty = ##f
+fatText = \property Voice.textNonEmpty = ##t
(hiss . ( -1 6 1 ))
(hississ . ( -1 6 2 ))
)
-\version "1.3.38";
+\version "1.3.42";
conversions.append ((1,3,41), conv,
'[:16 c4 d4 ] -> \repeat "tremolo" 2 { c16 d16 }')
+if 1:
+ def conv (str):
+ str = re.sub ('Staff_margin_engraver' , 'Instrument_name_engraver', str)
+ return str
+
+ conversions.append ((1,3,42), conv,
+ 'Staff_margin_engraver deprecated, use Instrument_name_engraver')
+
############################