]> git.donarmstrong.com Git - lilypond.git/blob - TODO
f51f179fd655187cb7cb54641edb282b52737773
[lilypond.git] / TODO
1 -*-outline-layout:(2 (-1 -1 0 :) 0);outline-stylish-prefixes:nil -*-
2
3
4 * GNU LilyPond TODO
5 Features you cannot find in the documentation as working, should be
6 mentioned here.  This is an assorted collection of stuff that will be
7 done, might be done, or is an idea that we want to think about.
8 Most of the items are marked in the code as well
9 Grep -i for TODO, FIXME and ugh/ugr/urg.  
10
11 .* TODO
12 . * use hash tabs iso. alist_ for elt property?
13 . * unhardcode stuff in bezier-bow: all sizes other than 20pt are
14     broken
15 . * use ports iso. iostream. 
16 . * hard constraints for  broken slurs to.
17 . * mondrup
18
19 - In some cases I don't get the large textsize within note examples I request.
20 Consider for example the entry 'c clef', where \property Lyrics.textStyle = "large"
21 used to give that result. It doesn't now. The large text sizes DO work in other cases,
22 for example in the entry 'chord' (\property Voice.textStyle = "large"). To me it looks
23 like the property Voice.textStyle is working while Lyrics.textStyle isn't. Consider
24 for example the entry 'functional harmony' which has the same problem as 'chord'
25
26 - I don't get full size clef changes upon issuing \property Voice.clefStyle =
27 "fullSizeChanges", see for example the entry 'c clef'.
28
29 - In the entry 'brace' the second note example using \context StaffGroup gets the
30 staff bracket offset to the left page margin !! while the first note example behaves
31 normally.
32
33 - <p><img> in mudela-book
34 . * mats
35
36 If textStyle is set (in the \paper section), this setting 
37 applies also to dynamics. 
38
39 Also, the marginScriptPadding should be set by default to give 
40 a nice layout, but that's already been reported on the list.
41
42 -  What happened to the StaffGroup brackets? 
43   Try input/test/orchestscore.ly which worked fine in pl 27.
44
45 - Why do I get bar numbers on every bar (both for the score
46   and the parts)?
47
48 - Bar numbers and marks are not printed on top of the staffs,
49   but at one of the middle parts of the score. This may be 
50   related to the problem with the brackets, since the 
51   corresponding StaffGroup is the only one to get a bracket,
52   even though it is misplaced horisontally.
53
54 - The score extends too high on the page, it often overwrites the
55   page number. LaTeX warns about overfull boxes. I'll take a look
56   at the page layout.
57
58 . * control paper-size/-file from commandline ?
59   lilypond --paper=paper16 foo.ly
60   lilypond --paper=paper20 foo.ly
61   lilypond --paper=paper-as9 foo.ly
62 . * detangle ly/* paper-params papersize stuff
63 . * fix tremolos.
64 . * change ) c4  to c4-)
65 . * automated marks. 
66 . * There should be no pagebreak below the title of the movement!!
67 . * tempo:
68
69 >   - Tempo Indications:
70 >     * \tempo 4 = 60 should be printed
71 >     * There should be commands like \alloegro that also do something
72 >       sensible in midi.
73
74 . *  - It should be possible to have Bar numbers on every bar.
75
76 . * dynamics: 
77 >       * Notes should be spaced out for crescendos (had to use c^"      ")
78 >       * something like c-.->\ff looks ugly.  The dynamc indication should
79 >         appear left of the marks
80
81 . * 
82 There's insufficient leading between lines of lyrics, so risers like
83 `l' and 'b' collide with the bottom of the line above.
84
85 Also the lines are unevenly spaced.
86
87 . * write comments in the source code
88 . * internationalize GUILE msgs.
89 . * roy rankin:
90 1> The volta brackets are on top of the lyrics. This problem existed in
91    1.2.x which I corrected by giving the brackets a vertical size. I
92    have not had the time to check what is going on in 1.3.
93
94 2> Part names are being written on top of the staff and not in the
95    left margin.
96
97 3> The tag at the end is spaced out clear across the page. (new problem
98    in 1.3.27)
99
100 I also get the following error messages from ly2dvi.
101 . * unbroken marks.
102 . * chubb:
103 -- Take a piece of early music, and typeset it as closely as possible to
104 the original edition.  This means: moveable clefs, sometimes funny or no
105 time signatures, few or no bar lines, few or no ties, slurs or
106 phrasemarks, ornaments implied by the structure of the music, or
107 indicated by, e.g., one or more thick lines through the stem of a note
108 (Purcell and Farnaby both use this extensively, but with rather
109 different meanings).  For Dowland's music it may also mean being able
110 to rotate one or more staves (but I can do this in LaTeX).
111
112 -- Add to this music a set of critical marks that:
113    * regularises clef, time and key signature.
114    * add slurs, phrase marks, articulation, etc.
115    * Halve or quarter the durations, so that minims become crotchets, say.
116    * add ornaments (mordents, trills, turns etc)
117    * add regular barlines (which sometimes will mean splitting a note
118      and adding a tie, e.g., in some of Byrd's music)
119    * Add footnotes to particular symbols, groups of notes, etc.
120    * When translating from chant notation, add a square bracket over a
121      group of notes to indicate a ligature in the original
122 etc.
123    * Discretionary sharp or flat signs, for Musica Ficta
124
125 -- print out both editions from the same source.
126 . * write smobifying howto.
127 . * put property test files in refman.
128 . * alignment within @itemize
129 . * interstaff stems
130 . * junk dstream output.
131 . * Change website to be index to documentation.
132 . * \grace { c d } c1 in midi
133 . * \prop slurdir in grace notes
134 . * Make fingering and playing instructions Music_wrappers?
135 . * script columns
136 . * Must stop before this music ends:
137 verse=\lyrics {
138 . * input/test/grace.sly: wierd big spacing on grace notes
139 . * TODO^2:
140 .  * make  a TODO.texi, like http://www.gnu.org/software/guile/ideas.html
141 .  * make this file understandable for 3rd parties.
142 . * \accepts -> \acceptedby 
143 . * context in embedded SCM errors.
144 . * acc at tied note after linebreak.
145 . * fontSize for time sigs and beams.
146 . * fix font-naming and selecting
147 . * add context information to warnings
148 Paper:
149 waarschuwing: Kan niet beide uiteinden van bindingsboog vinden
150 MIDI:
151 pa.ly:33:23: waarschuwing: Schroot verzoek: `Span_req':
152   g' a4 bes8 \grace f8(
153                          )es16 d es8 r c |
154 . * chord tonic: placement of accidental  C#, Cb (from scm and C++)
155 . * note head on stem err msg in dutch.
156 . * why need to run -C mf twice?
157 . * here's no difference at all in output. When either is jacked up to 7.0,
158 everything works and matches up; when either is set just a bit above the
159 default 5.0 (5.4 is what I was hoping to use), stems miss note heads. So
160 it's some sort of a numerical (truncation/roundoff) problem.
161 John
162 . * fix #'margin-shape;  setting indent to 0 with \shape fails
163 . * Fixed size staff/system heights;
164 . * ly2dvi : don't repeat opus if same. 
165 . * hara kiri _8 clef. 
166 . * junk -M ? 
167 . * mudela-book doco
168 . * bracket pdf hack
169 . * Added StaffContents and RhythmicStaffContents context, they are
170 between Staff (which groups the elements), and generates the Staff
171 level elements (key, clef, meter, etc). This construction makes
172 \consistsend redundant
173
174 . * Mondrup:
175 - if I change the property minVerticalAlign in a multi staff score with
176 lyrics the change affects the lyrics too. I would like the change to
177 _only_ affect staves.
178 - after the leading measure in the above mentioned score I want a double
179 bar line fully drawn across the staves and after that keep to the
180 ChoirStaff bar line types in the rest of the scores
181 . * Write script that uses --find-old-relative to do auto relativization. 
182
183
184 .* Cleanups needed
185 . * \$ and $ identifier syntax in examples. 
186 . * Key_engraver, Local_key_item
187 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
188 . * String[String.length] doesn't trap.
189 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
190 . * clef engraver 
191 . * parser
192 . * Lookup::text -> needs  to be TeX independent.
193 . * junk Music_iterator::first_b_
194
195 .* ACCIDENTALS
196 . * half-sharps, half-flats
197 . * adaptive accidental spacing.
198 . * accidentals closer to note head
199
200
201 .* BEAMS
202 . * [c8. c16 c16 c16] in 6/8 timesig.
203 . * Rewrite Stem, Beam (hairy)
204 .  * beams over barlines
205 . * autoBeamMelisma: if I explicitly beam notes in a staff with auto
206 beaming disabled I would like to have these beams also to be
207 melismatic.
208 . * The stemLength property should affect also beamed stems.
209 . * staffside spanner (crescendo!) along with staffswitch.
210 . * * auto melismaBusy for beams.
211
212 . * \context Staff <
213 >   {\voiceone''4. r8}
214 >  \voicetwo c,4 r4}
215 > >
216 . * \time forces keysig?
217
218 .* STUFF
219 . * We need feta-din*.mf files for more sizes than 10.
220 . * align left edge of broken tuplet-spanner (have a test case?)
221 . * fix dynamics decently, ie. use kerning & ligatures.
222 . * key restorations & repeats
223 . * paperXX.ly \quartwidth, font setting not up to date. (Should read from AFM?)
224 . *In Caro Mio Ben, bar 8, there's a syllable that starts on a note, and
225 ends on a pair of grace notes.  Standard practice is to mark this with
226 a slur starting on the main note and ending on the grace note, so a
227 singer knows where to break the words.
228
229 In bar 27, there's a crescendo that's supposed to start at the start
230 of the grace notes and extend to the note after the grace notes.
231 . * 4. Lyrics and grace sections don't go too well together.
232  The words are aligned with the main note, not the start of the
233  grace note.  This is usually wrong, but is sometimes right.
234 . * rhythmic staff & accidentals.
235 . * use melismaBusy in Lyric context to typeset melismata correctly.  
236 . * ly2dvi/lilypond logfile.
237 . * hang Item on Spanner
238 . * do --safe for PS output?
239 . * msgfmt -o check?
240 . * collision of lyrics with span_bars. See star-spangled.
241 . * It is impossible to typeset two textual scripts that are stacked
242   on top of each other and avoids note collisions and at the same
243   time are typeset with different textStyle. I tried to move around
244   the text_engraver and other engravers between Voice and Thread 
245   but the granularity is not fine enough, the scripts have to 
246   share the same engraver in order to be get correct vertical 
247   position but than they cannot have different style.
248   In my opinion, all scripts that share the same staff, should
249   be stacked vertically, avoiding collisions with the notes
250   in all voices.
251
252 . * Matanya's tips: 
253 .  * don't  shorten stems/staffs closer to each other.
254 .  * to space the staffs/staffgroups contained in the score.  
255 .  * heavier beams?
256 . * Abstraction for engravers:
257 .  * make "in-between" engraver (Tie)
258 .  * make wide_spanner_engraver (line_group_spanner, staff_symbol)
259 . * store req -> element, element -> element causes for warnings
260 . *  My wish list for lyrics. I dream of a time when I will have enough time to
261 become familiar enough with the source code to be able to implement some of
262 these myself, but I don't know when that will be, so I thought I'd "publish"
263 my suggestions in case someone else is in a position to give them some
264 priority. Otherwise, perhaps they could go on the todo list?
265
266 If any of these are already implemented, please let me what the syntax is to
267 use them!
268
269 1. Stanza numbering. Numbering at the beginning of a song with the number
270 set to the left of the first note. It would also be nice (but not as
271 important) to be able to have some form of automatic numbering at the
272 beginning of each new line. This would make it easier to follow songs with a
273 large number of stanzas.
274
275 3. Notes centred above/below lyrics rather than left-aligned.
276
277 4. It would be very nice to be able to build some kind of phrasing into the
278 lyrics of hymns, etc, so that the first words of a phrase are left aligned
279 with each other, the last words are right aligned, and the words in between
280 are centred.
281
282 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
283 able to vertically align the chorus midway between the staves.
284
285 6. It would be nice to be able to put vertical brackets either side of a
286 repeated section with different words for each repeat.
287 . * Give # lines in linebreaking.  
288 . * arrows on slurs.
289 . * rewrite context defs using Scheme
290 . * junk TeX specifics from internal code.
291 . * \selectmusic to cut pieces from music. 
292 . * formatting of input stuff. 
293 .  * deps for ly2dvi
294 . * Align_element::padding  ?
295 . * use streambufs and iostream
296 to provide IO handling for TeX stream, mudela stream, data-file.
297 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
298 . * uniformise recent feta contributions.
299 .  * bigger and fatter 4/4 C
300 . * relative mode for midi2ly
301 . * junking \skip req in lyrics
302 . * midi2ly empty staffs.
303 . * use Fourier transformation for rhythmic quantisation.
304 . * horizontal centering of dynamics 
305 . * $DEPENDENCIES_OUTPUT support
306 . * turn slope-damping on/off
307 . * sort out directory stuff.
308 .  * --prefix option?
309 .  * -I option per filetype?
310 .  * kpathsea?
311 . * declaring Performers
312 . * text-items clash with stems/beams
313 . * --include, -I option for ly2dvi (pass on to lily)
314 . * fix placement of beam-less abbrev
315 . * Musical_pitch (analogous to Duration and Rhythmic_req)
316           think about, analogous to pitch: 
317            * { a4 a16 } c <-- duration of c?
318            * < a4 b8 > c <-- duration of c?
319 . * \tempo 4. = 90;
320 . * do rest-collisions for Multi_measure_rests as well.
321 . * split error/warning in error/warning/non_fatal_error
322 .  * discourage breaking of slurs
323 . * fix variable define/lookup parser global<->paper
324 . * fix title/instrument placements; see input/test/title.ly
325 . * <\voiceone c4. \voicetwo c4>
326 . *  I'd like to change the \repetitions command to Jan's suggested
327   syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
328   I understand the implementation of repeats well enough.
329 . * add mudela-book-doc source to webstie.
330 . * fix singleStaffBracket
331 . * move paper vars into engraver properties
332 . * add new glyphs to font.ly
333 . * more intelligent file searching
334 . * disable spaces in TeX stuff
335 . * handle ^C for tmp/file creation.
336 . * make LilyPond RPM fully relocatable
337 . * didot / big point.
338 . * clefs (AG): The "8" should appear closer to the actual clef,
339 touching it.
340 . * put errorlevel in Input class
341 . * junk nesting slurs
342
343
344 .* FONT
345 . * the bracket is ugly (wings are too parabolic, should be more circular)
346 . * fix accordion turning paths.
347 . * versioning for Feta
348 . * rewrite dynamic signs.  They're kind of spaghetti now. 
349 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
350         in the middle:
351 . * design macro for penstroke with rounded endings
352 . * timesig C: fat yet less curved.  Check out relations. 
353 . * design decent macro for bulbed endings
354 . * printer dependencies.
355 . * versioning  
356 . * lo-res fixes.
357 . * work out sizes of character fonts.
358 . * more symbols
359 .  * piano pedals: Ped/*
360 .  * coda signs: Segno, O+
361 .  * glissando, arpeggio
362 .  * lengthened trill
363 . * include important spacing dims in fetalog 
364 . * scalability: use blot_diameter everywhere, make font chubbier for
365     small sizes.
366
367 .* 3RD PARTY BUGS
368 . * UMR: Uninitialized memory read
369       This is occurring while in:
370             qst            [qsort.c]
371             qsort          [libc.so.1]
372             Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
373             My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
374             My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
375             do_one_file(String,String) [scores.cc:124]
376       Reading 4 bytes from 0xefffeca8 on the stack.
377       Address 0xefffeca8 is 728 bytes below frame pointer in function 
378 . * patch: don't touch timestamp if all patches fail.
379 . * MetaPost: should not generate setgray for unfill
380 . * glibc 2.0:
381           f = fopen ("/dev/null", "r")
382           assert (feof (f))
383 . * Texinfo, add [ A | B | C ] style tocs to .html output, and don't rely
384     on @node names for html tocs.
385
386 .* PROJECTS
387 . * Scripts:
388 .  * stack scripts in chords:
389           % fingering:        footing:
390             < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
391 .  * script-spacing
392 .  * slur parts as a script
393 .  * stack parameterised scripts for fingering and footing:
394
395 . * convert-mudela:
396 .  * better parsing
397 .  * make smarter
398 .  * convert-mudela -e empty.ly
399
400 . * emacs mudela-mode
401 .  *  should handle block comments too.
402 .  *  handle lexer modes (\header, \melodic, \lyric) etc.
403 .  *  indentation
404 .  *  notenames?
405 .  *  fontlock: \melodic \melodic
406
407 . * use properties for:
408 .  * default tempo.
409
410 . * page handling:
411 .  * PS output
412 .  * optimal pagebreaking.
413
414 . * internationalisation for input.
415 .  * Unicode support? -> man 7 unicode
416 .  * (The explanation below is mostly intended for Han-Wen and Jan)
417 > Before, the font was changed with macros declared separately for 
418 > pure TeX and LaTeX, but now all the fonts are declared directly in
419 > the generated code using the low-level TeX commands. This circumvents
420 > the fontencoding mechanism of LaTeX and is a potential source of
421 > problems also for us users of the Latin-1 character set. 
422 > I think it still works since the inputencoding latin1 is 
423 > declared by ly2dvi, but it still means that e.g. an o with
424 > umlaut is typeset as a combination of the two symbols 'o' and
425 > 'umlaut' instead of as a single character, as would be the case
426 > if fontencoding OT1 had been used. This shouldn't give any 
427 > difference in layout, though. One of the main argument for using
428 > fontencoding OT1 is for the hyphenation mechanism to work, an 
429 > argument that's clearly irrelevant in our application. Yet we
430 > see the problem for August.
431
432 . * \header
433 .  * output header info to MIDI too.
434 .  * dump \header into easily parsable format.
435
436 . * chords
437 .  * guitar chords (fret diagrams)
438 .  * other chord name styles (american(?) style)
439 .  * basso continuo
440 .  * MIDI output?
441
442 . * Debug logs:
443 .  * derive lily_stream, Dstream, texstream from ostream?
444 .  * indentable stream as baseclass for TeX stream, lily stream, Dstream.
445 .  * use dstream feature in midi2ly
446 .  * integrate IO checking into stream class
447
448 . * input converters
449 .  * NIFF?
450 .  * musedata
451
452 . * add to MIDI output:
453 .  * sharp / flat on trills (in MIDI ??)
454 .  * ornaments (and trills?)
455 .  * slurs
456 .  * accents
457 .  * dynamics
458 .  * account for rhythmic position in measure
459 .  * etc.
460
461
462 . * logfile output?
463
464 . * PS 
465 .  * speed up PS code.
466 .  * PS lines to .eps files
467 .  * write custom prolog
468 .  * fix ps font switching
469
470 . * more spanners (smallish)
471 .  * Glissando
472 .  * trill
473
474 . * Keys:
475 .  * merge key{item} & localkey{item}?
476 .  * spacing
477
478 . * Support for TAB
479 .  * redo Notehead to allow digits as heads
480 .  * add a \tablature {} lexer mode for easy entering
481
482 . * should adjust stemlength for flag number.
483
484 . * breaking:
485 .  * specify number of lines
486
487 .* INPUTLANGUAGE
488 . * convention for slurs vs. phrasing marks.
489 . * Language:
490 .  * \translator -> ?
491 .  * fix \partial 
492 .  * \bla {} vs \bla ; 
493 .  * \once\property  KEY = VAL
494 .  * input property
495 . * Figure out semicolons.
496 . * <c f a>4 ?
497 . * configure pitch_byte
498 . * rest name configurable
499
500
501 .* SMALLISH PROJECTS
502
503 . * lyric in staff  (sharpsharp in staff, text below)
504
505 . * write Dynamic_line (to group dynamics horizontally)
506
507 . * handle EOF graciously in error messages.
508
509 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
510
511 . * lily \tempo
512
513 . *   % toe to bheel   four to five
514             %   ^_u            4_5  
515             %     -                           
516             %  --|x--         --|x--
517             %  --|---         --|---
518             %  --|---         --|---
519           (where "to" is a tiny bow)
520
521 . * Text_crescendo
522
523 .* IDEAS
524 . * Output data structures of Mudela in XML/SGML.
525 . * create libmudela, or liblily_frontend
526 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
527
528 * OUTLINE SETUP
529 .* .EMACS
530 ;;; from outline.el
531 (defvar outline-font-lock-keywords
532   '(;; Highlight headings according to the level.
533     ;; must change this to allout node layout
534     ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
535     ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
536      (1 font-lock-string-face)
537      (2 (let ((len (- (match-end 1) (match-beginning 1))))
538           (or (cdr (assq len '((1 . font-lock-function-name-face)
539                                (2 . font-lock-keyword-face)
540                                (3 . font-lock-comment-face))))
541               font-lock-variable-name-face))
542         nil t))
543     ;; Highlight citations of the form [1] and [Mar94].
544     ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
545   "Additional expressions to highlight in Outline mode.")
546
547 (add-hook 'outline-mode-hook
548           '(lambda ()
549             (setq font-lock-maximum-decoration t)
550             (setq font-lock-maximum-decoration t)
551             (make-local-variable 'font-lock-defaults)
552             (setq font-lock-defaults '(outline-font-lock-keywords t))
553             (font-lock-mode global-font-lock-mode)
554         ))
555  
556 (require 'allout)
557 (outline-init 't)
558
559