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