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