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