lilypond-0.1.26
[lilypond.git] / TODO
blob622775fc4ddbf4c8193e0a813fa11fd257ecd604
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         * LILYSOURCEDIR
11         * spurious "Junk beam" warnings
13         * standchen: warning: Excentric column (Meter dims?)
15         * optimal pagebreaking.
17         * put errorlevel in Input class
19         * AFM for font input?
21         * Make general "spanning"-elements and "placer"-elements
23         - naming Mozarella, Madeira, Muella?
25         - bf: abbrevs over whole note
27         - scoping for properties
29         {       c4
30                 \multi 2  < { \stemup .. } { \stemdown .. } >
31                 c2 
32         }
34         this modifies \stem for the c2
36         * use properties for:
37         - Text_style
38         - default_octave
39         - plet?
40         - default_duration?
41         - default abbreviation
42         - Staff_sym size
43         - default tempo.
44         - font size
45         - bartypes (get rid of derived Span_bar_engravers)
46         - cadenza mode? 
47         - MIDI instrument
48         - staff title
50         * give Items/Spanners access to unbroken originals      
52         * Score_bar/Piano_braces, are *not* ordinary bars 
54 3RD PARTY BUGS:
56         * ICE: spring-spacer::calcideal()
58         * collision.cc: 138, g++ errors
60         * Rational infty(HUGE_VAL) on glibc / w32
62         * Fix profiling. gprof bugreport?
64 PROJECTS
66         * Unicode support?
67         - 16 bit Strings
68         - -u switch
69         - detect of 16/8 bit files
70         - examples to go with it.
72         * Spring_spacer:
73         - write a faster Spring_spacer (without matrices if possible)
74         - use straight QP to find minimal "fitting force"
75         - relate energybound to linelen unitspace fontsize etc.
76         - used fixed point fp
78         * \header
79         - write perl script for handling it into databases
80         - write TeX macros to generate titles
81         - adapt make-website to use \header info.
83         * Makefile stuff:
84         - have make dist produce tarball in out/ directory.
85         - Use Automake
86         - shared lib on Solaris too.
87         - check libtool
88         - generate stuff in out/default, out/sun5-irix etc iso out/ 
89         and out-sun5/
91         * Add mudela-output to Rosegarden.
93         * a musical dictionary. See Documentation/vocabulary-*, other
94 languages:
95         - italian
96         - german
97         - dutch
98         - swedish
99          .. ?
101         * chords
102         - guitar chords
103         - chord names
104         - basso continuo
105         - Syntax/parser
106         - MIDI output?
107         - typesetting
109         * integrate midi-elts from mi2mu and lily?
111         * Debug logs:
112         - derive lily_stream, Dstream, texstream from ostream?
113         - indentable stream as baseclass for TeX stream, lily stream, Dstream.
114         - use dstream feature in mi2mu
115         - integrate IO checking into stream class
117         * input converters
118         - NIFF?
119         - ABC? 
120         - SMDL?
122         * placement of bar-numbers
124 ******************
126         \score { < 
127                 \melodic \type Staff { c'4 g'4 }
128                 \lyric { \id "Lyric" ""; hello4 bye4 < a chord > }
129                 \lyric { \id "Lyric" ""; bye4 hello4 }
130                 \melodic { \id "Staff" ""; c'4 g'4 }
131         > }
133 ******************
135         * add to MIDI output:
136         - tempo change
137         - repeat
138         - slurs
139         - dynamics etc.
141         * grace notes
142         - make separate class for Grace_*_engravers 
143         (which is at Voice_gravs level)
144         - make encapsulated spacing problems.
146         * On-demand loading of simple-engravers?
148         * accidentals per Voice_group
150         * Convert all ref/bib stuff into BibTeX.
152         * Output class, handles : (smallish)
153         - help text /(c) notice?
154         - version line
155         - warning /errors/progress
156         - abort on error/warning; exit status
157         - quiet/ignore-version options
158         - logfile output
160         * piano staff
162         * elaborate Staff_side baseclass:
163         - scripts
164         - text
165         - slur start/end
167         * Output an output format independent (ofi) typeset file; and 
168           make ofi2 TeX, MusixTex, Display PostScript, PostScript,
169           Ascii... interpreters. (difficult)
171         - poor man's ascii output possible?
172         - MusixTeX output possible? (would have to be done before break calc.)
173         - NIFF ?
174         - Common Music Notation
175         - PostScript output (esp. Beams, Slurs, etc)
176         - Move all Score_elems, into libmutype.a
178         * Documentation
179         - Doc Mutopia (Music To The People) 
180         - Doc (C) stuff of sheet music
181         - a tutorial
183         * TeX spanners , use texbeam.cc as an example (smallish)
184         - Glissando
185         - trill
186         - bracket
188         * Rewrite Stem, Beam and Rhythmic_grouping (hairy)
189         - [c8. c32 c32]
190         - doc on Rhythmic_grouping
191         - general shaving on Beam and Stem
192         - use plet grouping
193         - separate visual from rhythmic info even more
194         - beams over bars
196         * Redo fonts
197         - adapt for multiple font sizes.
199         * lines:
200         - Ledger lines, should be separate item: Ledger_lines, Ledger_lines
201         - set different line sizes / thicknesses
202         - stem down too far right
203         - beam stem showthrough, inter beam sizes (french vs german style)
205         * Collisions
206         - left/right note balls should be handled by Collision:
207         < \multi 2; { \stem 1; <b c> } { <f as b> } >
209         * Keys:
210         - merge key{item} & localkey{item}?
211         - do conventional keys (C G A, F B E, a e fis, d as des, etc ), 
212           besides lists of flats/sharps, possibly via declaration
213         - key transposition. 
214         - key undo: \key bes; .. . \key; should print natural   
215         - special key: \key bes 'b bis';
216         - spacing, national styles?
218         * Support for TAB
219         - redo Notehead to allow digits as heads
220         - add a \tablature {} lexer mode for easy entering
222         * should adjust stemlength for flag number.
224         * breaking:
225         - caching breakpoints
226         - saving them
227         - allowing users to set them.
228         - penalties
229         - specify number of lines
230         - set linelength per line
232         * Rhythmic staff.
234         * Baroque superstaff
236 SEVERELY LACKING:
238         * SPEED!
240         * multibar rests
242         * markers
245 INPUTLANGUAGE
247         * c4 4 4 4 for c4 c4 c4 c4?
249         * neatly (and readably) expressing concurrent
250         voices
252         * <c f a>4 ?
254         * Viola mode?
256                 @c c g e g 
257         for
258                 c g es g, 
260                 @A c g e g
261         for
262                 cis gis e gis
264         * relative mode for pitch entering
266         * bracket (bracketplets)
268         * configure pitch_byte
270         * rest name configurable
272         * Raw request syntax
274 SMALLISH PROJECTS
276         * progress when creating MIDI elts.
278         * A range for context errors (eg. mark both { and }. )
280         * lyric in staff  (sharpsharp in staff, text below)
282         * write Dynamic_line (to group dynamics horizontally)
284         * use Real for all y positions.
286         * half-sharps, half-flats
288         * adaptive accidental spacing.
290         * unix style paths for LILYINCLUDE env
292         * handle EOF graciously in error messages.
294         * caching Item/spanner dimensions.
296         * centered whole rest
298         * qtor, btor, mtor-> tor( QUIET_ver ), tor( DEBUG_ver ), etc.
299         - use tors feature in lily (?)
301         * declare notenametab?
303         * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
305         * parshape
307         * Flower types:
308         - A decent scalar type
309         - String hash
310         - Pointer hash
312         * binsearch/hash for identifiers
314         * stafftypes: voice names/ instrument names.
316         * TeX stuff:    
317         - Decent TeX titledefs (\tempo, \metron, etc. )
318         - decent TeX page layout
320         * lily \tempo
322         * C meter iso 4/4, idem for alla breve, etc.
324         * textspanner: center position
326         * Brackets
327         
328         * Scripts:
329         - stack scripts in chords:
330           % fingering:        footing:
331             < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
332         - script-spacing
333         - slur parts as a script
334         - stack parameterised scripts for fingering and footing:
336             % toe to bheel   four to five
337             %   ^_u            4_5  
338             %     -                           
339             %  --|x--         --|x--
340             %  --|---         --|---
341             %  --|---         --|---
342           (where "to" is a tiny bow)
344         * auxilliary file for caching info.
346         * Text_crescendo
348         * clean solution for staffsize in items.
350         * revise calcideal
352         * volta
354 IDEAS
356         * Output abstract data structures associated with
357 Mudela.
359         * create libmudela, or liblily_frontend
361         * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
363         * use an embedded language: Python
364         for: 
365                 - Score_elems
366                 - Engraver
367                 - Translators
368                 - Complex mudela?
370         * y -dims in internote? Staff-space? X-dimensions?
372         * Spacing_request for manually adjusting spacing
374         * caching breakpoints
376         * #c <-> cis
378         * breath marks 
380         * used fixedpoint arithmetic for min. energy.
382         * move towards incremental algorithms.
384         * far fetched language ideas
385         - design meta-language like TeX and Metafont
386         - programming/macros input
388         * Global type registration.
390                 My_class * p = create_object( My_class )
391                 Type t = get_type ( *p );
392                 if ( t <= get_type( q ))
393                         ..
395         * naming of Voice_group/Voice
397         * benchmark band_matrices.
399         * versioning stuff (cvt mudela, mudela, etc.)
401         * a real convert-mudela
403         * dots into separate item.
405         * use String iso Text_def for lyrics.
407         * use position 0 for center of staff iso bottom.
409         * Klavarskribo?
411         * lyrics in chords still fuck up.
413         - rewire acknowledge_element() logic with a process_acknowledged()
415         * pushgroup/popgroup
417         * whole head on ledger line
419         * multi threading?
420           - 1 thread per element/ 1 thread per line
421           - 1 thread per Translator
423         * Use hooks/dependency graphs for properties