1 -*-outline-layout:(2 (-1 -1 0 :) 0);outline-stylish-prefixes:nil -*-
4 Features you cannot find in the doco 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 I want to think about
8 Most of the items are marked in the code as well
9 Grep for TODO and ugh/ugr/urg.
12 . * rename 'staff_line_leading' (who is being lead where?) to
13 staff_space, interline; (or other meaningful name) and use throughout
16 [-> leading are the lead strips between the sticks (lines) of
17 typeface. ie. leading is vertical space --hwn]
18 . * Rewrite \rhythm to be during interpreting.
19 . * move \version check to lexer.ll
20 . * junk delayed spanner breaking.
21 . * core dump on broken (de)crescendo
22 . * align left edge of broken (de)cresc/slur/tie/tuplet/volta
23 . * check dangling_scm_sym working.
24 . * spacing of accidentals
25 . * key restorations & repeats
27 So how do I do what I want to do?
29 In Caro Mio Ben, bar 8, there's a syllable that starts on a note, and
30 ends on a pair of grace notes. Standard practice is to mark this with
31 a slur starting on the main note and ending on the grace note, so a
32 singer knows where to break the words.
34 In bar 26, there's a \p marker that should appear below the grace
37 In bar 27, there's a crescendo that's supposed to start at the start
38 of the grace notes and extend to the note after the grace notes.
40 How do I specify these?
41 . * spanners from grace to normal ctxt
44 5. Sometimes lyrics extend past the right end of the staff. I guess that
45 this is a similar problem (if not another symptom of the same problem) as
46 one of the spacing bugs mentioned in the TODO.
47 . * 4. Lyrics and grace sections don't go too well together.
48 The words are aligned with the main note, not the start of the
49 grace note. This is usually wrong, but is sometimes right.
50 . * Auto_beam debugging output (waarom/wanneer heb jij die weggehaald?)
51 . * Rename illegal to invalid
54 - The Postscript output is still very experimental
56 - It is impossible to typeset two textual scripts that are stacked
57 on top of eachother and avoids note collisions and at the same
58 time are typeset with different textStyle. I tried to move around
59 the text_engraver and other engravers between Voice and Thread
60 but the granularity is not fine enough, the scripts have to
61 share the same engraver in order to be get correct vertical
62 position but than they cannot have different style.
63 In my opinion, all scripts that share the same staff, should
64 be stacked vertically, avoiding collisions with the notes
67 - I'd like to change the \repetitions command to Jan's suggested
68 syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
69 I understand the implementation of repeats well enough.
71 - The paper11/13/26 files have to be updated.
72 . * Grace_slur_engraver.
73 . * (gulp-file-to-str) for LilyPond
74 . * input/star-spangled-banner.ly: fold for lyrics?
75 . * don't create $srcdir/share/
76 . * Break_req handling is silly (break_forbid () + \break fucks up.)
77 . * hangOnClef with non-breakable clefs.
78 . * account for accidentals in spacing.
79 . * collision of lyrics with span_bars. See star-spangled.
80 . * fix partial measures in meaningful way.
81 . * relative mode for midi2ly
83 Crescendi/diminuendi that cross a line break lose their vertical
84 position and all end up above the top staff line, see the
90 \context Staff=s1 \notes\relative c'{
92 g f e d | \break %% If this break is removed, it works fine
94 \context Staff=s2 \notes\relative c'{
100 . * uniformise recent feta contributions.
101 . * bigger and fatter 4/4 C
102 . * sort out directory stuff.
104 . * -I option per filetype?
106 . * ly2dvi/lilypond logfile.
107 . * fractional chord durs.
108 . * hang Item on Spanner
109 . * do --safe for PS output?
110 . * convert-mudela --output
111 . * Staff_margin (with a partial measure.)
112 . * fix convert-mudela manpage
113 . * decimal point in \paper {}
115 . * add new glyphs to font.ly
116 . * formatting of input stuff.
118 . * indent = 0.0 with linewidth=-1.0
119 . * collisions & accidentals.
120 . * music ending in grace notes.
122 . * half notes in pfa
123 . * didot / big point.
124 . * \shape 1st dim skipped?
125 . * turn slope-damping on/off
126 . * We need feta-din*.mf files for more sizes than 10.
127 . * fix dynamics decently, ie. use kerning & ligatures.
128 . * behavior of "that the obvious solution
129 \lyrics { foo1*4 __ _ }" is unintuitive.
130 . * Lyrics and scripts collide.
131 . * filenames : junk lily.x
134 . * \$ and $ identifier syntax in examples.
135 . * Junk ghost positioning objects eg, Script leans on Staffside
139 . * Key_engraver, Local_key_item
140 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
141 . * Y dimension units: staffspace vs. Point
144 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
151 . * [c8. c16 c16 c16] in 6/8 timesig.
154 > {\voiceone c''4. r8}
159 . * break priority setting from SCM.
161 . * don't shorten stems/staffs closer to each other.
162 . * accidentals closer to note head
163 . * to space the staffs/staffgroups contained in the score.
166 . * tuplets that are written as "number : note", for example
167 "3 : [image of a half note here]". possible?
168 . * a note with a circle after it, meaning:
170 note + circle = note + 1/4 of its length
172 the circle is like a dot that's not filled in. for example, on
173 page three, the c-sharp on the second line should be a quarter with
174 a circle, not a quarter tied to a sixteenth. is this at all
176 . * scm-ify \property values.
177 . * make dependencies () a virtual function.
178 . * Abstraction for engravers:
179 . * make "in-between" engraver (Tie, Extender)
180 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
181 . * store req -> element, element -> element causes for warnings
182 . * compulsory hshift
184 My wish list for lyrics. I dream of a time when I will have enough time to
185 become familiar enough with the source code to be able to implement some of
186 these myself, but I don't know when that will be, so I thought I'd "publish"
187 my suggestions in case someone else is in a position to give them some
188 priority. Otherwise, perhaps they could go on the todo list?
190 If any of these are already implemented, please let me what the syntax is to
193 1. Stanza numbering. Numbering at the beginning of a song with the number
194 set to the left of the first note. It would also be nice (but not as
195 important) to be able to have some form of automatic numbering at the
196 beginning of each new line. This would make it easier to follow songs with a
197 large number of stanzas.
199 3. Notes centred above/below lyrics rather than left-aligned.
201 4. It would be very nice to be able to build some kind of phrasing into the
202 lyrics of hymns, etc, so that the first words of a phrase are left aligned
203 with each other, the last words are right aligned, and the words in between
206 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
207 able to vertically align the chorus midway between the staves.
209 6. It would be nice to be able to put vertical brackets either side of a
210 repeated section with different words for each repeat.
212 . * Give # lines in linebreaking.
214 . * rewrite context defs using Scheme
215 . * \selectmusic to cut pieces from music.
216 . * TODO: merge atom & molecule; make tree from molecule.
217 . * Align_element::padding ?
218 . * typo checks on property names?
219 . * use streambufs and iostream
220 to provide IO handling for TeX stream, mudela stream, data-file.
221 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
222 . * strip EXEs before installing
223 . * zip target for binary windows dist (JBR)
224 . * junking \skip req in lyrics
225 . * midi2ly empty staffs.
226 . * use Fourier transformation for rhythmic quantisation.
227 . * horizontal centering of dynamics
228 . * $DEPENDENCIES_OUTPUT support
229 . * fix vertical alignment and stafflines
230 . * declaring Performers
231 . * *.yo: fix pod manpage layout legacy
232 . * text-items clash with stems/beams
233 . * --include, -I option for ly2dvi (pass on to lily)
234 . * fix placement of beam-less abbrev
236 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
237 {\voicetwo cis,4 r r | r2. | r1 }> |
239 . * Musical_pitch (analogous to Duration and Rhythmic_req)
240 think about, analogous to pitch:
241 * { a4 a16 } c <-- duration of c?
242 * < a4 b8 > c <-- duration of c?
244 . * make sure all ex's have a mudela-version
245 . * do rest-collisions for Multi_measure_rests as well.
246 . * split error/warning in error/warning/non_fatal_error
247 . * add a Duration_convert member to Duration_iter to set parameters.
248 Junk global duration settings.
249 . * en-,discouraged linebreaking:
250 . * handle DISALLOW < penalty > FORCE
251 . * discourage breaking of slurs
252 . * fix variable define/lookup parser global<->paper
253 . * fix title/instrument placements; see input/test/title.ly
254 . * <\voiceone c4. \voicetwo c4>
255 . * add full cello suites to web site (kom op, Maarten!)
256 . * add mudela-book-doc source to webstie.
257 . * Rethink Time_description
258 \cadenza , \meter, should all be \properties
259 . * fix singleStaffBracket
261 . * abbreviation-beam -> (measured/unmeasured) tremolo
262 . * partial -> anacrouse
263 . * move paper vars into engraver properties
264 . * check for groff / troff/ nroff et
265 . * more intelligent file searching
266 . * disable spaces in TeX stuff
267 . * handle ^C for tmp/file creation.
268 . * make LilyPond RPM fully relocatable
269 . * better hshift (dots, distance, head dependent)
270 . * clefs (AG): The "8" should appear closer to the actual clef,
272 . * put errorlevel in Input class
273 . * junk nesting slurs
274 . * distinguish between unset and empty properties.
277 . * the bracket is ugly (wings are too parabolic, should be more circular)
278 . * versioning for Feta
279 . * rewrite dynamic signs. They're kind of spaghetti now.
280 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
282 . * design macro for penstroke with rounded endings
283 . * timesig C: fat yet less curved. Check out relations.
284 . * design decent macro for bulbed endings
285 . * printer dependencies.
288 . * work out sizes of character fonts.
290 . * piano pedals: Ped/*
292 . * coda signs: Segno, O+
293 . * glissando, arpeggio
295 . * include important spacing dims in fetalog
296 . * scalability: use blot_diameter everywhere, make font chubbier for
300 . * UMR: Uninitialized memory read
301 This is occurring while in:
304 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
305 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
306 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
307 do_one_file(String,String) [scores.cc:124]
308 Reading 4 bytes from 0xefffeca8 on the stack.
309 Address 0xefffeca8 is 728 bytes below frame pointer in function
310 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
311 . * patch: don't touch timestamp if all patches fail.
312 . * mf-to-table -> add space before ; in AFM output. (-> check AFM
313 spec. Is this a bug in afm2tfm?)
314 . * check out GCC signatures?
316 f = fopen ("/dev/null", "r")
319 . * tetex: mfplain.mem
320 . * timesig: sometimes bottom digit too high: Xdvi doesn't handle
321 newly created fonts correctly.
325 . * stack scripts in chords:
326 % fingering: footing:
327 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
329 . * slur parts as a script
330 . * stack parameterised scripts for fingering and footing:
333 . * automatically add a \version if not present.
336 . * convert-mudela -e empty.ly
338 . * emacs mudela-mode
339 . * should handle block comments too.
340 . * handle lexer modes (\header, \melodic, \lyric) etc.
343 . * fontlock: \melodic \melodic
345 . * use properties for:
351 . * optimal pagebreaking.
353 . * internationalisation for input.
354 . * Unicode support? -> man 7 unicode
355 . * (The explanation below is mostly intended for Han-Wen and Jan)
356 > Before, the font was changed with macros declared separately for
357 > pure TeX and LaTeX, but now all the fonts are declared directly in
358 > the generated code using the low-level TeX commands. This circumvents
359 > the fontencoding mechanism of LaTeX and is a potential source of
360 > problems also for us users of the Latin-1 character set.
361 > I think it still works since the inputencoding latin1 is
362 > declared by ly2dvi, but it still means that e.g. an o with
363 > umlaut is typeset as a combination of the two symbols 'o' and
364 > 'umlaut' instead of as a single character, as would be the case
365 > if fontencoding OT1 had been used. This shouldn't give any
366 > difference in layout, though. One of the main argument for using
367 > fontencoding OT1 is for the hyphenation mechanism to work, an
368 > argument that's clearly irrelevant in our application. Yet we
369 > see the problem for August.
372 . * output header info to MIDI too.
374 . * a musical dictionary. See Documentation/vocabulary-*, other
384 . * guitar chords (fret diagrams)
385 . * other chord name styles (american(?) style)
390 . * derive lily_stream, Dstream, texstream from ostream?
391 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
392 . * use dstream feature in midi2ly
393 . * integrate IO checking into stream class
400 . * add to MIDI output:
401 . * sharp / flat on trills (in MIDI ??)
402 . * ornaments (and trills?)
406 > Would it be hard to add support for proper dynamics in MIDI output? I
407 > would really like to have this feature...
409 Concretely spoken, for dynamics you have to write a performer
410 (Dynamics_performer), that will take the input requests. If I
411 understand correctly, every MIDI note played must have its dynamic
412 strength set separately. That means the the Dynamics_performer must
413 set the strength of every Audio_note it finds. This means that one
414 has to modify existing Audio items. The best way of doing this is
415 with a broadcast/acknowledge process.
417 So the best way of handling this, is
419 1 supporting dynamic settings in Audio_note
421 2 Write a Dynamics_performer that will modify
422 any notes it finds to set appropriate strengths.
424 I'd say that the work involved is not hard, but you have to be fluent
425 with C++ and need some insight into the working of Notation Contexts
426 and friends. I guess I could do it in a day or so, but if you are not
427 so fluent with the inner workings of LilyPond, it could take you some
428 more time (A few more days?).
430 Please note, that I am *not* going to code this myself: my days are
431 valuable, and I think I have more interesting things to do than fixing
432 the MIDI output (I don't even have a soundcard). But I *do* want to help
433 you or other people with implementing this, so if you need help, don't
435 . * account for rhythmic position in measure
439 . * Output class, handles : (smallish)
440 . * help text /(c) notice?
442 . * warning /errors/progress
443 . * abort on error/warning; exit status
444 . * quiet/ignore-version options
448 . * speed up PS code.
449 . * PS lines to .eps files
450 . * write custom prolog
455 . * remove links to non-free SW.
456 . * internal documentation
459 . * left/rightbeamcount
460 . * various other new properties.
465 . * Doc (C) stuff of sheet music
466 . * a better format? SGML? TeX? Info?
467 . * a better tutorial
469 . * more spanners (smallish)
473 . * Rewrite Stem, Beam (hairy)
474 . * general shaving on Beam and Stem
475 . * use plet grouping
479 . * Ledger lines, should be separate item: Ledger_lines
480 . * set different line sizes / thicknesses
481 . * beam stem showthrough, inter beam sizes (french vs german style)
484 . * left/right note balls should be handled by Collision:
485 < \multi 2; { \stem 1; <b c> } { <f as b> } >
488 . * merge key{item} & localkey{item}?
489 . * spacing, national styles?
492 . * redo Notehead to allow digits as heads
493 . * add a \tablature {} lexer mode for easy entering
495 . * should adjust stemlength for flag number.
498 . * caching breakpoints
500 . * specify number of lines
503 . * convention for slurs vs. phrasing marks.
507 . * \bla {} vs \bla ;
508 . * mix engraver hacking with music ?
509 . * \once\property KEY = VAL
511 . * abstract grammar.
512 . * Figure out semicolons.
523 . * configure pitch_byte
524 . * rest name configurable
529 . * fix confusing naming in Engraver vs Engraver_group_engraver (context)
531 . * A range for context errors (eg. mark both { and }. )
533 . * lyric in staff (sharpsharp in staff, text below)
535 . * write Dynamic_line (to group dynamics horizontally)
537 . * use Real for all y positions.
539 . * half-sharps, half-flats
541 . * adaptive accidental spacing.
543 . * handle EOF graciously in error messages.
545 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
549 . * % toe to bheel four to five
555 (where "to" is a tiny bow)
557 . * auxilliary file for caching info.
561 . * Output data structures of Mudela in XML/SGML.
562 . * create libmudela, or liblily_frontend
563 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
564 . * Spacing_request for manually adjusting spacing
565 . * caching breakpoints
566 . * used fixedpoint arithmetic for min. energy.
571 (defvar outline-font-lock-keywords
572 '(;; Highlight headings according to the level.
573 ;; must change this to allout node layout
574 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
575 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
576 (1 font-lock-string-face)
577 (2 (let ((len (- (match-end 1) (match-beginning 1))))
578 (or (cdr (assq len '((1 . font-lock-function-name-face)
579 (2 . font-lock-keyword-face)
580 (3 . font-lock-comment-face))))
581 font-lock-variable-name-face))
583 ;; Highlight citations of the form [1] and [Mar94].
584 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
585 "Additional expressions to highlight in Outline mode.")
587 (add-hook 'outline-mode-hook
589 (setq font-lock-maximum-decoration t)
590 (setq font-lock-maximum-decoration t)
591 (make-local-variable 'font-lock-defaults)
592 (setq font-lock-defaults '(outline-font-lock-keywords t))
593 (font-lock-mode global-font-lock-mode)