bool do_equal_b (Request*) const;
void compress (Moment);
- virtual Moment duration() const;
- Rhythmic_req();
+ virtual Moment length_mom () const;
static int compare (Rhythmic_req const&,Rhythmic_req const&);
REQUESTMETHODS(Rhythmic_req);
};
REQUESTMETHODS(Spacing_req);
};
-/// Put a text above or below (?) this staff.
-class Text_req : public virtual Musical_req {
-public:
- /// preferred position (above/below)
- Direction dir_;
- /// the characteristics of the text
- Text_def *tdef_p_;
-
- Text_req (int d, Text_def*);
- ~Text_req();
- Text_req (Text_req const&);
-
- REQUESTMETHODS(Text_req);
-};
-
/** a syllable or lyric is a string with rhythm.
*/
class Lyric_req : public Rhythmic_req {
REQUESTMETHODS(Melodic_req);
};
+/// specify tonic of a chord
+struct Tonic_req : public Melodic_req
+{
+ Tonic_req ();
+ REQUESTMETHODS(Tonic_req);
+};
+
/// Put a note of specified type, height, and with accidental on the staff.
class Note_req : public Rhythmic_req, virtual public Melodic_req {
public:
/// force/supress printing of accidental.
bool forceacc_b_;
+ /// Cautionary, i.e. parenthesized accidental.
+ bool cautionary_b_;
Note_req();
bool do_equal_b (Request*) const;
REQUESTMETHODS(Note_req);
};
-/** Start / stop a beam at this note */
-class Beam_req : public Musical_span_req {
-public:
- REQUESTMETHODS(Beam_req);
-
- Beam_req();
-};
/**
Start / stop an abbreviation beam at this note.
int type_i_;
};
-/**
- Start a tie at this note, end it at the next
- */
-class Tie_req : public Musical_req {
-public:
- REQUESTMETHODS(Tie_req);
-};
+
/// a slur
class Slur_req : public Musical_span_req {
};
-/// a plet (bracket with) number
-class Plet_req : public Musical_span_req {
+/// an extender line
+class Extender_req : public Musical_span_req {
public:
- int plet_i_;
-
- REQUESTMETHODS(Plet_req);
- Plet_req ();
+ REQUESTMETHODS(Extender_req);
+ Extender_req ();
};
class Musical_script_req : public Musical_req, public Script_req {
for FP, SF, SFZ (FP is *not* louder than FFF)
*/
enum Loudness {
- FFF, FF, F, MF, MP, P, PP, PPP, FP, SF, SFZ
- };
+ FFFFFF, FFFFF, FFFF, FFF, FF, F, MF, MP, P, PP, PPP, PPPP, PPPPP, PPPPPP, FP, SF, SFF, SFZ, SP, SPP, RFZ };
static String loudness_static_str (Loudness);
REQUESTMETHODS(Dynamic_req);
};