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