1 -*-outline-layout:(2 (-1 -1 0 :) 0);outline-stylish-prefixes:nil -*-
4 Features you cannot find in the documentation as working, should be
5 mentioned here. This is an assorted collection of stuff that will be
6 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.
12 . * use Rhythmic_head::position_i () for all Staff_referenced
13 . * Depracate Wordwrap
15 . * Break_req handling is silly (break_forbid () + \break fucks up.)
17 . * HaraKiriStaffContext removes bar lines and doesn't remove
18 staff margin text on removed staff lines.
20 . * Bass/inversion pitch when not part of Chord
21 Sometimes a series of changing chords will be blocked out over a static tone
22 in the bass, usually this was referred to as a pedal tone (and it's been
23 continued to be used, even in contemporary music). Another less frequently
24 used practice is putting a non-chordal tone in the bass (that is not acting
25 as a pedal tone) in order to create tension or make a more colorful sound.
26 There are examples of this in the classsical literature, but its use is much
27 more prevalent today. For example, the chord sequence Dm7 - Dm7/G is such a
28 sequence, and the Dm7/G defies easy classification. Is it a G7(no 3rd)add
29 9/11? Or is it a G7(no 3rd)add2/4? Or perhaps Dm7 add11? It's a heck of a
30 lot easier to read to just leave it as Dm7/G!
31 . * Diminished does not mean 5-
32 When speaking of a chord, dimished can mean one of two things: A diminished
33 triad or a dimished seventh chord (which is distinctly different from what's
34 known as the 'half-diminished' chord). The triad is a root with a flat
35 third and flat fifth, and is notated (at least in America, someone else will
36 have to fill me in on other countries) as (using C as the root) Cdim, or Co.
37 The diminished seventh has a root with a flat third, flat fifth, and a
38 doubly flatted seventh (which is enharmonically equivalent to a sixth, and
39 from which comes tons of confusion). It is usually notated as (again, using
40 C as the root) Cdim7 or Co7.
44 - I would like the possibility of forcing clef- and key- changes to be
45 printed _after_ the new bar line
47 - I would like an option to define the number of systems on which the
48 score must be distributed. As it is now it seems that I may only
49 influence that indirectly through the gourlay_maxmeasures property.
51 - if I change the property minVerticalAlign in a multi staff score with
52 lyrics the change affects the lyrics too. I would like the change to
55 - I would like to be able to influence the sloping of xtuplet brackets
57 - for one of my test scores containing a modern edition of an early
58 17'th century composition I have a leading measure containing the
59 orginal clefs and note values of the original composition. I use the
60 "harmonic" and "diamond" note head styles for that measure and would
61 like to have the stems of these notes _centered_ on the notehead as in
62 the mensural music notation.
64 - after the leading measure in the above mentioned score I want a double
65 bar line fully drawn across the staves and after that keep to the
66 ChoirStaff bar line types in the rest of the scores
68 - autoBeamMelisma: if I explicitly beam notes in a staff with auto
69 beaming disabled I would like to have these beams also to be
72 . * make all Feta (including dynamics) available to the user in
73 textual scripts. Examples: "D.S. al \coda", "\mf espress.".
75 . * ? -Q, --find-old-relative show all changes in relative syntax
76 What's old about absolute to relative conversion? Could maybe use for
80 . * \$ and $ identifier syntax in examples.
81 . * Junk ghost positioning objects eg, Script leans on Staffside
85 . * center option (??)
86 . * make mudela-book understand usepackage{geometry}
87 . * Key_engraver, Local_key_item
88 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
89 . * String[String.length] doesn't trap.
92 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
96 . * Lookup::text -> needs to be TeX independent.
97 . * junk Music_iterator::first_b_
101 . * [c8. c16 c16 c16] in 6/8 timesig.
102 . * staffside spanner (crescendo!) along with staffswitch.
103 . * --- 2, margin notes don't work correctly for the pianostaff (in the
104 following example, i expect the "piano" string to be centered
105 vertically between the two staves):
108 \notes \context PianoStaff <
109 \property PianoStaff.instrument = "Piano"
110 \context Staff = treble {
113 \context Staff = bass {
119 \translator { \StaffContext \consists "Staff_margin_engraver"; }
120 \translator { \PianoStaffContext \consists "Staff_margin_engraver"; }
128 . * sort out breve shapes.
129 . * \time forces keysig?
132 . * We need feta-din*.mf files for more sizes than 10.
134 - The syntax for chords looks clumsy with two different meanings of
135 '-' and different syntax for separating modifiers from the tonic
136 and from other modifiers. Why not use for example ':' between
137 tonic and modifier and between the different modifiers?
139 - Rests and beams don't work too well together. Example:
140 [ r8 g''16 des'] [r8 c16 a]
142 - The stemLength property should affect also beamed stems.
144 . * align left edge of broken tuplet-spanner (have a test case?)
145 . * fix dynamics decently, ie. use kerning & ligatures.
146 . * key restorations & repeats
147 . * paperXX.ly \quartwidth, font setting not up to date. (Should read from AFM?)
148 . * * auto melismaBusy for beams.
149 . *In Caro Mio Ben, bar 8, there's a syllable that starts on a note, and
150 ends on a pair of grace notes. Standard practice is to mark this with
151 a slur starting on the main note and ending on the grace note, so a
152 singer knows where to break the words.
154 In bar 27, there's a crescendo that's supposed to start at the start
155 of the grace notes and extend to the note after the grace notes.
156 . * 5. Sometimes lyrics extend past the right end of the staff. I guess that
157 this is a similar problem (if not another symptom of the same problem) as
158 one of the spacing bugs mentioned in the TODO.
159 . * 4. Lyrics and grace sections don't go too well together.
160 The words are aligned with the main note, not the start of the
161 grace note. This is usually wrong, but is sometimes right.
162 . * decimal point in \paper {}
164 . * repeats and partial measures.
165 . * rhythmic staff & accidentals.
166 . * use melismaBusy in Lyric context to typeset melismata correctly.
167 . * ly2dvi/lilypond logfile.
168 . * hang Item on Spanner
169 . * do --safe for PS output?
171 . * collision of lyrics with span_bars. See star-spangled.
172 . * Auto_beam debugging output (waarom/wanneer heb jij die weggehaald?)
173 . * It is impossible to typeset two textual scripts that are stacked
174 on top of eachother and avoids note collisions and at the same
175 time are typeset with different textStyle. I tried to move around
176 the text_engraver and other engravers between Voice and Thread
177 but the granularity is not fine enough, the scripts have to
178 share the same engraver in order to be get correct vertical
179 position but than they cannot have different style.
180 In my opinion, all scripts that share the same staff, should
181 be stacked vertically, avoiding collisions with the notes
184 . * break priority setting from SCM.
186 . * don't shorten stems/staffs closer to each other.
187 . * accidentals closer to note head
188 . * to space the staffs/staffgroups contained in the score.
191 . * tuplets that are written as "number : note", for example
192 "3 : [image of a half note here]". possible?
193 . * a note with a circle after it, meaning:
195 note + circle = note + 1/4 of its length
197 the circle is like a dot that's not filled in. for example, on
198 page three, the c-sharp on the second line should be a quarter with
199 a circle, not a quarter tied to a sixteenth. is this at all
201 . * scm-ify \property values.
202 . * make dependencies () a virtual function.
203 . * deprecate hangOnClef.
204 . * Abstraction for engravers:
205 . * make "in-between" engraver (Tie)
206 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
207 . * store req -> element, element -> element causes for warnings
208 . * compulsory hshift
209 . * My wish list for lyrics. I dream of a time when I will have enough time to
210 become familiar enough with the source code to be able to implement some of
211 these myself, but I don't know when that will be, so I thought I'd "publish"
212 my suggestions in case someone else is in a position to give them some
213 priority. Otherwise, perhaps they could go on the todo list?
215 If any of these are already implemented, please let me what the syntax is to
218 1. Stanza numbering. Numbering at the beginning of a song with the number
219 set to the left of the first note. It would also be nice (but not as
220 important) to be able to have some form of automatic numbering at the
221 beginning of each new line. This would make it easier to follow songs with a
222 large number of stanzas.
224 3. Notes centred above/below lyrics rather than left-aligned.
226 4. It would be very nice to be able to build some kind of phrasing into the
227 lyrics of hymns, etc, so that the first words of a phrase are left aligned
228 with each other, the last words are right aligned, and the words in between
231 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
232 able to vertically align the chorus midway between the staves.
234 6. It would be nice to be able to put vertical brackets either side of a
235 repeated section with different words for each repeat.
236 . * Give # lines in linebreaking.
238 . * rewrite context defs using Scheme
239 . * junk TeX specifics from internal code.
240 . * \selectmusic to cut pieces from music.
241 . * formatting of input stuff.
243 . * TODO: merge atom & molecule; make tree from molecule.
244 . * Align_element::padding ?
245 . * typo checks on property names?
246 . * use streambufs and iostream
247 to provide IO handling for TeX stream, mudela stream, data-file.
248 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
249 . * strip EXEs before installing
250 . * zip target for binary windows dist (JBR)
251 . * fix partial measures in meaningful way.
252 . * uniformise recent feta contributions.
253 . * bigger and fatter 4/4 C
254 . * relative mode for midi2ly
255 . * junking \skip req in lyrics
256 . * midi2ly empty staffs.
257 . * use Fourier transformation for rhythmic quantisation.
258 . * horizontal centering of dynamics
259 . * $DEPENDENCIES_OUTPUT support
260 . * turn slope-damping on/off
261 . * sort out directory stuff.
263 . * -I option per filetype?
265 . * fix vertical alignment and stafflines
266 . * declaring Performers
267 . * text-items clash with stems/beams
268 . * --include, -I option for ly2dvi (pass on to lily)
269 . * fix placement of beam-less abbrev
271 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
272 {\voicetwo cis,4 r r | r2. | r1 }> |
274 . * Musical_pitch (analogous to Duration and Rhythmic_req)
275 think about, analogous to pitch:
276 * { a4 a16 } c <-- duration of c?
277 * < a4 b8 > c <-- duration of c?
279 . * make sure all ex's have a mudela-version
280 . * do rest-collisions for Multi_measure_rests as well.
281 . * split error/warning in error/warning/non_fatal_error
282 . * add a Duration_convert member to Duration_iter to set parameters.
283 Junk global duration settings.
284 . * en-,discouraged linebreaking:
285 . * handle DISALLOW < penalty > FORCE
286 . * discourage breaking of slurs
287 . * fix variable define/lookup parser global<->paper
288 . * fix title/instrument placements; see input/test/title.ly
289 . * <\voiceone c4. \voicetwo c4>
290 . * I'd like to change the \repetitions command to Jan's suggested
291 syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
292 I understand the implementation of repeats well enough.
293 . * add full cello suites to web site (kom op, Maarten!)
294 . * rename 'staff_line_leading' (who is being lead where?) to
295 staff_space, interline; (or other meaningful name) and use throughout
298 [-> leading are the lead strips between the sticks (lines) of
299 typeface. ie. leading is vertical space --hwn]
300 . * add mudela-book-doc source to webstie.
301 . * Rethink Time_description
302 \cadenza , \meter, should all be \properties
303 . * fix singleStaffBracket
305 . * partial -> anacrouse
306 . * move paper vars into engraver properties
307 . * add new glyphs to font.ly
308 . * check for groff / troff/ nroff et
309 . * more intelligent file searching
310 . * disable spaces in TeX stuff
311 . * handle ^C for tmp/file creation.
312 . * make LilyPond RPM fully relocatable
313 . * better hshift (dots, distance, head dependent)
314 . * didot / big point.
315 . * clefs (AG): The "8" should appear closer to the actual clef,
317 . * put errorlevel in Input class
318 . * junk nesting slurs
319 . * distinguish between unset and empty properties.
322 . * the bracket is ugly (wings are too parabolic, should be more circular)
323 . * versioning for Feta
324 . * rewrite dynamic signs. They're kind of spaghetti now.
325 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
327 . * design macro for penstroke with rounded endings
328 . * timesig C: fat yet less curved. Check out relations.
329 . * design decent macro for bulbed endings
330 . * printer dependencies.
333 . * work out sizes of character fonts.
335 . * piano pedals: Ped/*
337 . * coda signs: Segno, O+
338 . * glissando, arpeggio
340 . * include important spacing dims in fetalog
341 . * scalability: use blot_diameter everywhere, make font chubbier for
345 . * UMR: Uninitialized memory read
346 This is occurring while in:
349 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
350 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
351 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
352 do_one_file(String,String) [scores.cc:124]
353 Reading 4 bytes from 0xefffeca8 on the stack.
354 Address 0xefffeca8 is 728 bytes below frame pointer in function
355 . * Array<Axis [2] > axeses;
357 for (int i=0; i < loose_elems.size (); i++)
359 Score_element* elt = loose_elems[i];
361 with which axes do we have to meddle?
365 for (int a = X_AXIS; a < NO_AXES; ++a)
366 if (elt->parent_l (Axis (a)) == this)
373 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
374 . * patch: don't touch timestamp if all patches fail.
375 . * MetaPost: should not generate setgray for unfill
376 . * mfplain.ini not in tetex 0.9
377 . * mf-to-table -> add space 'before ; in AFM output. (-> check AFM
378 spec. Is this a bug in afm2tfm?)
379 . * check out GCC signatures?
381 f = fopen ("/dev/null", "r")
383 . * tetex: mfplain.mem
387 . * stack scripts in chords:
388 % fingering: footing:
389 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
391 . * slur parts as a script
392 . * stack parameterised scripts for fingering and footing:
395 . * automatically add a \version if not present.
398 . * convert-mudela -e empty.ly
400 . * emacs mudela-mode
401 . * should handle block comments too.
402 . * handle lexer modes (\header, \melodic, \lyric) etc.
405 . * fontlock: \melodic \melodic
407 . * use properties for:
413 . * optimal pagebreaking.
415 . * internationalisation for input.
416 . * Unicode support? -> man 7 unicode
417 . * (The explanation below is mostly intended for Han-Wen and Jan)
418 > Before, the font was changed with macros declared separately for
419 > pure TeX and LaTeX, but now all the fonts are declared directly in
420 > the generated code using the low-level TeX commands. This circumvents
421 > the fontencoding mechanism of LaTeX and is a potential source of
422 > problems also for us users of the Latin-1 character set.
423 > I think it still works since the inputencoding latin1 is
424 > declared by ly2dvi, but it still means that e.g. an o with
425 > umlaut is typeset as a combination of the two symbols 'o' and
426 > 'umlaut' instead of as a single character, as would be the case
427 > if fontencoding OT1 had been used. This shouldn't give any
428 > difference in layout, though. One of the main argument for using
429 > fontencoding OT1 is for the hyphenation mechanism to work, an
430 > argument that's clearly irrelevant in our application. Yet we
431 > see the problem for August.
434 . * output header info to MIDI too.
436 . * a musical dictionary. See Documentation/vocabulary-*, other
446 . * guitar chords (fret diagrams)
447 . * other chord name styles (american(?) style)
452 . * derive lily_stream, Dstream, texstream from ostream?
453 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
454 . * use dstream feature in midi2ly
455 . * integrate IO checking into stream class
462 . * add to MIDI output:
463 . * sharp / flat on trills (in MIDI ??)
464 . * ornaments (and trills?)
468 > Would it be hard to add support for proper dynamics in MIDI output? I
469 > would really like to have this feature...
471 Concretely spoken, for dynamics you have to write a performer
472 (Dynamics_performer), that will take the input requests. If I
473 understand correctly, every MIDI note played must have its dynamic
474 strength set separately. That means the the Dynamics_performer must
475 set the strength of every Audio_note it finds. This means that one
476 has to modify existing Audio items. The best way of doing this is
477 with a broadcast/acknowledge process.
479 So the best way of handling this, is
481 1 supporting dynamic settings in Audio_note
483 2 Write a Dynamics_performer that will modify
484 any notes it finds to set appropriate strengths.
486 I'd say that the work involved is not hard, but you have to be fluent
487 with C++ and need some insight into the working of Notation Contexts
488 and friends. I guess I could do it in a day or so, but if you are not
489 so fluent with the inner workings of LilyPond, it could take you some
490 more time (A few more days?).
492 Please note, that I am *not* going to code this myself: my days are
493 valuable, and I think I have more interesting things to do than fixing
494 the MIDI output (I don't even have a soundcard). But I *do* want to help
495 you or other people with implementing this, so if you need help, don't
497 . * account for rhythmic position in measure
501 . * Output class, handles : (smallish)
502 . * help text /(c) notice?
504 . * warning /errors/progress
505 . * abort on error/warning; exit status
506 . * quiet/ignore-version options
510 . * speed up PS code.
511 . * PS lines to .eps files
512 . * write custom prolog
517 . * remove links to non-free SW.
518 . * internal documentation
521 . * left/rightbeamcount
522 . * various other new properties.
527 . * Doc (C) stuff of sheet music
528 . * a better format? SGML? TeX? Info?
529 . * a better tutorial
531 . * more spanners (smallish)
535 . * Rewrite Stem, Beam (hairy)
536 . * general shaving on Beam and Stem
537 . * use plet grouping
541 . * Ledger lines, should be separate item: Ledger_lines
542 . * set different line sizes / thicknesses
543 . * beam stem showthrough, inter beam sizes (french vs german style)
546 . * left/right note balls should be handled by Collision:
547 < \multi 2; { \stem 1; <b c> } { <f as b> } >
550 . * merge key{item} & localkey{item}?
551 . * spacing, national styles?
554 . * redo Notehead to allow digits as heads
555 . * add a \tablature {} lexer mode for easy entering
557 . * should adjust stemlength for flag number.
560 . * caching breakpoints
562 . * specify number of lines
565 . * convention for slurs vs. phrasing marks.
569 . * \bla {} vs \bla ;
570 . * mix engraver hacking with music ?
571 . * \once\property KEY = VAL
573 . * abstract grammar.
574 . * Figure out semicolons.
585 . * configure pitch_byte
586 . * rest name configurable
591 . * fix confusing naming in Engraver vs Engraver_group_engraver (context)
593 . * A range for context errors (eg. mark both { and }. )
595 . * lyric in staff (sharpsharp in staff, text below)
597 . * write Dynamic_line (to group dynamics horizontally)
599 . * use Real for all y positions.
601 . * half-sharps, half-flats
603 . * adaptive accidental spacing.
605 . * handle EOF graciously in error messages.
607 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
611 . * % toe to bheel four to five
617 (where "to" is a tiny bow)
619 . * auxilliary file for caching info.
623 . * Output data structures of Mudela in XML/SGML.
624 . * create libmudela, or liblily_frontend
625 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
626 . * Spacing_request for manually adjusting spacing
627 . * caching breakpoints
628 . * used fixedpoint arithmetic for min. energy.
633 (defvar outline-font-lock-keywords
634 '(;; Highlight headings according to the level.
635 ;; must change this to allout node layout
636 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
637 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
638 (1 font-lock-string-face)
639 (2 (let ((len (- (match-end 1) (match-beginning 1))))
640 (or (cdr (assq len '((1 . font-lock-function-name-face)
641 (2 . font-lock-keyword-face)
642 (3 . font-lock-comment-face))))
643 font-lock-variable-name-face))
645 ;; Highlight citations of the form [1] and [Mar94].
646 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
647 "Additional expressions to highlight in Outline mode.")
649 (add-hook 'outline-mode-hook
651 (setq font-lock-maximum-decoration t)
652 (setq font-lock-maximum-decoration t)
653 (make-local-variable 'font-lock-defaults)
654 (setq font-lock-defaults '(outline-font-lock-keywords t))
655 (font-lock-mode global-font-lock-mode)