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