]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.32
authorfred <fred>
Sun, 24 Mar 2002 19:31:48 +0000 (19:31 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:31:48 +0000 (19:31 +0000)
hdr/leastsquares.hh
hdr/localkeyreg.hh
hdr/reqtodo.hh [new file with mode: 0644]

index b9a9241d0d8081aeef9e0a65755733f3986ba547..35b1e1d34b912f0c71bcd52fac37e670ea88bcf4 100644 (file)
@@ -9,6 +9,10 @@
 #include "varray.hh"
 #include "offset.hh"
 
+
+/**
+  Least squares minimisation in 2 variables.
+  */
 struct Least_squares {
     Array<Offset> input;
     void minimise(Real &coef, Real &offset);
index 742d9cb41e2d47679c8e7b6af16061ea6282bc85..48a9b5cbd299749c79fe347590375d1ec12e0e06 100644 (file)
@@ -8,14 +8,13 @@
 #ifndef LOCALKEYREG_HH
 #define LOCALKEYREG_HH
 #include "register.hh"
+#include "key.hh"
 
 struct Local_key_register : Request_register {
+    Local_key local_key_;
     Local_key_item* key_item_p_;
 
     /* *************** */
-    
-    virtual bool try_request(Request*);
-    virtual void process_request();
     virtual void acknowledge_element(Staff_elem_info);
     virtual void do_pre_move_process();
     Local_key_register(Complex_walker*);
diff --git a/hdr/reqtodo.hh b/hdr/reqtodo.hh
new file mode 100644 (file)
index 0000000..eaed606
--- /dev/null
@@ -0,0 +1,83 @@
+#if 0
+
+
+
+/**Draw a (Guitar) chord above or below this ``note''.
+Why a request?
+Because everything else is done in requests.
+*/
+struct Chord : Request {
+       // don't know how this looks.
+};
+
+
+/// for absolute dynamics
+enum Loudness {
+    FFF, FF, F, MF, MP, P, PP, PPP
+} ;
+
+
+/**
+Start/stop a bracket at this note. if #nplet# is set, the staff will
+try to put an appropriate number over the bracket
+*/
+struct Bracket_req : Span_req {
+    int nplet;                 // print a number over the beam.
+};
+
+struct Subtle_req {
+    Moment subtime;
+};
+
+
+/** helper in the hierarchy. Each dynamic is bound to one note ( a
+    crescendo spanning multiple notes is thought to be made of two
+    "dynamics": a start and a stop).  Dynamic changes can occur in a
+    smaller time than the length of its note, therefore fore each
+    Dynamic request carries a time, measured from the start of its
+    note.
+
+    This subfield would come in handy, if mpp96 was adapted for midi
+    support.
+    
+    Dynamic should have been derived from request, but I don't want to
+    fuss with virtual baseclasses.  */
+
+struct Dynamic:Subtle_req {
+
+};
+/// do a crescendo
+struct Cresc_req : Span_req, Dynamic {
+    
+};
+
+/// do a decrescendo
+struct Decresc_req : Span_req, Dynamic {
+    
+};
+
+/// do a dynamic like "fff" or "mp"
+struct Absdynamic_req : Request, Dynamic {
+    Loudness loudness;
+};
+
+struct Grace_req : Subtle_req {
+    
+};
+
+struct Grace_turn_req : Grace_turn {
+    
+};
+
+struct Grace_note : Melodic_req {
+    
+};
+
+struct Grace_notes {
+    
+};
+
+struct Glissando_req : Span_req {
+    
+};
+#endif