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
13 . * sleur.ly. * rerun profile
15 . * Break_req handling is silly (break_forbid () + \break fucks up.)
17 . * HaraKiriStaffContext removes bar lines and doesn't remove
18 staff margin text on removed staff lines.
21 - I would like the possibility of forcing clef- and key- changes to be
22 printed _after_ the new bar line
24 - I would like an option to define the number of systems on which the
25 score must be distributed. As it is now it seems that I may only
26 influence that indirectly through the gourlay_maxmeasures property.
28 - if I change the property minVerticalAlign in a multi staff score with
29 lyrics the change affects the lyrics too. I would like the change to
32 - I would like to be able to influence the sloping of xtuplet brackets
34 - for one of my test scores containing a modern edition of an early
35 17'th century composition I have a leading measure containing the
36 orginal clefs and note values of the original composition. I use the
37 "harmonic" and "diamond" note head styles for that measure and would
38 like to have the stems of these notes _centered_ on the notehead as in
39 the mensural music notation.
41 - after the leading measure in the above mentioned score I want a double
42 bar line fully drawn across the staves and after that keep to the
43 ChoirStaff bar line types in the rest of the scores
45 - autoBeamMelisma: if I explicitly beam notes in a staff with auto beaming disabled I
46 would like to have these beams also to be melismatic.
48 . * make all Feta (including dynamics) available to the user in
49 textual scripts. Examples: "D.S. al \coda", "\mf espress.".
51 . * ? -Q, --find-old-relative show all changes in relative syntax
52 What's old about absolute to relative conversion? Could maybe use for
56 . * \$ and $ identifier syntax in examples.
57 . * Junk ghost positioning objects eg, Script leans on Staffside
61 . * center option (??)
62 . * make mudela-book understand usepackage{geometry}
63 . * Key_engraver, Local_key_item
64 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
65 . * String[String.length] doesn't trap.
68 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
72 . * Lookup::text -> needs to be TeX independent.
73 . * junk Music_iterator::first_b_
77 . * [c8. c16 c16 c16] in 6/8 timesig.
78 . * staffside spanner (crescendo!) along with staffswitch.
79 . * --- 2, margin notes don't work correctly for the pianostaff (in the
80 following example, i expect the "piano" string to be centered
81 vertically between the two staves):
84 \notes \context PianoStaff <
85 \property PianoStaff.instrument = "Piano"
86 \context Staff = treble {
89 \context Staff = bass {
95 \translator { \StaffContext \consists "Staff_margin_engraver"; }
96 \translator { \PianoStaffContext \consists "Staff_margin_engraver"; }
104 . * sort out breve shapes.
105 . * \time forces keysig?
108 . * We need feta-din*.mf files for more sizes than 10.
110 - The syntax for chords looks clumsy with two different meanings of
111 '-' and different syntax for separating modifiers from the tonic
112 and from other modifiers. Why not use for example ':' between
113 tonic and modifier and between the different modifiers?
115 - Rests and beams don't work too well together. Example:
116 [ r8 g''16 des'] [r8 c16 a]
118 - The stemLength property should affect also beamed stems.
120 . * align left edge of broken tuplet-spanner (have a test case?)
121 . * fix dynamics decently, ie. use kerning & ligatures.
122 . * key restorations & repeats
123 . * paperXX.ly \quartwidth, font setting not up to date. (Should read from AFM?)
124 . * * auto melismaBusy for beams.
125 . *In Caro Mio Ben, bar 8, there's a syllable that starts on a note, and
126 ends on a pair of grace notes. Standard practice is to mark this with
127 a slur starting on the main note and ending on the grace note, so a
128 singer knows where to break the words.
130 In bar 27, there's a crescendo that's supposed to start at the start
131 of the grace notes and extend to the note after the grace notes.
132 . * 5. Sometimes lyrics extend past the right end of the staff. I guess that
133 this is a similar problem (if not another symptom of the same problem) as
134 one of the spacing bugs mentioned in the TODO.
135 . * 4. Lyrics and grace sections don't go too well together.
136 The words are aligned with the main note, not the start of the
137 grace note. This is usually wrong, but is sometimes right.
138 . * decimal point in \paper {}
140 . * repeats and partial measures.
141 . * rhythmic staff & accidentals.
142 . * use melismaBusy in Lyric context to typeset melismata correctly.
143 . * ly2dvi/lilypond logfile.
144 . * hang Item on Spanner
145 . * do --safe for PS output?
147 . * collision of lyrics with span_bars. See star-spangled.
148 . * Auto_beam debugging output (waarom/wanneer heb jij die weggehaald?)
149 . * It is impossible to typeset two textual scripts that are stacked
150 on top of eachother and avoids note collisions and at the same
151 time are typeset with different textStyle. I tried to move around
152 the text_engraver and other engravers between Voice and Thread
153 but the granularity is not fine enough, the scripts have to
154 share the same engraver in order to be get correct vertical
155 position but than they cannot have different style.
156 In my opinion, all scripts that share the same staff, should
157 be stacked vertically, avoiding collisions with the notes
160 . * break priority setting from SCM.
162 . * don't shorten stems/staffs closer to each other.
163 . * accidentals closer to note head
164 . * to space the staffs/staffgroups contained in the score.
167 . * tuplets that are written as "number : note", for example
168 "3 : [image of a half note here]". possible?
169 . * a note with a circle after it, meaning:
171 note + circle = note + 1/4 of its length
173 the circle is like a dot that's not filled in. for example, on
174 page three, the c-sharp on the second line should be a quarter with
175 a circle, not a quarter tied to a sixteenth. is this at all
177 . * scm-ify \property values.
178 . * make dependencies () a virtual function.
179 . * deprecate hangOnClef.
180 . * Abstraction for engravers:
181 . * make "in-between" engraver (Tie)
182 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
183 . * store req -> element, element -> element causes for warnings
184 . * compulsory hshift
185 . * My wish list for lyrics. I dream of a time when I will have enough time to
186 become familiar enough with the source code to be able to implement some of
187 these myself, but I don't know when that will be, so I thought I'd "publish"
188 my suggestions in case someone else is in a position to give them some
189 priority. Otherwise, perhaps they could go on the todo list?
191 If any of these are already implemented, please let me what the syntax is to
194 1. Stanza numbering. Numbering at the beginning of a song with the number
195 set to the left of the first note. It would also be nice (but not as
196 important) to be able to have some form of automatic numbering at the
197 beginning of each new line. This would make it easier to follow songs with a
198 large number of stanzas.
200 3. Notes centred above/below lyrics rather than left-aligned.
202 4. It would be very nice to be able to build some kind of phrasing into the
203 lyrics of hymns, etc, so that the first words of a phrase are left aligned
204 with each other, the last words are right aligned, and the words in between
207 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
208 able to vertically align the chorus midway between the staves.
210 6. It would be nice to be able to put vertical brackets either side of a
211 repeated section with different words for each repeat.
212 . * Give # lines in linebreaking.
214 . * rewrite context defs using Scheme
215 . * junk TeX specifics from internal code.
216 . * \selectmusic to cut pieces from music.
217 . * formatting of input stuff.
219 . * TODO: merge atom & molecule; make tree from molecule.
220 . * Align_element::padding ?
221 . * typo checks on property names?
222 . * use streambufs and iostream
223 to provide IO handling for TeX stream, mudela stream, data-file.
224 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
225 . * strip EXEs before installing
226 . * zip target for binary windows dist (JBR)
227 . * fix partial measures in meaningful way.
228 . * uniformise recent feta contributions.
229 . * bigger and fatter 4/4 C
230 . * relative mode for midi2ly
231 . * junking \skip req in lyrics
232 . * midi2ly empty staffs.
233 . * use Fourier transformation for rhythmic quantisation.
234 . * horizontal centering of dynamics
235 . * $DEPENDENCIES_OUTPUT support
236 . * turn slope-damping on/off
237 . * sort out directory stuff.
239 . * -I option per filetype?
241 . * fix vertical alignment and stafflines
242 . * declaring Performers
243 . * text-items clash with stems/beams
244 . * --include, -I option for ly2dvi (pass on to lily)
245 . * fix placement of beam-less abbrev
247 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
248 {\voicetwo cis,4 r r | r2. | r1 }> |
250 . * Musical_pitch (analogous to Duration and Rhythmic_req)
251 think about, analogous to pitch:
252 * { a4 a16 } c <-- duration of c?
253 * < a4 b8 > c <-- duration of c?
255 . * make sure all ex's have a mudela-version
256 . * do rest-collisions for Multi_measure_rests as well.
257 . * split error/warning in error/warning/non_fatal_error
258 . * add a Duration_convert member to Duration_iter to set parameters.
259 Junk global duration settings.
260 . * en-,discouraged linebreaking:
261 . * handle DISALLOW < penalty > FORCE
262 . * discourage breaking of slurs
263 . * fix variable define/lookup parser global<->paper
264 . * fix title/instrument placements; see input/test/title.ly
265 . * <\voiceone c4. \voicetwo c4>
266 . * I'd like to change the \repetitions command to Jan's suggested
267 syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
268 I understand the implementation of repeats well enough.
269 . * add full cello suites to web site (kom op, Maarten!)
270 . * rename 'staff_line_leading' (who is being lead where?) to
271 staff_space, interline; (or other meaningful name) and use throughout
274 [-> leading are the lead strips between the sticks (lines) of
275 typeface. ie. leading is vertical space --hwn]
276 . * add mudela-book-doc source to webstie.
277 . * Rethink Time_description
278 \cadenza , \meter, should all be \properties
279 . * fix singleStaffBracket
281 . * partial -> anacrouse
282 . * move paper vars into engraver properties
283 . * add new glyphs to font.ly
284 . * check for groff / troff/ nroff et
285 . * more intelligent file searching
286 . * disable spaces in TeX stuff
287 . * handle ^C for tmp/file creation.
288 . * make LilyPond RPM fully relocatable
289 . * better hshift (dots, distance, head dependent)
290 . * didot / big point.
291 . * clefs (AG): The "8" should appear closer to the actual clef,
293 . * put errorlevel in Input class
294 . * junk nesting slurs
295 . * distinguish between unset and empty properties.
298 . * the bracket is ugly (wings are too parabolic, should be more circular)
299 . * versioning for Feta
300 . * rewrite dynamic signs. They're kind of spaghetti now.
301 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
303 . * design macro for penstroke with rounded endings
304 . * timesig C: fat yet less curved. Check out relations.
305 . * design decent macro for bulbed endings
306 . * printer dependencies.
309 . * work out sizes of character fonts.
311 . * piano pedals: Ped/*
313 . * coda signs: Segno, O+
314 . * glissando, arpeggio
316 . * include important spacing dims in fetalog
317 . * scalability: use blot_diameter everywhere, make font chubbier for
321 . * UMR: Uninitialized memory read
322 This is occurring while in:
325 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
326 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
327 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
328 do_one_file(String,String) [scores.cc:124]
329 Reading 4 bytes from 0xefffeca8 on the stack.
330 Address 0xefffeca8 is 728 bytes below frame pointer in function
331 . * Array<Axis [2] > axeses;
333 for (int i=0; i < loose_elems.size (); i++)
335 Score_element* elt = loose_elems[i];
337 with which axes do we have to meddle?
341 for (int a = X_AXIS; a < NO_AXES; ++a)
342 if (elt->parent_l (Axis (a)) == this)
349 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
350 . * patch: don't touch timestamp if all patches fail.
351 . * MetaPost: should not generate setgray for unfill
352 . * mfplain.ini not in tetex 0.9
353 . * mf-to-table -> add space 'before ; in AFM output. (-> check AFM
354 spec. Is this a bug in afm2tfm?)
355 . * check out GCC signatures?
357 f = fopen ("/dev/null", "r")
359 . * tetex: mfplain.mem
363 . * stack scripts in chords:
364 % fingering: footing:
365 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
367 . * slur parts as a script
368 . * stack parameterised scripts for fingering and footing:
371 . * automatically add a \version if not present.
374 . * convert-mudela -e empty.ly
376 . * emacs mudela-mode
377 . * should handle block comments too.
378 . * handle lexer modes (\header, \melodic, \lyric) etc.
381 . * fontlock: \melodic \melodic
383 . * use properties for:
389 . * optimal pagebreaking.
391 . * internationalisation for input.
392 . * Unicode support? -> man 7 unicode
393 . * (The explanation below is mostly intended for Han-Wen and Jan)
394 > Before, the font was changed with macros declared separately for
395 > pure TeX and LaTeX, but now all the fonts are declared directly in
396 > the generated code using the low-level TeX commands. This circumvents
397 > the fontencoding mechanism of LaTeX and is a potential source of
398 > problems also for us users of the Latin-1 character set.
399 > I think it still works since the inputencoding latin1 is
400 > declared by ly2dvi, but it still means that e.g. an o with
401 > umlaut is typeset as a combination of the two symbols 'o' and
402 > 'umlaut' instead of as a single character, as would be the case
403 > if fontencoding OT1 had been used. This shouldn't give any
404 > difference in layout, though. One of the main argument for using
405 > fontencoding OT1 is for the hyphenation mechanism to work, an
406 > argument that's clearly irrelevant in our application. Yet we
407 > see the problem for August.
410 . * output header info to MIDI too.
412 . * a musical dictionary. See Documentation/vocabulary-*, other
422 . * guitar chords (fret diagrams)
423 . * other chord name styles (american(?) style)
428 . * derive lily_stream, Dstream, texstream from ostream?
429 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
430 . * use dstream feature in midi2ly
431 . * integrate IO checking into stream class
438 . * add to MIDI output:
439 . * sharp / flat on trills (in MIDI ??)
440 . * ornaments (and trills?)
444 > Would it be hard to add support for proper dynamics in MIDI output? I
445 > would really like to have this feature...
447 Concretely spoken, for dynamics you have to write a performer
448 (Dynamics_performer), that will take the input requests. If I
449 understand correctly, every MIDI note played must have its dynamic
450 strength set separately. That means the the Dynamics_performer must
451 set the strength of every Audio_note it finds. This means that one
452 has to modify existing Audio items. The best way of doing this is
453 with a broadcast/acknowledge process.
455 So the best way of handling this, is
457 1 supporting dynamic settings in Audio_note
459 2 Write a Dynamics_performer that will modify
460 any notes it finds to set appropriate strengths.
462 I'd say that the work involved is not hard, but you have to be fluent
463 with C++ and need some insight into the working of Notation Contexts
464 and friends. I guess I could do it in a day or so, but if you are not
465 so fluent with the inner workings of LilyPond, it could take you some
466 more time (A few more days?).
468 Please note, that I am *not* going to code this myself: my days are
469 valuable, and I think I have more interesting things to do than fixing
470 the MIDI output (I don't even have a soundcard). But I *do* want to help
471 you or other people with implementing this, so if you need help, don't
473 . * account for rhythmic position in measure
477 . * Output class, handles : (smallish)
478 . * help text /(c) notice?
480 . * warning /errors/progress
481 . * abort on error/warning; exit status
482 . * quiet/ignore-version options
486 . * speed up PS code.
487 . * PS lines to .eps files
488 . * write custom prolog
493 . * remove links to non-free SW.
494 . * internal documentation
497 . * left/rightbeamcount
498 . * various other new properties.
503 . * Doc (C) stuff of sheet music
504 . * a better format? SGML? TeX? Info?
505 . * a better tutorial
507 . * more spanners (smallish)
511 . * Rewrite Stem, Beam (hairy)
512 . * general shaving on Beam and Stem
513 . * use plet grouping
517 . * Ledger lines, should be separate item: Ledger_lines
518 . * set different line sizes / thicknesses
519 . * beam stem showthrough, inter beam sizes (french vs german style)
522 . * left/right note balls should be handled by Collision:
523 < \multi 2; { \stem 1; <b c> } { <f as b> } >
526 . * merge key{item} & localkey{item}?
527 . * spacing, national styles?
530 . * redo Notehead to allow digits as heads
531 . * add a \tablature {} lexer mode for easy entering
533 . * should adjust stemlength for flag number.
536 . * caching breakpoints
538 . * specify number of lines
541 . * convention for slurs vs. phrasing marks.
545 . * \bla {} vs \bla ;
546 . * mix engraver hacking with music ?
547 . * \once\property KEY = VAL
549 . * abstract grammar.
550 . * Figure out semicolons.
561 . * configure pitch_byte
562 . * rest name configurable
567 . * fix confusing naming in Engraver vs Engraver_group_engraver (context)
569 . * A range for context errors (eg. mark both { and }. )
571 . * lyric in staff (sharpsharp in staff, text below)
573 . * write Dynamic_line (to group dynamics horizontally)
575 . * use Real for all y positions.
577 . * half-sharps, half-flats
579 . * adaptive accidental spacing.
581 . * handle EOF graciously in error messages.
583 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
587 . * % toe to bheel four to five
593 (where "to" is a tiny bow)
595 . * auxilliary file for caching info.
599 . * Output data structures of Mudela in XML/SGML.
600 . * create libmudela, or liblily_frontend
601 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
602 . * Spacing_request for manually adjusting spacing
603 . * caching breakpoints
604 . * used fixedpoint arithmetic for min. energy.
609 (defvar outline-font-lock-keywords
610 '(;; Highlight headings according to the level.
611 ;; must change this to allout node layout
612 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
613 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
614 (1 font-lock-string-face)
615 (2 (let ((len (- (match-end 1) (match-beginning 1))))
616 (or (cdr (assq len '((1 . font-lock-function-name-face)
617 (2 . font-lock-keyword-face)
618 (3 . font-lock-comment-face))))
619 font-lock-variable-name-face))
621 ;; Highlight citations of the form [1] and [Mar94].
622 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
623 "Additional expressions to highlight in Outline mode.")
625 (add-hook 'outline-mode-hook
627 (setq font-lock-maximum-decoration t)
628 (setq font-lock-maximum-decoration t)
629 (make-local-variable 'font-lock-defaults)
630 (setq font-lock-defaults '(outline-font-lock-keywords t))
631 (font-lock-mode global-font-lock-mode)