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