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