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