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