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