diff options
Diffstat (limited to 'misc.cc')
-rw-r--r-- | misc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,10 +26,10 @@ const double WHOLE_SPACE = 5.0; // should be settable from input Real -duration_to_idealspace(Mtime d) +duration_to_idealspace(Mtime d, Real w) { // see Roelofs, p. 57 - return WHOLE_SPACE * pow(ENGRAVERS_SPACE, log2(d)); + return w * pow(ENGRAVERS_SPACE, log2(d)); } |