OLD | NEW |
(Empty) | |
| 1 ;;;; This file is part of LilyPond, the GNU music typesetter. |
| 2 ;;;; |
| 3 ;;;; Copyright (C) 2011 Mike Solomon <mike@apollinemike.com> |
| 4 ;;;; |
| 5 ;;;; LilyPond is free software: you can redistribute it and/or modify |
| 6 ;;;; it under the terms of the GNU General Public License as published by |
| 7 ;;;; the Free Software Foundation, either version 3 of the License, or |
| 8 ;;;; (at your option) any later version. |
| 9 ;;;; |
| 10 ;;;; LilyPond is distributed in the hope that it will be useful, |
| 11 ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 ;;;; GNU General Public License for more details. |
| 14 ;;;; |
| 15 ;;;; You should have received a copy of the GNU General Public License |
| 16 ;;;; along with LilyPond. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
| 18 ; this is put into the details property of Stem and GlissandoStem |
| 19 (define default-stem-details |
| 20 '( |
| 21 ;; 3.5 (or 3 measured from note head) is standard length |
| 22 ;; 32nd, 64th, 128th flagged stems should be longer |
| 23 (lengths . (3.5 3.5 3.5 4.25 5.0 6.0)) |
| 24 |
| 25 ;; FIXME. 3.5 yields too long beams (according to Ross and |
| 26 ;; looking at Baerenreiter examples) for a number of common |
| 27 ;; boundary cases. Subtracting half a beam thickness fixes |
| 28 ;; this, but the bug may well be somewhere else. |
| 29 |
| 30 ;; FIXME this should come from 'lengths |
| 31 (beamed-lengths . (3.26 3.5 3.6)) |
| 32 |
| 33 ;; The 'normal' minima |
| 34 (beamed-minimum-free-lengths . (1.83 1.5 1.25)) |
| 35 ;(beamed-minimum-free-lengths . (2.0 1.83 1.25)) |
| 36 |
| 37 ;; The 'extreme case' minima |
| 38 (beamed-extreme-minimum-free-lengths . (2.0 1.25)) |
| 39 |
| 40 ;; Stems in unnatural (forced) direction should be shortened by |
| 41 ;; one staff space, according to [Roush & Gourlay]. |
| 42 ;; Flagged stems we shorten only half a staff space. |
| 43 (stem-shorten . (1.0 0.5)) |
| 44 |
| 45 )) |
| 46 |
| 47 ;; We use the normal minima as minimum for the ideal lengths, |
| 48 ;; and the extreme minima as abolute minimum length. |
OLD | NEW |