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 . * sane strategy for extensions (assume .ly):
13 02:22:24 appel ~/usr/src/lilypond$ lilypond foo
15 [/home/fred/usr/src/lilypond/scm/lily.scm]
16 warning: can't find file: `init'
17 . * indent = 0.0 with linewidth=-1.0
18 . * music ending in grace notes.
21 . * didot / big point.
22 . * check EGCS version
23 . * input/test/stem-spacing.ly: 12/4 touches first note
24 . * \shape 1st dim skipped?
25 . * turn slope-damping on/off
26 . * We need feta-din*.mf files for more sizes than 10.
27 . * fix dynamics decently, ie. use kerning & ligatures.
28 . * dots & rest collisions?
29 . * behavior of "that the obvious solution
30 \lyrics { foo1*4 __ _ }" is unintuitive.
31 . * Lyrics and scripts collide.
32 . * a note with a circle after it, meaning:
34 note + circle = note + 1/4 of its length
36 the circle is like a dot that's not filled in. for example, on
37 page three, the c-sharp on the second line should be a quarter with
38 a circle, not a quarter tied to a sixteenth. is this at all
40 . * grace_align_item -> stackingdir = left, weird placement.
41 . * grace before triplet, see standchen
42 . * tuplets that are written as "number : note", for example
43 "3 : [image of a half note here]". possible?
45 . * filenames : junk lily.x
48 . * don't shorten stems/staffs closer to each other.
49 . * accidentals closer to note head
50 . * to space the staffs/staffgroups contained in the score.
54 . * \$ and $ identifier syntax in examples.
56 . * Key_engraver, Local_key_item
57 . * Think of comprehensive solution for "if (grace_b == self_grace_b_)"
58 . * Y dimension units: staffspace vs. Point
61 . * Rhythmic_column and interaction stem/rhythmic_column/note_head/dots.
68 . * rename midi2ly, abc2ly mup2ly
69 . * Grace_slur_engraver.
70 . * Break_req handling is silly (break_forbid () + \break fucks up.)
71 . * Morally pure LilyPond.
72 . * Remove non-free software links.
73 . * Remove meta article LilyPond.
74 . * break priority setting from SCM.
75 . * hangOnClef with non-breakable clefs.
76 . * Abstraction for engravers:
77 . * make "in-between" engraver (Tie, Extender)
78 . * make wide_spanner_engraver (line_group_spanner, staff_symbol)
79 . * do scaled fonts generally
80 . * make dependencies () a virtual function.
81 . * store req -> element, element -> element causes for warnings
82 . * include examples in RPM.
83 . * fix partial measures in meaningful way.
84 . * relative mode for mi2mu
85 . * uniformise recent feta contributions.
86 . * bigger and fatter 4/4 C
87 . * sort out directory stuff.
89 . * -I option per filetype?
91 . * ly2dvi/lilypond logfile.
92 . * fractional chord durs.
93 . * hang Item on Spanner
94 . * do --safe for PS output?
95 . * convert-mudela --output
96 . * Staff_margin (with a partial measure.)
97 . * fix convert-mudela manpage
98 . * decimal point in \paper {}
99 . * scm-ify \property values.
100 . * move class Lookup {} into scm
102 . * add new glyphs to font.ly
103 . * formatting of input stuff.
105 lbheel = \script { "bheel" 0 0 -1 0 0 }
106 rbheel = \script { "bheel" 0 0 1 0 0 }
107 lbtoe = \script { "btoe" 0 0 -1 0 0 }
108 rbtoe = \script { "btoe" 0 0 1 0 0 }
109 lfheel = \script { "fheel" 0 0 -1 0 0 }
110 rfheel = \script { "fheel" 0 0 1 0 0 }
111 lftoe = \script { "ftoe" 0 0 -1 0 0 }
112 rftoe = \script { "ftoe" 0 0 1 0 0 }
115 . * decide wether to junk _ in lyrics.
118 . * compulsory hshift
120 My wish list for lyrics. I dream of a time when I will have enough time to
121 become familiar enough with the source code to be able to implement some of
122 these myself, but I don't know when that will be, so I thought I'd "publish"
123 my suggestions in case someone else is in a position to give them some
124 priority. Otherwise, perhaps they could go on the todo list?
126 If any of these are already implemented, please let me what the syntax is to
129 1. Stanza numbering. Numbering at the beginning of a song with the number
130 set to the left of the first note. It would also be nice (but not as
131 important) to be able to have some form of automatic numbering at the
132 beginning of each new line. This would make it easier to follow songs with a
133 large number of stanzas.
135 2. Hyphens between syllables. At the moment there appears to be no easy way
136 to position a hyphen mid-way between the syllables it breaks.
138 3. Notes centred above/below lyrics rather than left-aligned.
140 4. It would be very nice to be able to build some kind of phrasing into the
141 lyrics of hymns, etc, so that the first words of a phrase are left aligned
142 with each other, the last words are right aligned, and the words in between
145 5. In a song, with (say) four stanzas and a chorus, it would be nice to be
146 able to vertically align the chorus midway between the staves.
148 6. It would be nice to be able to put vertical brackets either side of a
149 repeated section with different words for each repeat.
151 . * Give # lines in linebreaking.
153 . * rewrite context defs using Scheme
154 . * \selectmusic to cut pieces from music.
155 . * TODO: merge atom & molecule; make tree from molecule.
156 . * Align_element::padding ?
157 . * typo checks on property names?
158 . * use streambufs and iostream
159 to provide IO handling for TeX stream, mudela stream, data-file.
160 . * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
161 . * strip EXEs before installing
162 . * zip target for binary windows dist (JBR)
163 . * junking \skip req in lyrics
164 . * mi2mu empty staffs.
165 . * use Fourier transformation for rhythmic quantisation.
166 . * horizontal centering of dynamics
167 . * $DEPENDENCIES_OUTPUT support
168 . * fix vertical alignment and stafflines
169 . * declaring Performers
170 . * *.yo: fix pod manpage layout legacy
171 . * text-items clash with stems/beams
172 . * --include, -I option for ly2dvi (pass on to lily)
173 . * fix placement of beam-less abbrev
175 <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
176 {\voicetwo cis,4 r r | r2. | r1 }> |
178 . * Musical_pitch (analogous to Duration and Rhythmic_req)
179 think about, analogous to pitch:
180 * { a4 a16 } c <-- duration of c?
181 * < a4 b8 > c <-- duration of c?
183 . * make sure all ex's have a mudela-version
184 . * do rest-collisions for Multi_measure_rests as well.
185 . * split error/warning in error/warning/non_fatal_error
186 . * add a Duration_convert member to Duration_iter to set parameters.
187 Junk global duration settings.
188 . * en-,discouraged linebreaking:
189 . * handle DISALLOW < penalty > FORCE
190 . * discourage breaking of slurs
191 . * fix variable define/lookup parser global<->paper
192 . * fix title/instrument placements; see input/test/title.ly
193 . * <\voiceone c4. \voicetwo c4>
194 . * add full cello suites to web site (kom op, Maarten!)
195 . * add mudela-book-doc source to webstie.
196 . * Rethink Time_description
197 \cadenza , \meter, should all be \properties
198 . * fix singleStaffBracket
201 . * abbreviation-beam -> (measured/unmeasured) tremolo
202 . * partial -> anacrouse
203 . * robustify Beam (in case of no stems, 32nd notes)
204 . * move paper vars into engraver properties
205 . * check for groff / troff/ nroff et
206 . * more intelligent file searching
207 . * disable spaces in TeX stuff
208 . * handle ^C for tmp/file creation.
209 . * make LilyPond RPM fully relocatable
210 . * dots & rest collisions.
211 . * the warning about the negative slur/tie length appears twice
213 . * better hshift (dots, distance, head dependent)
214 . * clefs (AG): The "8" should appear closer to the actual clef,
216 . * put errorlevel in Input class
217 . * junk nesting slurs
218 . * distinguish between unset and empty properties.
221 . * the bracket is ugly (wings are too parabolic, should be more circular)
222 . * versioning for Feta
223 . * rewrite dynamic signs. They're kind of spaghetti now.
224 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
226 . * design macro for penstroke with rounded endings
227 . * timesig C: fat yet less curved. Check out relations.
228 . * design decent macro for bulbed endings
229 . * printer dependencies.
232 . * work out sizes of character fonts.
234 . * piano pedals: Ped/*
236 . * coda signs: Segno, O+
237 . * glissando, arpeggio
239 . * include important spacing dims in fetalog
240 . * scalability: use blot_diameter everywhere, make font chubbier for
244 . * UMR: Uninitialized memory read
245 This is occurring while in:
248 Keyword_table::Keyword_table(Keyword_ent*) [keyword.cc:28]
249 My_lily_lexer::My_lily_lexer() [my-lily-lexer.cc:78]
250 My_lily_parser::parse_file(String,String) [my-lily-parser.cc:54]
251 do_one_file(String,String) [scores.cc:124]
252 Reading 4 bytes from 0xefffeca8 on the stack.
253 Address 0xefffeca8 is 728 bytes below frame pointer in function
254 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
255 . * patch: don't touch timestamp if all patches fail.
256 . * mf-to-table -> add space before ; in AFM output. (-> check AFM
257 spec. Is this a bug in afm2tfm?)
258 . * check out GCC signatures?
260 f = fopen ("/dev/null", "r")
263 . * tetex: mfplain.mem
264 . * timesig: sometimes bottom digit too high: Xdvi doesn't handle
265 newly created fonts correctly.
266 .* 3RD PARTY PROJECTS:
267 . * make GCC warn about ctor that leaves member vars uninitialised.
269 . * 'double-fix' mode: ignore identical fix, rather than suggest
270 to revert patch direction when (more or less? exactly) the same
274 . * stack scripts in chords:
275 % fingering: footing:
276 < a-4 c-2 g-1 > < c-\ltoe e-\lheel >
278 . * slur parts as a script
279 . * stack parameterised scripts for fingering and footing:
282 . * automatically add a \version if not present.
285 . * convert-mudela -e empty.ly
287 . * emacs mudela-mode
288 . * should handle block comments too.
289 . * handle lexer modes (\header, \melodic, \lyric) etc.
292 . * fontlock: \melodic \melodic
294 . * use properties for:
300 . * optimal pagebreaking.
302 . * internationalisation for input.
303 . * Unicode support? -> man 7 unicode
304 . * (The explanation below is mostly intended for Han-Wen and Jan)
305 > Before, the font was changed with macros declared separately for
306 > pure TeX and LaTeX, but now all the fonts are declared directly in
307 > the generated code using the low-level TeX commands. This circumvents
308 > the fontencoding mechanism of LaTeX and is a potential source of
309 > problems also for us users of the Latin-1 character set.
310 > I think it still works since the inputencoding latin1 is
311 > declared by ly2dvi, but it still means that e.g. an o with
312 > umlaut is typeset as a combination of the two symbols 'o' and
313 > 'umlaut' instead of as a single character, as would be the case
314 > if fontencoding OT1 had been used. This shouldn't give any
315 > difference in layout, though. One of the main argument for using
316 > fontencoding OT1 is for the hyphenation mechanism to work, an
317 > argument that's clearly irrelevant in our application. Yet we
318 > see the problem for August.
321 . * output header info to MIDI too.
323 . * a musical dictionary. See Documentation/vocabulary-*, other
333 . * guitar chords (fret diagrams)
334 . * other chord name styles (american(?) style)
339 . * derive lily_stream, Dstream, texstream from ostream?
340 . * indentable stream as baseclass for TeX stream, lily stream, Dstream.
341 . * use dstream feature in mi2mu
342 . * integrate IO checking into stream class
349 . * add to MIDI output:
350 . * sharp / flat on trills (in MIDI ??)
352 . * ornaments (and trills?)
356 > Would it be hard to add support for proper dynamics in MIDI output? I
357 > would really like to have this feature...
359 Concretely spoken, for dynamics you have to write a performer
360 (Dynamics_performer), that will take the input requests. If I
361 understand correctly, every MIDI note played must have its dynamic
362 strength set separately. That means the the Dynamics_performer must
363 set the strength of every Audio_note it finds. This means that one
364 has to modify existing Audio items. The best way of doing this is
365 with a broadcast/acknowledge process.
367 So the best way of handling this, is
369 1 supporting dynamic settings in Audio_note
371 2 Write a Dynamics_performer that will modify
372 any notes it finds to set appropriate strengths.
374 I'd say that the work involved is not hard, but you have to be fluent
375 with C++ and need some insight into the working of Notation Contexts
376 and friends. I guess I could do it in a day or so, but if you are not
377 so fluent with the inner workings of LilyPond, it could take you some
378 more time (A few more days?).
380 Please note, that I am *not* going to code this myself: my days are
381 valuable, and I think I have more interesting things to do than fixing
382 the MIDI output (I don't even have a soundcard). But I *do* want to help
383 you or other people with implementing this, so if you need help, don't
385 . * account for rhythmic position in measure
389 . * Output class, handles : (smallish)
390 . * help text /(c) notice?
392 . * warning /errors/progress
393 . * abort on error/warning; exit status
394 . * quiet/ignore-version options
398 . * speed up PS code.
399 . * PS lines to .eps files
400 . * write custom prolog
405 . * remove links to non-free SW.
406 . * internal documentation
409 . * left/rightbeamcount
410 . * various other new properties.
415 . * Doc (C) stuff of sheet music
416 . * a better format? SGML? TeX? Info?
417 . * a better tutorial
419 . * more spanners (smallish)
423 . * Rewrite Stem, Beam (hairy)
424 . * general shaving on Beam and Stem
425 . * use plet grouping
429 . * Ledger lines, should be separate item: Ledger_lines
430 . * set different line sizes / thicknesses
431 . * beam stem showthrough, inter beam sizes (french vs german style)
434 . * left/right note balls should be handled by Collision:
435 < \multi 2; { \stem 1; <b c> } { <f as b> } >
438 . * merge key{item} & localkey{item}?
439 . * spacing, national styles?
442 . * redo Notehead to allow digits as heads
443 . * add a \tablature {} lexer mode for easy entering
445 . * should adjust stemlength for flag number.
448 . * caching breakpoints
450 . * specify number of lines
453 . * convention for slurs vs. phrasing marks.
457 . * \bla {} vs \bla ;
458 . * mix engraver hacking with music ?
459 . * \once\property KEY = VAL
461 . * abstract grammar.
462 . * Figure out semicolons.
463 . * c4 4 4 4 for c4 c4 c4 c4?
474 . * configure pitch_byte
475 . * rest name configurable
480 . * fix confusing naming in Engraver vs Engraver_group_engraver (context)
482 . * A range for context errors (eg. mark both { and }. )
484 . * lyric in staff (sharpsharp in staff, text below)
486 . * write Dynamic_line (to group dynamics horizontally)
488 . * use Real for all y positions.
490 . * half-sharps, half-flats
492 . * adaptive accidental spacing.
494 . * handle EOF graciously in error messages.
496 . * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
500 . * % toe to bheel four to five
506 (where "to" is a tiny bow)
508 . * auxilliary file for caching info.
512 . * Output data structures of Mudela in XML/SGML.
513 . * create libmudela, or liblily_frontend
514 . * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
515 . * Spacing_request for manually adjusting spacing
516 . * caching breakpoints
517 . * used fixedpoint arithmetic for min. energy.
522 (defvar outline-font-lock-keywords
523 '(;; Highlight headings according to the level.
524 ;; must change this to allout node layout
525 ;;("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$"
526 ("^\\([.]*[ ]*[*]\\)[ \t]*\\(.*\\)$"
527 (1 font-lock-string-face)
528 (2 (let ((len (- (match-end 1) (match-beginning 1))))
529 (or (cdr (assq len '((1 . font-lock-function-name-face)
530 (2 . font-lock-keyword-face)
531 (3 . font-lock-comment-face))))
532 font-lock-variable-name-face))
534 ;; Highlight citations of the form [1] and [Mar94].
535 ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
536 "Additional expressions to highlight in Outline mode.")
538 (add-hook 'outline-mode-hook
540 (setq font-lock-maximum-decoration t)
541 (setq font-lock-maximum-decoration t)
542 (make-local-variable 'font-lock-defaults)
543 (setq font-lock-defaults '(outline-font-lock-keywords t))
544 (font-lock-mode global-font-lock-mode)