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 . * make this file understandable for 3rd parties.
13 . * break align order from SCM list.
14 . * time description should be put into SCM
15 . * context in embedded SCM errors.
17 . * eradicate all VIRTUAL_COPY_CONS () macros ; use indexed creation,
20 ctor_dict["Score_element"]->clone_func (orig);
21 ctor_dict["Score_element"]->create_func ();
23 . * acc at tied note after linebreak.
24 . * fix font-naming and selecting
25 . * fix naming: \interline Context.staffLineLeading, staff_line_leading (),
26 staff_position staff_space
27 . * chord tonic: placement of accidental C#, Cb (from scm and C++)
28 . * note head on stem err msg in dutch.
29 . * why need to run -C mf twice?
30 . * setting indent to 0 with \shape fails
31 . * here's no difference at all in output. When either is jacked up to 7.0,
32 everything works and matches up; when either is set just a bit above the
33 default 5.0 (5.4 is what I was hoping to use), stems miss note heads. So
34 it's some sort of a numerical (truncation/roundoff) problem.
36 . * Fixed size staff/system heights;
37 . * ly2dvi : don't repeat opus if same.
38 . * breaks before mmrests are favored.
39 . * hara kiri _8 clef.
42 . * fix or replace feta-accordion.mf
47 - I would like the possibility of forcing clef- and key- changes to be
48 printed _after_ the new bar line
50 - I would like an option to define the number of systems on which the
51 score must be distributed. As it is now it seems that I may only
52 influence that indirectly through the gourlay_maxmeasures property.
54 - if I change the property minVerticalAlign in a multi staff score with
55 lyrics the change affects the lyrics too. I would like the change to
58 - I would like to be able to influence the sloping of xtuplet brackets
60 - for one of my test scores containing a modern edition of an early
61 17'th century composition I have a leading measure containing the
62 orginal clefs and note values of the original composition. I use the
63 a"harmonic" and "diamond" note head styles for that measure and would
64 like to have the stems of these notes _centered_ on the notehead as in
65 the mensural music notation.
67 - after the leading measure in the above mentioned score I want a double
68 bar line fully drawn across the staves and after that keep to the
69 ChoirStaff bar line types in the rest of the scores
71 . * make all Feta (including dynamics) available to the user in
72 textual scripts. Examples: "D.S. al \coda", "\mf espress.".
74 . * Write script that uses --find-old-relative to do auto relativization.
75 . * Junk shared cruft (duration, moment) in lib/
79 . * \$ and $ identifier syntax in examples.
80 . * Junk ghost positioning objects eg, Script leans on Staffside
83 . * Key_engraver, Local_key_item
84 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
85 . * String[String.length] doesn't trap.
86 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
90 . * Lookup::text -> needs to be TeX independent.
91 . * junk Music_iterator::first_b_
95 . * [c8. c16 c16 c16] in 6/8 timesig.
96 . * Rewrite Stem, Beam (hairy)
97 . * general shaving on Beam and Stem
100 . * Rests and beams don't work too well together. Example:
101 [ r8 g''16 des'] [r8 c16 a]
102 . * autoBeamMelisma: if I explicitly beam notes in a staff with auto
103 beaming disabled I would like to have these beams also to be
105 . * The stemLength property should affect also beamed stems.
106 . * staffside spanner (crescendo!) along with staffswitch.
107 . * * auto melismaBusy for beams.
114 . * sort out breve shapes.
115 . * \time forces keysig?
118 . * We need feta-din*.mf files for more sizes than 10.
119 . * align left edge of broken tuplet-spanner (have a test case?)
120 . * fix dynamics decently, ie. use kerning & ligatures.
121 . * key restorations & repeats
122 . * paperXX.ly \quartwidth, font setting not up to date. (Should read from AFM?)
123 . *In Caro Mio Ben, bar 8, there's a syllable that starts on a note, and
124 ends on a pair of grace notes. Standard practice is to mark this with
125 a slur starting on the main note and ending on the grace note, so a
126 singer knows where to break the words.
128 In bar 27, there's a crescendo that's supposed to start at the start
129 of the grace notes and extend to the note after the grace notes.
130 . * 5. Sometimes lyrics extend past the right end of the staff. I guess that
131 this is a similar problem (if not another symptom of the same problem) as
132 one of the spacing bugs mentioned in the TODO.
133 . * 4. Lyrics and grace sections don't go too well together.
134 The words are aligned with the main note, not the start of the
135 grace note. This is usually wrong, but is sometimes right.
136 . * decimal point in \paper {}
138 . * repeats and partial measures.
139 . * rhythmic staff & accidentals.
140 . * use melismaBusy in Lyric context to typeset melismata correctly.
141 . * ly2dvi/lilypond logfile.
142 . * hang Item on Spanner
143 . * do --safe for PS output?
145 . * collision of lyrics with span_bars. See star-spangled.
146 . * It is impossible to typeset two textual scripts that are stacked
147 on top of eachother and avoids note collisions and at the same
148 time are typeset with different textStyle. I tried to move around
149 the text_engraver and other engravers between Voice and Thread
150 but the granularity is not fine enough, the scripts have to
151 share the same engraver in order to be get correct vertical
152 position but than they cannot have different style.
153 In my opinion, all scripts that share the same staff, should
154 be stacked vertically, avoiding collisions with the notes
158 . * don't shorten stems/staffs closer to each other.
159 . * accidentals closer to note head
160 . * to space the staffs/staffgroups contained in the score.
163 . * tuplets that are written as "number : note", for example
164 "3 : [image of a half note here]". possible?
165 . * a note with a circle after it, meaning:
167 note + circle = note + 1/4 of its length
169 the circle is like a dot that's not filled in. for example, on
170 page three, the c-sharp on the second line should be a quarter with
171 a circle, not a quarter tied to a sixteenth. is this at all
173 . * make dependencies () a virtual function.
174 . * deprecate hangOnClef.
175 . * Abstraction for engravers:
176 . * make "in-between" engraver (Tie)
177 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
178 . * store req -> element, element -> element causes for warnings
179 . * compulsory hshift
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?
186 If any of these are already implemented, please let me what the syntax is to
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.
195 3. Notes centred above/below lyrics rather than left-aligned.
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
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.
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.
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.
214 . * TODO: merge atom & molecule; make tree from molecule.
215 . * Align_element::padding ?
216 . * use streambufs and iostream
217 to provide IO handling for TeX stream, mudela stream, data-file.
218 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
219 . * fix partial measures in meaningful way.
220 . * uniformise recent feta contributions.
221 . * bigger and fatter 4/4 C
222 . * relative mode for midi2ly
223 . * junking \skip req in lyrics
224 . * midi2ly empty staffs.
225 . * use Fourier transformation for rhythmic quantisation.
226 . * horizontal centering of dynamics
227 . * $DEPENDENCIES_OUTPUT support
228 . * turn slope-damping on/off
229 . * sort out directory stuff.
231 . * -I option per filetype?
233 . * fix vertical alignment and stafflines
234 . * declaring Performers
235 . * text-items clash with stems/beams
236 . * --include, -I option for ly2dvi (pass on to lily)
237 . * fix placement of beam-less abbrev
239 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
240 {\voicetwo cis,4 r r | r2. | r1 }> |
242 . * Musical_pitch (analogous to Duration and Rhythmic_req)
243 think about, analogous to pitch:
244 * { a4 a16 } c <-- duration of c?
245 * < a4 b8 > c <-- duration of c?
247 . * make sure all ex's have a mudela-version
248 . * do rest-collisions for Multi_measure_rests as well.
249 . * split error/warning in error/warning/non_fatal_error
250 . * add a Duration_convert member to Duration_iter to set parameters.
251 Junk global duration settings.
252 . * en-,discouraged linebreaking:
253 . * handle DISALLOW < penalty > FORCE
254 . * discourage breaking of slurs
255 . * fix variable define/lookup parser global<->paper
256 . * fix title/instrument placements; see input/test/title.ly
257 . * <\voiceone c4. \voicetwo c4>
258 . * I'd like to change the \repetitions command to Jan's suggested
259 syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
260 I understand the implementation of repeats well enough.
261 . * add full cello suites to web site (kom op, Maarten!)
262 . * add mudela-book-doc source to webstie.
263 . * Rethink Time_description
264 \cadenza , \meter, should all be \properties
265 . * fix singleStaffBracket
267 . * partial -> anacrouse
268 . * move paper vars into engraver properties
269 . * add new glyphs to font.ly
270 . * check for groff / troff/ nroff et
271 . * more intelligent file searching
272 . * disable spaces in TeX stuff
273 . * handle ^C for tmp/file creation.
274 . * make LilyPond RPM fully relocatable
275 . * better hshift (dots, distance, head dependent)
276 . * didot / big point.
277 . * clefs (AG): The "8" should appear closer to the actual clef,
279 . * put errorlevel in Input class
280 . * junk nesting slurs
281 . * distinguish between unset and empty properties.
284 . * the bracket is ugly (wings are too parabolic, should be more circular)
285 . * versioning for Feta
286 . * rewrite dynamic signs. They're kind of spaghetti now.
287 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
289 . * design macro for penstroke with rounded endings
290 . * timesig C: fat yet less curved. Check out relations.
291 . * design decent macro for bulbed endings
292 . * printer dependencies.
295 . * work out sizes of character fonts.
297 . * piano pedals: Ped/*
299 . * coda signs: Segno, O+
300 . * glissando, arpeggio
302 . * include important spacing dims in fetalog
303 . * scalability: use blot_diameter everywhere, make font chubbier for
307 . * UMR: Uninitialized memory read
308 This is occurring while in:
311 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
312 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
313 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
314 do_one_file(String,String) [scores.cc:124]
315 Reading 4 bytes from 0xefffeca8 on the stack.
316 Address 0xefffeca8 is 728 bytes below frame pointer in function
317 . * Array<Axis [2] > axeses;
319 for (int i=0; i < loose_elems.size (); i++)
321 Score_element* elt = loose_elems[i];
323 with which axes do we have to meddle?
327 for (int a = X_AXIS; a < NO_AXES; ++a)
328 if (elt->parent_l (Axis (a)) == this)
336 . * patch: don't touch timestamp if all patches fail.
337 . * MetaPost: should not generate setgray for unfill
338 . * mfplain.ini not in tetex 0.9
339 . * mf-to-table -> add space 'before ; in AFM output. (-> check AFM
340 spec. Is this a bug in afm2tfm?)
341 . * check out GCC signatures?
343 f = fopen ("/dev/null", "r")
345 . * tetex: mfplain.mem
349 . * stack scripts in chords:
350 % fingering: footing:
351 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
353 . * slur parts as a script
354 . * stack parameterised scripts for fingering and footing:
357 . * automatically add a \version if not present.
360 . * convert-mudela -e empty.ly
362 . * emacs mudela-mode
363 . * should handle block comments too.
364 . * handle lexer modes (\header, \melodic, \lyric) etc.
367 . * fontlock: \melodic \melodic
369 . * use properties for:
375 . * optimal pagebreaking.
377 . * internationalisation for input.
378 . * Unicode support? -> man 7 unicode
379 . * (The explanation below is mostly intended for Han-Wen and Jan)
380 > Before, the font was changed with macros declared separately for
381 > pure TeX and LaTeX, but now all the fonts are declared directly in
382 > the generated code using the low-level TeX commands. This circumvents
383 > the fontencoding mechanism of LaTeX and is a potential source of
384 > problems also for us users of the Latin-1 character set.
385 > I think it still works since the inputencoding latin1 is
386 > declared by ly2dvi, but it still means that e.g. an o with
387 > umlaut is typeset as a combination of the two symbols 'o' and
388 > 'umlaut' instead of as a single character, as would be the case
389 > if fontencoding OT1 had been used. This shouldn't give any
390 > difference in layout, though. One of the main argument for using
391 > fontencoding OT1 is for the hyphenation mechanism to work, an
392 > argument that's clearly irrelevant in our application. Yet we
393 > see the problem for August.
396 . * output header info to MIDI too.
398 . * a musical dictionary. See Documentation/vocabulary-*, other
407 . * guitar chords (fret diagrams)
408 . * other chord name styles (american(?) style)
413 . * derive lily_stream, Dstream, texstream from ostream?
414 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
415 . * use dstream feature in midi2ly
416 . * integrate IO checking into stream class
422 . * add to MIDI output:
423 . * sharp / flat on trills (in MIDI ??)
424 . * ornaments (and trills?)
428 > Would it be hard to add support for proper dynamics in MIDI output? I
429 > would really like to have this feature...
431 Concretely spoken, for dynamics you have to write a performer
432 (Dynamics_performer), that will take the input requests. If I
433 understand correctly, every MIDI note played must have its dynamic
434 strength set separately. That means the the Dynamics_performer must
435 set the strength of every Audio_note it finds. This means that one
436 has to modify existing Audio items. The best way of doing this is
437 with a broadcast/acknowledge process.
439 So the best way of handling this, is
441 1 supporting dynamic settings in Audio_note
443 2 Write a Dynamics_performer that will modify
444 any notes it finds to set appropriate strengths.
446 I'd say that the work involved is not hard, but you have to be fluent
447 with C++ and need some insight into the working of Notation Contexts
448 and friends. I guess I could do it in a day or so, but if you are not
449 so fluent with the inner workings of LilyPond, it could take you some
450 more time (A few more days?).
452 Please note, that I am *not* going to code this myself: my days are
453 valuable, and I think I have more interesting things to do than fixing
454 the MIDI output (I don't even have a soundcard). But I *do* want to help
455 you or other people with implementing this, so if you need help, don't
457 . * account for rhythmic position in measure
460 . * Output class, handles : (smallish)
461 . * help text /(c) notice?
463 . * warning /errors/progress
464 . * abort on error/warning; exit status
465 . * quiet/ignore-version options
469 . * speed up PS code.
470 . * PS lines to .eps files
471 . * write custom prolog
473 . * more spanners (smallish)
478 . * left/right note balls should be handled by Collision:
479 < \multi 2; { \stem 1; <b c> } { <f as b> } >
482 . * merge key{item} & localkey{item}?
486 . * redo Notehead to allow digits as heads
487 . * add a \tablature {} lexer mode for easy entering
489 . * should adjust stemlength for flag number.
493 . * specify number of lines
496 . * convention for slurs vs. phrasing marks.
500 . * \bla {} vs \bla ;
501 . * \once\property KEY = VAL
503 . * Figure out semicolons.
505 . * configure pitch_byte
506 . * rest name configurable
511 . * A range for context errors (eg. mark both { and }. )
513 . * lyric in staff (sharpsharp in staff, text below)
515 . * write Dynamic_line (to group dynamics horizontally)
517 . * half-sharps, half-flats
519 . * adaptive accidental spacing.
521 . * handle EOF graciously in error messages.
523 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
527 . * % toe to bheel four to five
533 (where "to" is a tiny bow)
535 . * auxilliary file for caching info.
539 . * Output data structures of Mudela in XML/SGML.
540 . * create libmudela, or liblily_frontend
541 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
542 . * Spacing_request for manually adjusting spacing
543 . * caching breakpoints
544 . * used fixedpoint arithmetic for min. energy.
549 (defvar outline-font-lock-keywords
550 '(;; Highlight headings according to the level.
551 ;; must change this to allout node layout
552 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
553 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
554 (1 font-lock-string-face)
555 (2 (let ((len (- (match-end 1) (match-beginning 1))))
556 (or (cdr (assq len '((1 . font-lock-function-name-face)
557 (2 . font-lock-keyword-face)
558 (3 . font-lock-comment-face))))
559 font-lock-variable-name-face))
561 ;; Highlight citations of the form [1] and [Mar94].
562 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
563 "Additional expressions to highlight in Outline mode.")
565 (add-hook 'outline-mode-hook
567 (setq font-lock-maximum-decoration t)
568 (setq font-lock-maximum-decoration t)
569 (make-local-variable 'font-lock-defaults)
570 (setq font-lock-defaults '(outline-font-lock-keywords t))
571 (font-lock-mode global-font-lock-mode)