summaryrefslogtreecommitdiff
path: root/paper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paper.hh')
-rw-r--r--paper.hh4
1 files changed, 4 insertions, 0 deletions
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);
};