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