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 . * Break_req handling is silly (break_forbid () + \break fucks up.)
13 . * HaraKiriStaffContext removes bar lines and doesn't remove
14 staff margin text on removed staff lines.
15 . * make all Feta (including dynamics) available to the user in
16 textual scripts. Examples: "D.S. al \coda", "\mf espress.".
18 . * ? -Q, --find-old-relative show all changes in relative syntax
19 What's old about absolute to relative conversion? Could maybe use for
23 . * \$ and $ identifier syntax in examples.
24 . * Junk ghost positioning objects eg, Script leans on Staffside
28 . * Key_engraver, Local_key_item
29 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
30 . * String[String.length] doesn't trap.
31 . * y dimension units: staffspace vs. Point
34 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
38 . * Lookup::text -> needs to be TeX independent.
39 . * junk Music_iterator::first_b_
43 . * [c8. c16 c16 c16] in 6/8 timesig.
44 . * staffside spanner (crescendo!) along with staffswitch.
45 . * --- 1, sometimes broken slurs start too early in the next line:
52 a4 g8 fis a d c d ~ \break | d e d b a b a fis \break
57 --- 2, margin notes don't work correctly for the pianostaff (in the
58 following example, i expect the "piano" string to be centered
59 vertically between the two staves):
62 \notes \context PianoStaff <
63 \property PianoStaff.instrument = "Piano"
64 \context Staff = treble {
67 \context Staff = bass {
73 \translator { \StaffContext \consists "Staff_margin_engraver"; }
74 \translator { \PianoStaffContext \consists "Staff_margin_engraver"; }
82 . * sort out breve shapes.
83 . * \time forces keysig?
86 . * We need feta-din*.mf files for more sizes than 10.
88 - It's clumsy to have to set Staff.instr = " " to get instrument name
89 on only the first line.
91 - The syntax for chords looks clumsy with two different meanings of
92 '-' and different syntax for separating modifiers from the tonic
93 and from other modifiers. Why not use for example ':' between
94 tonic and modifier and between the different modifiers?
96 - Rests and beams don't work too well together. Example:
97 [ r8 g''16 des'] [r8 c16 a]
99 - The stemLength property should affect also beamed stems.
101 . * align left edge of broken (de)cresc/slur/tie/tuplet/volta
102 . * fix dynamics decently, ie. use kerning & ligatures.
103 . * key restorations & repeats
104 . * paperXX.ly \quartwidth, font setting not up to date. (Should read from AFM?)
105 . * * auto melismaBusy for beams.
106 . *In Caro Mio Ben, bar 8, there's a syllable that starts on a note, and
107 ends on a pair of grace notes. Standard practice is to mark this with
108 a slur starting on the main note and ending on the grace note, so a
109 singer knows where to break the words.
111 In bar 27, there's a crescendo that's supposed to start at the start
112 of the grace notes and extend to the note after the grace notes.
113 . * 5. Sometimes lyrics extend past the right end of the staff. I guess that
114 this is a similar problem (if not another symptom of the same problem) as
115 one of the spacing bugs mentioned in the TODO.
116 . * 4. Lyrics and grace sections don't go too well together.
117 The words are aligned with the main note, not the start of the
118 grace note. This is usually wrong, but is sometimes right.
119 . * decimal point in \paper {}
121 . * repeats and partial measures.
122 . * rhythmic staff & accidentals.
123 . * use melismaBusy in Lyric context to typeset melismata correctly.
124 . * ly2dvi/lilypond logfile.
126 . * hang Item on Spanner
127 . * do --safe for PS output?
129 . * collision of lyrics with span_bars. See star-spangled.
130 . * Auto_beam debugging output (waarom/wanneer heb jij die weggehaald?)
131 . * It is impossible to typeset two textual scripts that are stacked
132 on top of eachother and avoids note collisions and at the same
133 time are typeset with different textStyle. I tried to move around
134 the text_engraver and other engravers between Voice and Thread
135 but the granularity is not fine enough, the scripts have to
136 share the same engraver in order to be get correct vertical
137 position but than they cannot have different style.
138 In my opinion, all scripts that share the same staff, should
139 be stacked vertically, avoiding collisions with the notes
142 . * break priority setting from SCM.
144 . * don't shorten stems/staffs closer to each other.
145 . * accidentals closer to note head
146 . * to space the staffs/staffgroups contained in the score.
149 . * tuplets that are written as "number : note", for example
150 "3 : [image of a half note here]". possible?
151 . * a note with a circle after it, meaning:
153 note + circle = note + 1/4 of its length
155 the circle is like a dot that's not filled in. for example, on
156 page three, the c-sharp on the second line should be a quarter with
157 a circle, not a quarter tied to a sixteenth. is this at all
159 . * scm-ify \property values.
160 . * make dependencies () a virtual function.
161 . * deprecate hangOnClef.
162 . * Abstraction for engravers:
163 . * make "in-between" engraver (Tie)
164 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
165 . * store req -> element, element -> element causes for warnings
166 . * compulsory hshift
167 . * My wish list for lyrics. I dream of a time when I will have enough time to
168 become familiar enough with the source code to be able to implement some of
169 these myself, but I don't know when that will be, so I thought I'd "publish"
170 my suggestions in case someone else is in a position to give them some
171 priority. Otherwise, perhaps they could go on the todo list?
173 If any of these are already implemented, please let me what the syntax is to
176 1. Stanza numbering. Numbering at the beginning of a song with the number
177 set to the left of the first note. It would also be nice (but not as
178 important) to be able to have some form of automatic numbering at the
179 beginning of each new line. This would make it easier to follow songs with a
180 large number of stanzas.
182 3. Notes centred above/below lyrics rather than left-aligned.
184 4. It would be very nice to be able to build some kind of phrasing into the
185 lyrics of hymns, etc, so that the first words of a phrase are left aligned
186 with each other, the last words are right aligned, and the words in between
189 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
190 able to vertically align the chorus midway between the staves.
192 6. It would be nice to be able to put vertical brackets either side of a
193 repeated section with different words for each repeat.
195 . * Give # lines in linebreaking.
197 . * rewrite context defs using Scheme
198 . * junk TeX specifics from internal code.
199 . * \selectmusic to cut pieces from music.
200 . * formatting of input stuff.
202 . * TODO: merge atom & molecule; make tree from molecule.
203 . * Align_element::padding ?
204 . * typo checks on property names?
205 . * use streambufs and iostream
206 to provide IO handling for TeX stream, mudela stream, data-file.
207 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
208 . * strip EXEs before installing
209 . * zip target for binary windows dist (JBR)
210 . * fix partial measures in meaningful way.
211 . * uniformise recent feta contributions.
212 . * bigger and fatter 4/4 C
213 . * relative mode for midi2ly
214 . * junking \skip req in lyrics
215 . * midi2ly empty staffs.
216 . * use Fourier transformation for rhythmic quantisation.
217 . * horizontal centering of dynamics
218 . * $DEPENDENCIES_OUTPUT support
219 . * turn slope-damping on/off
220 . * sort out directory stuff.
222 . * -I option per filetype?
224 . * fix vertical alignment and stafflines
225 . * declaring Performers
226 . * *.yo: fix pod manpage layout legacy
227 . * text-items clash with stems/beams
228 . * --include, -I option for ly2dvi (pass on to lily)
229 . * fix placement of beam-less abbrev
231 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
232 {\voicetwo cis,4 r r | r2. | r1 }> |
234 . * Musical_pitch (analogous to Duration and Rhythmic_req)
235 think about, analogous to pitch:
236 * { a4 a16 } c <-- duration of c?
237 * < a4 b8 > c <-- duration of c?
239 . * make sure all ex's have a mudela-version
240 . * do rest-collisions for Multi_measure_rests as well.
241 . * split error/warning in error/warning/non_fatal_error
242 . * add a Duration_convert member to Duration_iter to set parameters.
243 Junk global duration settings.
244 . * en-,discouraged linebreaking:
245 . * handle DISALLOW < penalty > FORCE
246 . * discourage breaking of slurs
247 . * fix variable define/lookup parser global<->paper
248 . * fix title/instrument placements; see input/test/title.ly
249 . * <\voiceone c4. \voicetwo c4>
250 . * I'd like to change the \repetitions command to Jan's suggested
251 syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
252 I understand the implementation of repeats well enough.
253 . * add full cello suites to web site (kom op, Maarten!)
254 . * rename 'staff_line_leading' (who is being lead where?) to
255 staff_space, interline; (or other meaningful name) and use throughout
258 [-> leading are the lead strips between the sticks (lines) of
259 typeface. ie. leading is vertical space --hwn]
260 . * add mudela-book-doc source to webstie.
261 . * Rethink Time_description
262 \cadenza , \meter, should all be \properties
263 . * fix singleStaffBracket
265 . * partial -> anacrouse
266 . * move paper vars into engraver properties
267 . * add new glyphs to font.ly
268 . * check for groff / troff/ nroff et
269 . * more intelligent file searching
270 . * disable spaces in TeX stuff
271 . * handle ^C for tmp/file creation.
272 . * make LilyPond RPM fully relocatable
273 . * better hshift (dots, distance, head dependent)
274 . * didot / big point.
275 . * clefs (AG): The "8" should appear closer to the actual clef,
277 . * put errorlevel in Input class
278 . * junk nesting slurs
279 . * distinguish between unset and empty properties.
282 . * the bracket is ugly (wings are too parabolic, should be more circular)
283 . * versioning for Feta
284 . * rewrite dynamic signs. They're kind of spaghetti now.
285 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
287 . * design macro for penstroke with rounded endings
288 . * timesig C: fat yet less curved. Check out relations.
289 . * design decent macro for bulbed endings
290 . * printer dependencies.
293 . * work out sizes of character fonts.
295 . * piano pedals: Ped/*
297 . * coda signs: Segno, O+
298 . * glissando, arpeggio
300 . * include important spacing dims in fetalog
301 . * scalability: use blot_diameter everywhere, make font chubbier for
305 . * UMR: Uninitialized memory read
306 This is occurring while in:
309 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
310 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
311 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
312 do_one_file(String,String) [scores.cc:124]
313 Reading 4 bytes from 0xefffeca8 on the stack.
314 Address 0xefffeca8 is 728 bytes below frame pointer in function
315 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
316 . * patch: don't touch timestamp if all patches fail.
317 . * MetaPost: should not generate setgray for unfill
318 . * mfplain.ini not in tetex 0.9
319 . * mf-to-table -> add space 'before ; in AFM output. (-> check AFM
320 spec. Is this a bug in afm2tfm?)
321 . * check out GCC signatures?
323 f = fopen ("/dev/null", "r")
325 . * tetex: mfplain.mem
329 . * stack scripts in chords:
330 % fingering: footing:
331 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
333 . * slur parts as a script
334 . * stack parameterised scripts for fingering and footing:
337 . * automatically add a \version if not present.
340 . * convert-mudela -e empty.ly
342 . * emacs mudela-mode
343 . * should handle block comments too.
344 . * handle lexer modes (\header, \melodic, \lyric) etc.
347 . * fontlock: \melodic \melodic
349 . * use properties for:
355 . * optimal pagebreaking.
357 . * internationalisation for input.
358 . * Unicode support? -> man 7 unicode
359 . * (The explanation below is mostly intended for Han-Wen and Jan)
360 > Before, the font was changed with macros declared separately for
361 > pure TeX and LaTeX, but now all the fonts are declared directly in
362 > the generated code using the low-level TeX commands. This circumvents
363 > the fontencoding mechanism of LaTeX and is a potential source of
364 > problems also for us users of the Latin-1 character set.
365 > I think it still works since the inputencoding latin1 is
366 > declared by ly2dvi, but it still means that e.g. an o with
367 > umlaut is typeset as a combination of the two symbols 'o' and
368 > 'umlaut' instead of as a single character, as would be the case
369 > if fontencoding OT1 had been used. This shouldn't give any
370 > difference in layout, though. One of the main argument for using
371 > fontencoding OT1 is for the hyphenation mechanism to work, an
372 > argument that's clearly irrelevant in our application. Yet we
373 > see the problem for August.
376 . * output header info to MIDI too.
378 . * a musical dictionary. See Documentation/vocabulary-*, other
388 . * guitar chords (fret diagrams)
389 . * other chord name styles (american(?) style)
394 . * derive lily_stream, Dstream, texstream from ostream?
395 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
396 . * use dstream feature in midi2ly
397 . * integrate IO checking into stream class
404 . * add to MIDI output:
405 . * sharp / flat on trills (in MIDI ??)
406 . * ornaments (and trills?)
410 > Would it be hard to add support for proper dynamics in MIDI output? I
411 > would really like to have this feature...
413 Concretely spoken, for dynamics you have to write a performer
414 (Dynamics_performer), that will take the input requests. If I
415 understand correctly, every MIDI note played must have its dynamic
416 strength set separately. That means the the Dynamics_performer must
417 set the strength of every Audio_note it finds. This means that one
418 has to modify existing Audio items. The best way of doing this is
419 with a broadcast/acknowledge process.
421 So the best way of handling this, is
423 1 supporting dynamic settings in Audio_note
425 2 Write a Dynamics_performer that will modify
426 any notes it finds to set appropriate strengths.
428 I'd say that the work involved is not hard, but you have to be fluent
429 with C++ and need some insight into the working of Notation Contexts
430 and friends. I guess I could do it in a day or so, but if you are not
431 so fluent with the inner workings of LilyPond, it could take you some
432 more time (A few more days?).
434 Please note, that I am *not* going to code this myself: my days are
435 valuable, and I think I have more interesting things to do than fixing
436 the MIDI output (I don't even have a soundcard). But I *do* want to help
437 you or other people with implementing this, so if you need help, don't
439 . * account for rhythmic position in measure
443 . * Output class, handles : (smallish)
444 . * help text /(c) notice?
446 . * warning /errors/progress
447 . * abort on error/warning; exit status
448 . * quiet/ignore-version options
452 . * speed up PS code.
453 . * PS lines to .eps files
454 . * write custom prolog
459 . * remove links to non-free SW.
460 . * internal documentation
463 . * left/rightbeamcount
464 . * various other new properties.
469 . * Doc (C) stuff of sheet music
470 . * a better format? SGML? TeX? Info?
471 . * a better tutorial
473 . * more spanners (smallish)
477 . * Rewrite Stem, Beam (hairy)
478 . * general shaving on Beam and Stem
479 . * use plet grouping
483 . * Ledger lines, should be separate item: Ledger_lines
484 . * set different line sizes / thicknesses
485 . * beam stem showthrough, inter beam sizes (french vs german style)
488 . * left/right note balls should be handled by Collision:
489 < \multi 2; { \stem 1; <b c> } { <f as b> } >
492 . * merge key{item} & localkey{item}?
493 . * spacing, national styles?
496 . * redo Notehead to allow digits as heads
497 . * add a \tablature {} lexer mode for easy entering
499 . * should adjust stemlength for flag number.
502 . * caching breakpoints
504 . * specify number of lines
507 . * convention for slurs vs. phrasing marks.
511 . * \bla {} vs \bla ;
512 . * mix engraver hacking with music ?
513 . * \once\property KEY = VAL
515 . * abstract grammar.
516 . * Figure out semicolons.
527 . * configure pitch_byte
528 . * rest name configurable
533 . * fix confusing naming in Engraver vs Engraver_group_engraver (context)
535 . * A range for context errors (eg. mark both { and }. )
537 . * lyric in staff (sharpsharp in staff, text below)
539 . * write Dynamic_line (to group dynamics horizontally)
541 . * use Real for all y positions.
543 . * half-sharps, half-flats
545 . * adaptive accidental spacing.
547 . * handle EOF graciously in error messages.
549 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
553 . * % toe to bheel four to five
559 (where "to" is a tiny bow)
561 . * auxilliary file for caching info.
565 . * Output data structures of Mudela in XML/SGML.
566 . * create libmudela, or liblily_frontend
567 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
568 . * Spacing_request for manually adjusting spacing
569 . * caching breakpoints
570 . * used fixedpoint arithmetic for min. energy.
575 (defvar outline-font-lock-keywords
576 '(;; Highlight headings according to the level.
577 ;; must change this to allout node layout
578 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
579 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
580 (1 font-lock-string-face)
581 (2 (let ((len (- (match-end 1) (match-beginning 1))))
582 (or (cdr (assq len '((1 . font-lock-function-name-face)
583 (2 . font-lock-keyword-face)
584 (3 . font-lock-comment-face))))
585 font-lock-variable-name-face))
587 ;; Highlight citations of the form [1] and [Mar94].
588 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
589 "Additional expressions to highlight in Outline mode.")
591 (add-hook 'outline-mode-hook
593 (setq font-lock-maximum-decoration t)
594 (setq font-lock-maximum-decoration t)
595 (make-local-variable 'font-lock-defaults)
596 (setq font-lock-defaults '(outline-font-lock-keywords t))
597 (font-lock-mode global-font-lock-mode)