+1.3.133.jcn4
+============
+
+* convert-ly: Added and fixed various entries (our strings with optional "" really suck).
+
1.3.133.jcn3
============
* Small ez play tweaks. Guess I'm a sucker too.
-*
-
1.3.133.jcn2
============
\score {
\notes\relative c'' {
- a1^#`(rows ,dotted-eight-note " = 64")
+ a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
}
\paper {
linewidth = -1.;
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=133
-MY_PATCH_LEVEL=jcn3
+MY_PATCH_LEVEL=jcn4
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
\score {
\notes\relative c'' {
- a1^#`(rows ,dotted-eight-note " = 64")
+ a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
}
\paper {
linewidth = -1.;
/* let stopnote in queue be ignored,
new stop note wins */
stop_note_queue[i].ignore_b_ = true;
-
-#if 1
/* don't replay start note, */
play_start = false;
break;
-#endif
}
else
{
#
# Also clean hand-compiled stuff in cwd
#
-localclean: local-auto-gen-clean local-letter-clean
+localclean: local-auto-gen-clean
# Compose string from two parts: must not remove myself.
auto-gen-tag=Generated
rm -f `grep -l '$(auto-gen-tag)' *`
rm -f *.dvi *.png
-local-letter-clean:
- rm -f $(outdir)-letter/*
\property Staff.midiInstrument = #"contrabass"
\property Staff.instrument = #"Contrabasso"
\property Staff.instr = #"Cb."
-% \property Staff.transposing = #-12
+ \property Staff.transposing = #-12
\clef "bass";
%\property Staff.clefGlyph = #"clefs-F"
%\property Staff.clefPosition = #2
-
-%%
-%% Hopefully, this can be junked when part-combiner+midi+dynamics work ok.
-%%
-
-\version "1.3.117";
-
-\include "header.ly"
-\include "global.ly"
-
-\include "flauto-1.ly"
-\include "flauto-2.ly"
-\include "oboe-1.ly"
-\include "oboe-2.ly"
-\include "clarinetto-1.ly"
-\include "clarinetto-2.ly"
-\include "fagotto-1.ly"
-\include "fagotto-2.ly"
-\include "corno-1.ly"
-\include "corno-2.ly"
-\include "trombo-1.ly"
-\include "trombo-2.ly"
-\include "timpani.ly"
-\include "violino-1.ly"
-\include "violino-2.ly"
-\include "viola-1.ly"
-\include "viola-2.ly"
-\include "violoncello.ly"
-\include "contrabasso.ly"
-
-\score{
- <
- \global
- \context Staff=flauti <
- \property Staff.midiInstrument = #"flute"
- \flautoI
- \flautoII
- >
- \context Staff=oboi <
- \property Staff.midiInstrument = #"oboe"
- \oboeI
- \oboeII
- >
- \context Staff=clarinetti <
- \property Staff.midiInstrument = #"clarinet"
- \property Staff.transposing = #-2
- \clarinettoI
- \clarinettoII
- >
- \context Staff=fagotti <
- \property Staff.midiInstrument = #"bassoon"
- \fagottoI
- \fagottoII
- >
- \context Staff=corni <
- \property Staff.midiInstrument = #"french horn"
- \property Staff.transposing = #3
- \cornoI
- \cornoII
- >
- \context Staff=trombe <
- \property Staff.midiInstrument = #"trumpet"
- \tromboI
- \tromboII
- >
- \context Staff=timpani <
- \property Staff.midiInstrument = #"timpani"
- \timpani
- >
- \context Staff=violini <
- \property Staff.midiInstrument = #"violin"
- \violinoI
- \violinoII
- >
- \context Staff=violi <
- \property Staff.midiInstrument = #"viola"
- \violaI
- \violaII
- >
- \context Staff=violoncello <
- \property Staff.midiInstrument = #"cello"
- \violoncello
- >
- \context Staff=contrabasso <
- \property Staff.midiInstrument = #"contrabass"
- \property Staff.transposing = #-12
- \contrabasso
- >
- >
- \include "coriolan-midi.ly"
-}
-
instrument = "";
}
\include "coriolan-paper.ly"
-% \include "coriolan-midi.ly"
-}
-
-
-
-%%
-%% Hopefully, this can be junked when part-combiner+midi+dynamics work ok.
-%%
-\score{
- <
- \global
- \context Staff=flauti <
- \property Staff.midiInstrument = #"flute"
- \flautoI
- \flautoII
- >
- \context Staff=oboi <
- \property Staff.midiInstrument = #"oboe"
- \oboeI
- \oboeII
- >
- \context Staff=clarinetti <
- \property Staff.midiInstrument = #"clarinet"
- \property Staff.transposing = #-2
- \clarinettoI
- \clarinettoII
- >
- \context Staff=fagotti <
- \property Staff.midiInstrument = #"bassoon"
- \fagottoI
- \fagottoII
- >
- \context Staff=corni <
- \property Staff.midiInstrument = #"french horn"
- \property Staff.transposing = #3
- \cornoI
- \cornoII
- >
- \context Staff=trombe <
- \property Staff.midiInstrument = #"trumpet"
- \tromboI
- \tromboII
- >
- \context Staff=timpani <
- \property Staff.midiInstrument = #"timpani"
- \timpani
- >
- \context Staff=violini <
- \property Staff.midiInstrument = #"violin"
- \violinoI
- \violinoII
- >
- \context Staff=violi <
- \property Staff.midiInstrument = #"viola"
- \violaI
- \violaII
- >
- \context Staff=violoncello <
- \property Staff.midiInstrument = #"cello"
- \violoncello
- >
- \context Staff=contrabasso <
- \property Staff.midiInstrument = #"contrabass"
- \property Staff.transposing = #-12
- \contrabasso
- >
- >
\include "coriolan-midi.ly"
}
-\version "1.3.117";
+\version "1.3.122";
globalI = \notes{
\time 12/8;
-\version "1.3.117";
+\version "1.3.122";
globalIi = \notes{
\time 4/4;
- \property Staff.timeSignatureStyle = "C2/2"
+ \property Staff.TimeSignature \override #'style = #'C2/2
\key a\minor;
}
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
\include "global-i.ly"
\include "violoncello-i.ly";
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
\include "global-ii.ly"
\include "violoncello-ii.ly";
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
% {
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
violinoI = \notes\relative c'' {
- \property Voice.beamAutoEnd = "3/8"
- %% should fix autobeamer: not only check shortest type's end in beam,
- %%% but also the newly added type's end
- \property Voice."beamAutoEnd_8" = "1/16"
+ \property Voice.autoBeamSettings \override #'(end * * * *) = #(make-moment 3 8)
+ %{
+ should fix autobeamer: not only check shortest type's end in beam,
+ but also the newly added type's end
+
+ %\property Voice.autoBeamSettings \override #'(end 1 8 * *) = #(make-moment 1 16)
+
+ Normally, we want
+
+ [c8 c c] and [c16 c c c c c],
+
+ ie '(end *) = 3/8
+
+ However, we don't want
+
+ [c16 c c c c8] c8, TODO: manually correct these
+
+ but rather
+
+ [c16 c c c] c8 c8,
+
+ ie '(end X) = 1/4
+
+ X can't be 1/16 or 1/8
+
+ Hmm.
+ %}
+
%r4 r8 [g16(fis e)d] b'8 a r r [g16(fis e)d] c'8 |
r4 r8 g16(fis e)d b'8 a r r g16(fis e)d c'8 |
b r r d16(b)a g(e')c d(b)a g(c)a c(b)a g(a)fis |
<c4.\prall>~c16 b(a g)e' c()d b(a g)c a()c b(a)g
\context Staff<
%\context Voice { a16 f | g1. }
- \context Voice { \property Voice.verticalDirection=1 a16 fis | g1. }
- \context Voice=x { \property Voice.verticalDirection=-1 c,16 c | b1. }
+ \context Voice { \stemUp\slurUp\tieUp a16 fis | g1. }
+ \context Voice=x { \stemDown\slurDown\tieDown c,16 c | b1. }
>
\bar "|.";
}
violinoIStaff = \context Staff = violino <
%urg
- % \notes\property Voice.textStyle = "large" s4^"Moderato"
- % \notes {s4. \property Voice.textStyle = "large" s4^"Moderato"}
+ % \notes\property Voice.TextScript \set #'font-style = #'large s4^"Moderato"
+ % \notes {s4. \property Voice.TextScript \set #'font-style = #'large s4^"Moderato"}
% urg, timidity violino patches broken?
%\property Staff.instrument = "violin"
\property Staff.instrument = "viola"
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
violinoIi = \notes\relative c''{
R1*8 |
%<a2 b, d4><gis\prall b,4 d>| checkme
\context Staff<
\context Voice {
- \property Voice.verticalDirection=1
+ \stemUp\slurUp\tieUp
<a2 b,>gis\prall|a8 g f4~f8 e(d)cis|
%105
d c bes4~bes8 a(gis)fis|gis4 e <e' a,><f a,>|
a1|
}
\context Voice=x {
- \property Voice.verticalDirection=-1
+ \stemDown\slurDown\tieDown
d,4 s<d b'>s|<a2 d> s2|
%105
<d g,> s2|s1|
violinoIiStaff = \context Staff = violino <
%urg
- % \notes\property Voice.textStyle = "large" s4^"Moderato"
- % \notes {s4. \property Voice.textStyle = "large" s4^"Moderato"}
+ % \notes\property Voice.TextScript \set #'font-style = #'large s4^"Moderato"
+ % \notes {s4. \property Voice.TextScript \set #'font-style = #'large s4^"Moderato"}
% urg, timidity violino patches broken?
%\property Staff.instrument = "violin"
\property Staff.instrument = "viola"
\violinoIi
\globalIi
>
-\version "1.3.117";
+\version "1.3.122";
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
% {
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
% {
\include "violino-i.ly";
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
% {
\include "violino-i.ly";
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
violoncelloI = \notes\relative c{
- \property Voice.beamAutoEnd = "3/8"
+ \property Voice.autoBeamSettings \override #'(end * * * *) = #(make-moment 3 8)
+ %\property Voice.autoBeamSettings \override #'(end 1 8 * *) = #(make-moment 1 16)
+
g8()a d, g b()g d()fis a d a()fis |
g()d b' g b()c b()e fis g d()d, |
g r r [d'16(b a )g] e'8 d r r [c16(b a )b] g'8 |
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
violoncelloIi = \notes\relative c{
r2 a'2|c e,| f8(e)d2 e8()fis| g a bes2 a8()gis|
%75
e dis8 cis dis2\prall|e4 b' e2~|e dis\prall|e r4 d|cis bes(a\prall)g|
%80
- bes, g'(()f\prall)e|g, e'(()d\prall)cis|d8()a d e f g as f|d e f4.(e8 d)c|
+ %FIXME: did Bach really use phrasing marks?
+ bes, g'\(()f\prall\)e|g, e'\(()d\prall\)cis|d8()a d e f g as f|d e f4.(e8 d)c|
b c d4.(c8 b)a|
%85
b()g b c d()e b d|e4 e, a2~|a4 g8 fis g2~|g4 a8 b c2~|c4 bes8 a bes2~|
copyright = "Public Domain";
}
-\version "1.3.117";
+\version "1.3.122";
% {
if 1:
def conv (str):
- str = re.sub ('beamAuto([^=]+)= *"([0-9]+)/([0-9]+)" *;',
+ str = re.sub ('"?beamAuto([^"=]+)"? *= *"([0-9]+)/([0-9]+)" *;*',
'beamAuto\\1 = #(make-moment \\2 \\3)',
str)
return str
str = re.sub ('basicLocalKeyProperties' ,"Accidentals", str)
str = re.sub ('basicMarkProperties' ,"Accidentals", str)
str = re.sub ('basic([A-Za-z_]+)Properties', '\\1', str)
+
return str
conversions.append (((1,3,92), conv, 'basicXXXProperties -> XXX'))
if 1:
def conv (str):
+ # Ugh, but meaning of \stemup changed too
+ # maybe we should do \stemup -> \stemUp\slurUp\tieUp ?
str = re.sub ('\\\\stemup', '\\\\stemUp', str)
str = re.sub ('\\\\stemdown', '\\\\stemDown', str)
str = re.sub ('\\\\stemboth', '\\\\stemBoth', str)
+
str = re.sub ('\\\\slurup', '\\\\slurUp', str)
str = re.sub ('\\\\slurboth', '\\\\slurBoth', str)
str = re.sub ('\\\\slurdown', '\\\\slurDown', str)
str = re.sub ('\\\\voicetwo', '\\\\voiceTwo', str)
str = re.sub ('\\\\voicethree', '\\\\voiceThree', str)
str = re.sub ('\\\\voicefour', '\\\\voiceFour', str)
-
+
+ # I don't know exactly when these happened...
+ str = re.sub ('\\\\property *[^ ]*verticalDirection[^=]*= *#?(1|(\\\\up))', '\\\\stemUp\\\\slurUp\\\\tieUp', str)
+ str = re.sub ('\\\\property *[^ ]*verticalDirection[^=]*= *#?((-1)|(\\\\down))', '\\\\stemDown\\\\slurDown\\\\tieDown', str)
+ str = re.sub ('\\\\property *[^ .]*[.]?([a-z]+)VerticalDirection[^=]*= *#?(1|(\\\\up))', '\\\\\\1Up', str)
+ str = re.sub ('\\\\property *[^ .]*[.]?([a-z]+)VerticalDirection[^=]*= *#?((-1)|(\\\\down))', '\\\\\\1Down', str)
+
return str
conversions.append (((1,3,93), conv,
conversions.append (((1,3,97), conv, 'ChordName -> ChordNames'))
+
+## TODO: add lots of these
+
if 1:
def conv (str):
- str = re.sub ('\\\\property *Voice *[.] *textStyle *= *"([^"]*)"', '\\\\property Voice.TextScript \\\\set #\'font-style = #\'\\1', str)
- str = re.sub ('\\\\property *Lyrics *[.] *textStyle *= *"([^"]*)"', '\\\\property Lyrics.LyricText \\\\set #\'font-style = #\'\\1', str)
+ str = re.sub ('\\\\property *"?Voice"? *[.] *"?textStyle"? *= *"([^"]*)"', '\\\\property Voice.TextScript \\\\set #\'font-style = #\'\\1', str)
+ str = re.sub ('\\\\property *"?Lyrics"? *[.] *"?textStyle"? *= *"([^"]*)"', '\\\\property Lyrics.LyricText \\\\set #\'font-style = #\'\\1', str)
+
+ str = re.sub ('\\\\property *"?([^.]+)"? *[.] *"?timeSignatureStyle"? *= *"([^"]*)"', '\\\\property \\1.TimeSignature \\\\override #\'style = #\'\\2', str)
+
+ str = re.sub ('\\\\property *"?([^.]+)"? *[.] *"?horizontalNoteShift"? *= *"?#?([0-9]+)"?', '\\\\property \\1.NoteColumn \\\\override #\'horizonta-shift = #\\2', str)
return str
if 1:
def conv (str):
- str = re.sub ('beamAutoEnd_([0-9]*) *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end 1 \\1 * *) = \\2', str)
- str = re.sub ('beamAutoBegin_([0-9]*) *= *(#\\([^)]*\))', 'autoBeamSettings \\push #\'(begin 1 \\1 * *) = \\2', str)
- str = re.sub ('beamAutoEnd *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end * * * *) = \\1', str)
- str = re.sub ('beamAutoBegin *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(begin * * * *) = \\1', str)
+ str = re.sub ('"?beamAutoEnd_([0-9]*)"? *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end 1 \\1 * *) = \\2', str)
+ str = re.sub ('"?beamAutoBegin_([0-9]*)"? *= *(#\\([^)]*\))', 'autoBeamSettings \\push #\'(begin 1 \\1 * *) = \\2', str)
+ str = re.sub ('"?beamAutoEnd"? *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end * * * *) = \\1', str)
+ str = re.sub ('"?beamAutoBegin"? *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(begin * * * *) = \\1', str)
return str