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