lilypond-0.1.14
[lilypond.git] / TODO
blobac8a74e7d6c0ce1ae0ded41556921645f5a9e2f2
1 Features you cannot find in the doco as working, should be mentioned here.
2         
3 This is an assorted collection of stuff that will be done, might be
4 done, or is an idea that I want to think about
6 Most of the items are marked in the code as well, with full explanation. 
7 grep for TODO and ugh/ugr
9         * use properties for:
10         - Text_style
11         - default_octave
12         - plet?
13         - default_duration?
14         - default abbreviation
15         - Staff_sym size
16         - default tempo.
17         - font size
18         - bartypes (get rid of derived Span_bar_engravers)
19         - cadenza mode? 
20         - MIDI instrument
21         - staff title
22         
23         * check out egcs
24         
25         * give Items/Spanners access to unbroken originals      
27 3RD PARTY BUGS:
29         * ICE: spring-spacer::calcideal()
31         * collision.cc: 138, g++ errors
33         * Rational infty(HUGE_VAL) on glibc / w32
35         * Fix profiling. gprof bugreport?
37         * read from mmap directly: bugreport to flex developers->
38         yy_scan_buffer in C++..
40         * (where are the) gcc compile warnings on linux
42 PROJECTS
44         * Spring_spacer:
45         - write a faster Spring_spacer ( without matrices if possible )
46         - relate energybound to linelen unitspace fontsize etc.
47         - used fixed point fp
49         * \header
50         - revise lexer mode
51         - write perl script for handling it into databases
53         * emacs-mode for mudela
55         * Makefile stuff:
56         - have make dist produce tarball in out/ directory.
57         - Use Automake
58         - shared lib on Solaris too.
59         - check libtool
60         - generate stuff in out/default, out/sun5-irix etc iso out/ 
61         and out-sun5/
63         * Add mudela-output to Rosegarden.
65         * a musical dictionary. See Documentation/vocabulary-*, other
66 languages:
67         - italian
68         - german
69         - dutch
70         - swedish
71          .. ?
73         * chords
74         - guitar chords
75         - chord names
76         - basso continuo
77         - Syntax/parser
78         - MIDI output?
79         - typesetting
81         * integrate midi-elts from mi2mu and lily?
83         * Debug logs:
84         - derive lily_stream, Dstream, texstream from ostream?
85         - indentable stream as baseclass for TeX stream, lily stream, Dstream.
86         - use dstream feature in mi2mu
88         * input converters
89         - NIFF?
90         - ABC? 
91         - SMDL?
93         * robustification
94         - check write errors
95         - check read errors
96         
98         * placement of bar-numbers
100 ******************
102         \score { < 
103                 \melodic { \id "Staff" ""; c'4 g'4 }
104                 \lyric {   \id "Lyric" ""; hello4 bye4 < a chord > }
105                 \lyric {   \id "Lyric" ""; bye4 hello4 }
106                 \melodic { \id "Staff" ""; c'4 g'4 }
107         > }
109 ******************
111         * add to MIDI output:
112         - tempo change
113         - repeat
114         - slurs
115         - dynamics etc.
117         * grace notes
118         - make separate class for Grace_*_engravers 
119         (which is at Voice_gravs level)
120         - make encapsulated spacing problems.
122         * On-demand loading of simple-engravers
124         * accidentals per Voice_group
126         * Convert all ref/bib stuff into BibTeX.
128         * Output class, handles : (smallish)
129         - help text /(c) notice?
130         - version line
131         - warning /errors/progress
132         - abort on error/warning; exit status
133         - quiet/ignore-version options
134         - logfile output
136         * piano staff
138         * elaborate Staff_side baseclass:
139         - scripts
140         - text
141         - slur start/end
143         * Output an output format independent (ofi) typeset file; and 
144           make ofi2 TeX, MusixTex, Display PostScript, PostScript,
145           Ascii... interpreters. (difficult)
147         - poor man's ascii output possible?
148         - MusixTeX output possible? (would have to be done before break calc.)
149         - NIFF ?
150         - Common Music Notation
151         - PostScript output (esp. Beams, Slurs, etc)
152         - Move all Score_elems, into libmutype.a
155         * Documentation
156         - Doc Mutopia (Music To The People) 
157         - Doc (C) stuff of sheet music
158         - a tutorial
160         * TeX spanners , use texbeam.cc as an example (smallish)
161         - Glissando
162         - trill
163         - bracket
165         * Rewrite Stem, Beam and Rhythmic_grouping (hairy)
166         - [c8. c32 c32]
167         - doc on Rhythmic_grouping
168         - general shaving on Beam and Stem
169         - use plet grouping
170         - separate visual from rhythmic info even more
171         - beams over bars
173         * Redo fonts
174         - adapt for multiple font sizes.
175         - hack up mf sources for decent spacing info (and then 
176         read AFM/TFM directly, for text too)
178         * Font support:
179         - mixed fontsizes
181         * lines:
182         - Ledger lines, should be separate item: Ledger_lines, Ledger_lines
183         - set different line sizes / thicknesses
184         - stem down too far right
185         - beam stem showthrough, inter beam sizes (french vs german style)
187         * Collisions
188         - left/right note balls should be handled by Collision:
189         < \multi 2; { \stem 1; <b c> } { <f as b> } >
191         * Keys:
192         - merge key{item} & localkey{item}?
193         - do conventional keys (C G A, F B E, a e fis, d as des, etc ), 
194           besides lists of flats/sharps, possibly via declaration
195         - key transposition. 
196         - key undo: \key bes; .. . \key; should print natural   
197         - special key: \key bes 'b bis';
198         - spacing, national styles?
200         * Support for TAB
201         - redo Notehead to allow digits as heads
202         - add a \tablature {} lexer mode for easy entering
204         * should adjust stemlength for flag number.
206         * breaking:
207         - caching breakpoints
208         - saving them
209         - allowing users to set them.
210         - penalties
211         - specify number of lines
212         - set linelength per line
214         * Rhythmic staff.
216         * Baroque superstaff
218 SEVERELY LACKING:
220         * SPEED!
222         * multibar rests
224         * markers
227 INPUTLANGUAGE
229         * c4 4 4 4 for c4 c4 c4 c4?
231         * neatly (and readably) expressing concurrent
232         voices
234         * <c f a>4 ?
236         * Viola mode?
238                 @c c g e g 
239         for
240                 c g es g, 
242                 @A c g e g
243         for
244                 cis gis e gis
246         * relative mode for pitch entering
248         * bracket (bracketplets)
250         * configure pitch_byte
252         * rest name configurable
254         * Raw request syntax
256 SMALLISH PROJECTS
258         * progress when creating MIDI elts.
260         * A range for context errors (eg. mark both { and }. )
262         * merge Atom and Symbol
264         * lyric in staff  (sharpsharp in staff, text below)
266         * write Dynamic_line (to group dynamics horizontally)
268         * use Real for all y positions.
270         * half-sharps, half-flats
272         * adaptive accidental spacing.
274         * unix style paths for LILYINCLUDE env
276         * handle EOF graciously in error messages.
278         * caching Item/spanner dimensions.
280         * centered whole rest
282         * qtor, btor, mtor-> tor( QUIET_ver ), tor( DEBUG_ver ), etc.
283         - use tors feature in lily (?)
285         * declare notenametab?
287         * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
289         * parshape
291         * Flower types:
292         - A decent scalar type
293         - String hash
294         - Pointer hash
296         * binsearch/hash for identifiers
298         * stafftypes: voice names/ instrument names.
300         * TeX stuff:    
301         - Decent TeX titledefs (\tempo, \metron, etc. )
302         - decent TeX page layout
304         * lily \tempo
306         * C meter iso 4/4, idem for alla breve, etc.
308         * textspanner: center position
310         * Brackets
311         
312         * Scripts:
313         - stack scripts in chords:
314           % fingering:        footing:
315             < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
316         - script-spacing
317         - slur parts as a script
318         - stack parameterised scripts for fingering and footing:
320             % toe to bheel   four to five
321             %   ^_u            4_5  
322             %     -                           
323             %  --|x--         --|x--
324             %  --|---         --|---
325             %  --|---         --|---
326           (where "to" is a tiny bow)
328         * auxilliary file for caching info.
330         * Text_crescendo
332         * clean solution for staffsize in items.
334         * revise calcideal
336         * volta
338 IDEAS
340         * scoping in Lexer: do general id- assignments in mudela.
342         ID '=' EXPR;
344         * create libmudela, or liblily_frontend
346         * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
348         * use an embedded language: Python
349         for: 
350                 - Score_elems
351                 - Engraver
352                 - Translators
353                 - Complex mudela?
355         * y -dims in internote? Staff-space? X-dimensions?
357         * Spacing_request for manually adjusting spacing
359         * caching breakpoints
361         * #c <-> cis
363         * breath marks 
365         * used fixedpoint arithmetic for min. energy.
367         * move towards incremental algorithms.
369         * far fetched language ideas
370         - design meta-language like TeX and Metafont
371         - programming/macros input
373         * Global type registration.
375                 My_class * p = create_object( My_class )
376                 Type t = get_type ( *p );
377                 if ( t <= get_type( q ))
378                         ..
380         * naming of Voice_group/Voice
382         * benchmark band_matrices.
384         * versioning stuff (cvt mudela, mudela, etc.)
386         * a real convert-mudela
388         * dots into separate item.
390         * use String iso Text_def for lyrics.
392         * use position 0 for center of staff iso bottom.
394         * Klavarskribo?
396         * lyrics in chords still fuck up.
398         *
399         - rewire acknowledge_element() logic with a process_acknowledged()
401         * pushgroup/popgroup
403         * whole head on ledger line
405         * multi threading?
406           - 1 thread per element/ 1 thread per line
407           - 1 thread per Translator