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