-
\header{
filename = "beams.ly";
composer = "heu";
TestedFeatures = "beams and beamflags";
}
-\version "0.1.9";
+\version "0.1.10";
\score{
- \melodic { \multi 3 <
- { \octave c';
+ <
+% \property Score.beamquantisation = \none
+ \type Grand_staff <
+ \melodic {
+ \octave c';
\meter 8/4;
- \duration8;
- \stemup [c c'' a' f']
- \duration16;
- \stemup [c c'' a' f']
- \duration32;
- \stemup [c c'' a' f']
- \duration64;
- \stemup [c c'' a' f']
- \duration128;
- \stemup [c c'' a' f']
+ \stemup [c8 c'' a' f']
+ \stemup [c16 c'' a' f']
+ \stemup [c32 c'' a' f']
+ \stemup [c64 c'' a' f']
+ \stemup [c128 c'' a' f']
r32
- \duration 8;
- \stemup ['g 'g 'g 'g]
- \duration 16;
- \stemup ['g 'g 'g 'g]
- \duration 32;
- \stemup ['g 'g 'g 'g]
- \duration 64;
- \stemup ['g 'g 'g 'g]
- \duration 128;
- \stemup ['g 'g 'g 'g]
+ \stemup [g8 g g g]
+ \stemup [g16 g g g]
+ \stemup [g32 g g g]
+ \stemup [g64 g g g]
+ \stemup [g128 g g g]
r32
+
+ \octave c;
+ \stemboth;
+ [c'8 c'] [b b] [a a] [g g] [f f] [e e]
+ [c'16 c'] [b b] [a a] [g g] [f f] [e e]
+ [c'32 c'] [b b] [a a] [g g] [f f] [e e]
+ [c'64 c'] [e e]
}
-
- { \octave c';
+ >
+ <
+ \melodic {
+ \octave c';
\meter 8/4;
- \duration8;
- \stemdown [a' 'a c e]
- \duration16;
- \stemdown [a' 'a c e]
- \duration32;
- \stemdown [a' 'a c e]
- \duration64;
- \stemdown [a' 'a c e]
- \duration128;
- \stemdown [a' 'a c e]
+ \stemdown [a'8 'a c e]
+ \stemdown [a'16 'a c e]
+ \stemdown [a'32 'a c e]
+ \stemdown [a'64 'a c e]
+ \stemdown [a'128 'a c e]
r32
\octave c;
- \duration 8;
- \stemdown [d'' d'' d'' d'']
- \duration 16;
- \stemdown [d'' d'' d'' d'']
- \duration 32;
- \stemdown [d'' d'' d'' d'']
- \duration 64;
- \stemdown [d'' d'' d'' d'']
- \duration 128;
- \stemdown [d'' d'' d'' d'']
+ \stemdown [d''8 d'' d'' d'']
+ \stemdown [d''16 d'' d'' d'']
+ \stemdown [d''32 d'' d'' d'']
+ \stemdown [d''64 d'' d'' d'']
+ \stemdown [d''128 d'' d'' d'']
r32
- } >
-
- {\duration "last";
- % ugh, "duration mode"
-
- [g8 g] [a a] [b b] [c' c']
-
- [g16 g ] [a a] [b b] [c' c']
- [g32 g] [a a] [b b] [c' c']
-
- [g64 g ] [c' c' ]
- }
- {
- \transpose d {
- \octave c''';
- | [g8 g] [a a] [b b] [c' c']
- [g16 g ] [a a] [b b] [c' c']
- [g32 g] [a a] [b b] [c' c']
- [g64 g]
- [c' c']
- }
+ \octave c'';
+ \stemboth;
+ [a8 a] [b b] [c' c'] [d' d'] [e' e'] [f' f']
+ [a16 a] [b b] [c' c'] [d' d'] [e' e'] [f' f']
+ [a32 a] [b b] [c' c'] [d' d'] [e' e'] [f' f']
+ [a64 a] [f' f']
}
- }
+ >
+ >
+
\paper{
- gourlay_maxmeasures = 1.;
+ castingalgorithm = \Wordwrap;
}
}
-
bool experimental_features_global_b = true;
#include "bezier.hh"
-#include "bezier.cc"
+
+#if 0
#include "offset.cc"
+#include "interval.cc"
+#endif
+#include "misc.cc"
+#include "bezier.cc"
struct Point
{
{
//cout.unsetf(ios::scientific);
cout.setf(ios::fixed);
-#if 0
+#if 1
bow ((Point[6]){ 0,0, 20,0, 40,0, 60,0, 80,0, 100,1 }, 6, 1);
bow ((Point[6]){ 0,0, 20,0, 40,30, 60,30, 80,0, 100,1 }, 6, 1);
bow ((Point[6]){ 0,0, 20,0, 40,0, 60,0, 80,10, 100,1 }, 6, 1);
bow ((Point[6]){ 0,10, 20,20, 40,0, 60,40, 80,20, 100,50 }, 6, -1);
#endif
+#if 1
//clipping
-#if 0
+
bow ((Point[6]){ 0,0, 20,60, 40,0, 60,0, 80,0, 100,1 }, 6, 1);
bow ((Point[6]){ 0,1, 20,0, 40,0, 60,0, 80,60, 100,0 }, 6, 1);
-// bow ((Point[6]){ 0,0, 20,20, 40,40, 60,60, 80,140, 100,100 }, 6, 1);
+ bow ((Point[6]){ 0,0, 20,20, 40,40, 60,60, 80,140, 100,100 }, 6, 1);
bow ((Point[6]){ 0,0, 20,20, 40,40, 60,60, 80,20, 100,100 }, 6, -1);
bow ((Point[6]){ 0,0, 20,-20, 40,-40, 60,-60, 80,-20, 100,-100 }, 6, 1);
-// bow ((Point[6]){ 0,0, 20,-20, 40,-40, 60,-60, 80,-140, 100,-100 }, 6, -1);
+ bow ((Point[6]){ 0,0, 20,-20, 40,-40, 60,-60, 80,-140, 100,-100 }, 6, -1);
+ bow ((Point[7]){ 0,0, 20,40, 100,0, 150,0, 200,0, 280,40, 300,0 }, 7, 1);
bow ((Point[7]){ 0,0, 20,40, 100,0, 150,0, 200,0, 280,40, 300,0 }, 7, 1);
+ bow ((Point[7]){ 0,20, 20,40, 100,0, 150,0, 200,0, 280,40, 300,20 }, 7, 1);
+ bow ((Point[3]){ 0,0, 10,10, 20,-20 }, 3, 1);
#endif
-#if 0
- // bugs
+#if 1
+ // infeasible
bow ((Point[6]){ 0,0, 20,20, 40,40, 60,60, 80,140, 100,100 }, 6, 1);
bow ((Point[6]){ 0,0, 20,-40, 40,0, 60,20, 80,20, 100,40 }, 6, -1);
bow ((Point[6]){ 0,0, 20,20, 40,40, 60,60, 80,140, 100,100 }, 6, 1);
#endif
-// bow ((Point[6]){ 0,0, 20,20, 40,0, 60,0, 80,20, 100,1 }, 6, 1);
-// bow ((Point[6]){ 0,20, 20,40, 40,0, 60,0, 80,40, 100,20 }, 6, 1);
-
- bow ((Point[7]){ 0,0, 20,40, 100,0, 150,0, 200,0, 280,40, 300,0 }, 7, 1);
- bow ((Point[7]){ 0,20, 20,40, 100,0, 150,0, 200,0, 280,40, 300,20 }, 7, 1);
cout << "\\end" << endl;