From: fred Date: Tue, 5 Nov 1996 14:26:01 +0000 (+0000) Subject: lilypond-0.0.8 X-Git-Tag: release/1.5.59~6909 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=34f9b0a4cf7c67f2876b44984ecc3755c712cbfb;p=lilypond.git lilypond-0.0.8 --- diff --git a/misc.hh b/misc.hh index 0321113242..64c8ca4102 100644 --- a/misc.hh +++ b/misc.hh @@ -1,7 +1,7 @@ #ifndef MISC_HH #define MISC_HH -#include "real.hh" -int intlog2(int d); -Real duration_to_idealspace(Real d,Real w); + + + #endif diff --git a/paper.hh b/paper.hh index e96d9b089f..ffe4f795a8 100644 --- a/paper.hh +++ b/paper.hh @@ -8,6 +8,9 @@ struct Paperdef { Real linewidth; /// how much space does a whole note take (ideally?) Real whole_width; + + // ideal = geometric_ ^ log2(duration) + Real geometric_; /****************/ void parse(); @@ -17,5 +20,6 @@ struct Paperdef { Real standard_height()const; Real note_width() const; void print() const; + Real duration_to_dist(Real); };