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 lily
14 . * rename files to class-name:
19 . * standardise(d) switches: -v, --version; -d, --debug,
20 . * Peter 1. Key signatures are no longer transposed with the rest
24 \notes\transpose bes {\key D; d1 }
25 should produce no key signature (key C)
27 2. Crescendos and other dynamic markings that start inside a
28 \grace { } section are ignored.
30 \notes \relative c' { fis4 r4 \grace { [g16 ( \< a16] }
33 3. Slurs that end within a grace section but start outside
34 are treated strangely.
35 a2 d,4 ( \grace { [e16 ) d16]} cis8 d
38 4. Lyrics and grace sections don't go too well together.
39 The words are aligned with the main note, not the start of the
40 grace note. This is usually wrong, but is sometimes right.
43 . * Auto_beam debugging output (waarom/wanneer heb jij die weggehaald?)
44 . * Rename illegal to invalid
47 - The Postscript output is still very experimental
49 - The reference manual contain a number of exampels that don't
50 pass lilypond, among other the chord syntax.
52 - Accidentals for grace notes are drawn at the wrong place. See
55 - It is impossible to typeset two textual scripts that are stacked
56 on top of eachother and avoids note collisions and at the same
57 time are typeset with different textStyle. I tried to move around
58 the text_engraver and other engravers between Voice and Thread
59 but the granularity is not fine enough, the scripts have to
60 share the same engraver in order to be get correct vertical
61 position but than they cannot have different style.
62 In my opinion, all scripts that share the same staff, should
63 be stacked vertically, avoiding collisions with the notes
66 - If an \alternative is directly followed by a new \repeat,
67 Lily gives an assertion failure. See the comment in volta.fly
69 - I'd like to change the \repetitions command to Jan's suggested
70 syntax: \repeat "repeatsymbol" 2 {...}, but I'm not sure that
71 I understand the implementation of repeats well enough.
73 - The paper11/13/26 files have to be updated.
74 . * Grace_slur_engraver.
75 . * input/star-spangled-banner.ly: fold for lyrics?
76 . * Break_req handling is silly (break_forbid () + \break fucks up.)
77 . * hangOnClef with non-breakable clefs.
78 . * do scaled fonts generally
79 . * fix partial measures in meaningful way.
82 - The two spacing bugs in the choral-1.ly I sent you earlier, small
83 GIFs attached for easy reference: #1: time meter and first note on the
84 line are too close; #2: last note on the line and next bar are too
87 - And I haven't got any feedback on this one, posted last week:
94 \context Voice = one { \stemdown c1 c4 }
95 \context Voice = two { \stemup d1 d4 }
100 Notes are shifted as expected. Now check out:
103 \notes \relative c' {
105 \context Voice = one { \stemdown c1 <a4 c4> }
106 \context Voice = two { \stemup d1 d4 }
113 - \context Voice = one { \stemdown c1 c4 }
114 + \context Voice = one { \stemdown c1 <a4 c4> }
116 Now the chord collides with the note of the other voice!
118 . * relative mode for midi2ly
120 Crescendi/diminuendi that cross a line break lose their vertical
121 position and all end up above the top staff line, see the
126 \context StaffGroup <
127 \context Staff=s1 \notes\relative c'{
129 g f e d | \break %% If this break is removed, it works fine
131 \context Staff=s2 \notes\relative c'{
137 . * uniformise recent feta contributions.
138 . * bigger and fatter 4/4 C
139 . * sort out directory stuff.
141 . * -I option per filetype?
143 . * ly2dvi/lilypond logfile.
144 . * fractional chord durs.
145 . * hang Item on Spanner
146 . * do --safe for PS output?
147 . * convert-mudela --output
148 . * Staff_margin (with a partial measure.)
149 . * fix convert-mudela manpage
150 . * decimal point in \paper {}
152 . * add new glyphs to font.ly
153 . * formatting of input stuff.
155 . * decide wether to junk _ in lyrics.
156 . * sane strategy for extensions (assume .ly):
157 02:22:24 appel ~/usr/src/lilypond$ lilypond foo
159 [/home/fred/usr/src/lilypond/scm/lily.scm]
160 warning: can't find file: `init'
161 . * indent = 0.0 with linewidth=-1.0
162 . * collisions & accidentals.
163 . * auto-beaming in input/test/spacing.ly.
164 huh, snap niks van: gewone beam gaat wel goed. hoe kan abe nu
165 invloed hebben op beam-creatie, stopt toch gewoon stokken in?
166 . * music ending in grace notes.
168 . * half notes in pfa
169 . * didot / big point.
170 . * \shape 1st dim skipped?
171 . * turn slope-damping on/off
172 . * We need feta-din*.mf files for more sizes than 10.
173 . * fix dynamics decently, ie. use kerning & ligatures.
174 . * behavior of "that the obvious solution
175 \lyrics { foo1*4 __ _ }" is unintuitive.
176 . * Lyrics and scripts collide.
177 . * grace_align_item -> stackingdir = left, weird placement.
178 . * filenames : junk lily.x
181 . * \$ and $ identifier syntax in examples.
183 . * Key_engraver, Local_key_item
184 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
185 . * Y dimension units: staffspace vs. Point
188 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
194 . * [c8. c16 c16 c16] in 6/8 timesig.
197 . * break priority setting from SCM.
199 . * don't shorten stems/staffs closer to each other.
200 . * accidentals closer to note head
201 . * to space the staffs/staffgroups contained in the score.
204 . * tuplets that are written as "number : note", for example
205 "3 : [image of a half note here]". possible?
206 . * a note with a circle after it, meaning:
208 note + circle = note + 1/4 of its length
210 the circle is like a dot that's not filled in. for example, on
211 page three, the c-sharp on the second line should be a quarter with
212 a circle, not a quarter tied to a sixteenth. is this at all
214 . * scm-ify \property values.
215 . * make dependencies () a virtual function.
216 . * Abstraction for engravers:
217 . * make "in-between" engraver (Tie, Extender)
218 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
219 . * store req -> element, element -> element causes for warnings
220 . * compulsory hshift
221 . * dots & rest collisions?
223 My wish list for lyrics. I dream of a time when I will have enough time to
224 become familiar enough with the source code to be able to implement some of
225 these myself, but I don't know when that will be, so I thought I'd "publish"
226 my suggestions in case someone else is in a position to give them some
227 priority. Otherwise, perhaps they could go on the todo list?
229 If any of these are already implemented, please let me what the syntax is to
232 1. Stanza numbering. Numbering at the beginning of a song with the number
233 set to the left of the first note. It would also be nice (but not as
234 important) to be able to have some form of automatic numbering at the
235 beginning of each new line. This would make it easier to follow songs with a
236 large number of stanzas.
238 3. Notes centred above/below lyrics rather than left-aligned.
240 4. It would be very nice to be able to build some kind of phrasing into the
241 lyrics of hymns, etc, so that the first words of a phrase are left aligned
242 with each other, the last words are right aligned, and the words in between
245 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
246 able to vertically align the chorus midway between the staves.
248 6. It would be nice to be able to put vertical brackets either side of a
249 repeated section with different words for each repeat.
251 . * Give # lines in linebreaking.
253 . * rewrite context defs using Scheme
254 . * \selectmusic to cut pieces from music.
255 . * TODO: merge atom & molecule; make tree from molecule.
256 . * Align_element::padding ?
257 . * typo checks on property names?
258 . * use streambufs and iostream
259 to provide IO handling for TeX stream, mudela stream, data-file.
260 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
261 . * strip EXEs before installing
262 . * zip target for binary windows dist (JBR)
263 . * junking \skip req in lyrics
264 . * midi2ly empty staffs.
265 . * use Fourier transformation for rhythmic quantisation.
266 . * horizontal centering of dynamics
267 . * $DEPENDENCIES_OUTPUT support
268 . * fix vertical alignment and stafflines
269 . * declaring Performers
270 . * *.yo: fix pod manpage layout legacy
271 . * text-items clash with stems/beams
272 . * --include, -I option for ly2dvi (pass on to lily)
273 . * fix placement of beam-less abbrev
275 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
276 {\voicetwo cis,4 r r | r2. | r1 }> |
278 . * Musical_pitch (analogous to Duration and Rhythmic_req)
279 think about, analogous to pitch:
280 * { a4 a16 } c <-- duration of c?
281 * < a4 b8 > c <-- duration of c?
283 . * make sure all ex's have a mudela-version
284 . * do rest-collisions for Multi_measure_rests as well.
285 . * split error/warning in error/warning/non_fatal_error
286 . * add a Duration_convert member to Duration_iter to set parameters.
287 Junk global duration settings.
288 . * en-,discouraged linebreaking:
289 . * handle DISALLOW < penalty > FORCE
290 . * discourage breaking of slurs
291 . * fix variable define/lookup parser global<->paper
292 . * fix title/instrument placements; see input/test/title.ly
293 . * <\voiceone c4. \voicetwo c4>
294 . * add full cello suites to web site (kom op, Maarten!)
295 . * add mudela-book-doc source to webstie.
296 . * Rethink Time_description
297 \cadenza , \meter, should all be \properties
298 . * fix singleStaffBracket
301 . * abbreviation-beam -> (measured/unmeasured) tremolo
302 . * partial -> anacrouse
303 . * robustify Beam (in case of no stems, 32nd notes)
304 . * move paper vars into engraver properties
305 . * check for groff / troff/ nroff et
306 . * more intelligent file searching
307 . * disable spaces in TeX stuff
308 . * handle ^C for tmp/file creation.
309 . * make LilyPond RPM fully relocatable
310 . * dots & rest collisions.
311 . * the warning about the negative slur/tie length appears twice
313 . * better hshift (dots, distance, head dependent)
314 . * clefs (AG): The "8" should appear closer to the actual clef,
316 . * put errorlevel in Input class
317 . * junk nesting slurs
318 . * distinguish between unset and empty properties.
321 . * the bracket is ugly (wings are too parabolic, should be more circular)
322 . * versioning for Feta
323 . * rewrite dynamic signs. They're kind of spaghetti now.
324 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
326 . * design macro for penstroke with rounded endings
327 . * timesig C: fat yet less curved. Check out relations.
328 . * design decent macro for bulbed endings
329 . * printer dependencies.
332 . * work out sizes of character fonts.
334 . * piano pedals: Ped/*
336 . * coda signs: Segno, O+
337 . * glissando, arpeggio
339 . * include important spacing dims in fetalog
340 . * scalability: use blot_diameter everywhere, make font chubbier for
344 . * UMR: Uninitialized memory read
345 This is occurring while in:
348 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
349 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
350 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
351 do_one_file(String,String) [scores.cc:124]
352 Reading 4 bytes from 0xefffeca8 on the stack.
353 Address 0xefffeca8 is 728 bytes below frame pointer in function
354 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
355 . * patch: don't touch timestamp if all patches fail.
356 . * mf-to-table -> add space before ; in AFM output. (-> check AFM
357 spec. Is this a bug in afm2tfm?)
358 . * check out GCC signatures?
360 f = fopen ("/dev/null", "r")
363 . * tetex: mfplain.mem
364 . * timesig: sometimes bottom digit too high: Xdvi doesn't handle
365 newly created fonts correctly.
369 . * stack scripts in chords:
370 % fingering: footing:
371 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
373 . * slur parts as a script
374 . * stack parameterised scripts for fingering and footing:
377 . * automatically add a \version if not present.
380 . * convert-mudela -e empty.ly
382 . * emacs mudela-mode
383 . * should handle block comments too.
384 . * handle lexer modes (\header, \melodic, \lyric) etc.
387 . * fontlock: \melodic \melodic
389 . * use properties for:
395 . * optimal pagebreaking.
397 . * internationalisation for input.
398 . * Unicode support? -> man 7 unicode
399 . * (The explanation below is mostly intended for Han-Wen and Jan)
400 > Before, the font was changed with macros declared separately for
401 > pure TeX and LaTeX, but now all the fonts are declared directly in
402 > the generated code using the low-level TeX commands. This circumvents
403 > the fontencoding mechanism of LaTeX and is a potential source of
404 > problems also for us users of the Latin-1 character set.
405 > I think it still works since the inputencoding latin1 is
406 > declared by ly2dvi, but it still means that e.g. an o with
407 > umlaut is typeset as a combination of the two symbols 'o' and
408 > 'umlaut' instead of as a single character, as would be the case
409 > if fontencoding OT1 had been used. This shouldn't give any
410 > difference in layout, though. One of the main argument for using
411 > fontencoding OT1 is for the hyphenation mechanism to work, an
412 > argument that's clearly irrelevant in our application. Yet we
413 > see the problem for August.
416 . * output header info to MIDI too.
418 . * a musical dictionary. See Documentation/vocabulary-*, other
428 . * guitar chords (fret diagrams)
429 . * other chord name styles (american(?) style)
434 . * derive lily_stream, Dstream, texstream from ostream?
435 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
436 . * use dstream feature in midi2ly
437 . * integrate IO checking into stream class
444 . * add to MIDI output:
445 . * sharp / flat on trills (in MIDI ??)
447 . * ornaments (and trills?)
451 > Would it be hard to add support for proper dynamics in MIDI output? I
452 > would really like to have this feature...
454 Concretely spoken, for dynamics you have to write a performer
455 (Dynamics_performer), that will take the input requests. If I
456 understand correctly, every MIDI note played must have its dynamic
457 strength set separately. That means the the Dynamics_performer must
458 set the strength of every Audio_note it finds. This means that one
459 has to modify existing Audio items. The best way of doing this is
460 with a broadcast/acknowledge process.
462 So the best way of handling this, is
464 1 supporting dynamic settings in Audio_note
466 2 Write a Dynamics_performer that will modify
467 any notes it finds to set appropriate strengths.
469 I'd say that the work involved is not hard, but you have to be fluent
470 with C++ and need some insight into the working of Notation Contexts
471 and friends. I guess I could do it in a day or so, but if you are not
472 so fluent with the inner workings of LilyPond, it could take you some
473 more time (A few more days?).
475 Please note, that I am *not* going to code this myself: my days are
476 valuable, and I think I have more interesting things to do than fixing
477 the MIDI output (I don't even have a soundcard). But I *do* want to help
478 you or other people with implementing this, so if you need help, don't
480 . * account for rhythmic position in measure
484 . * Output class, handles : (smallish)
485 . * help text /(c) notice?
487 . * warning /errors/progress
488 . * abort on error/warning; exit status
489 . * quiet/ignore-version options
493 . * speed up PS code.
494 . * PS lines to .eps files
495 . * write custom prolog
500 . * remove links to non-free SW.
501 . * internal documentation
504 . * left/rightbeamcount
505 . * various other new properties.
510 . * Doc (C) stuff of sheet music
511 . * a better format? SGML? TeX? Info?
512 . * a better tutorial
514 . * more spanners (smallish)
518 . * Rewrite Stem, Beam (hairy)
519 . * general shaving on Beam and Stem
520 . * use plet grouping
524 . * Ledger lines, should be separate item: Ledger_lines
525 . * set different line sizes / thicknesses
526 . * beam stem showthrough, inter beam sizes (french vs german style)
529 . * left/right note balls should be handled by Collision:
530 < \multi 2; { \stem 1; <b c> } { <f as b> } >
533 . * merge key{item} & localkey{item}?
534 . * spacing, national styles?
537 . * redo Notehead to allow digits as heads
538 . * add a \tablature {} lexer mode for easy entering
540 . * should adjust stemlength for flag number.
543 . * caching breakpoints
545 . * specify number of lines
548 . * convention for slurs vs. phrasing marks.
552 . * \bla {} vs \bla ;
553 . * mix engraver hacking with music ?
554 . * \once\property KEY = VAL
556 . * abstract grammar.
557 . * Figure out semicolons.
568 . * configure pitch_byte
569 . * rest name configurable
574 . * fix confusing naming in Engraver vs Engraver_group_engraver (context)
576 . * A range for context errors (eg. mark both { and }. )
578 . * lyric in staff (sharpsharp in staff, text below)
580 . * write Dynamic_line (to group dynamics horizontally)
582 . * use Real for all y positions.
584 . * half-sharps, half-flats
586 . * adaptive accidental spacing.
588 . * handle EOF graciously in error messages.
590 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
594 . * % toe to bheel four to five
600 (where "to" is a tiny bow)
602 . * auxilliary file for caching info.
606 . * Output data structures of Mudela in XML/SGML.
607 . * create libmudela, or liblily_frontend
608 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
609 . * Spacing_request for manually adjusting spacing
610 . * caching breakpoints
611 . * used fixedpoint arithmetic for min. energy.
616 (defvar outline-font-lock-keywords
617 '(;; Highlight headings according to the level.
618 ;; must change this to allout node layout
619 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
620 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
621 (1 font-lock-string-face)
622 (2 (let ((len (- (match-end 1) (match-beginning 1))))
623 (or (cdr (assq len '((1 . font-lock-function-name-face)
624 (2 . font-lock-keyword-face)
625 (3 . font-lock-comment-face))))
626 font-lock-variable-name-face))
628 ;; Highlight citations of the form [1] and [Mar94].
629 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
630 "Additional expressions to highlight in Outline mode.")
632 (add-hook 'outline-mode-hook
634 (setq font-lock-maximum-decoration t)
635 (setq font-lock-maximum-decoration t)
636 (make-local-variable 'font-lock-defaults)
637 (setq font-lock-defaults '(outline-font-lock-keywords t))
638 (font-lock-mode global-font-lock-mode)
645 + - slur de-hairification
646 + * slurs always attached to noteheads, by default
647 + * corrections for steep and high slurs
648 + * snap to stem end when close
649 + - bow/tie/slur dy/dx fix