summaryrefslogtreecommitdiff
path: root/TODO
blob: 66701d0090398ebf82fa8eb77cdd429aa4055f8e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
Features you cannot find in the doco as working, should be mentioned here.
	
This is an assorted collection of stuff that will be done, might be
done, or is an idea that I want to think about

Most of the items are marked in the code as well, with full explanation. 
grep for TODO and ugh/ugr
	* Generate TeX titles from MudelaHeader

	* integrate midi-elts from mi2mu and lily

	* virtualise PCols to make encapsulated spacing problems

	* fix spacing: standchen: distance bar-note, 
 	  strange stretching and compressing of 8's
 
	* Doc Mutopia (Music To The People) 

	* context in spring-spacer.

	* don't count bars which are not on first beat.

	* generate stuff in out/default, out/sun5-irix etc iso out/ 
	and out-sun5/

	* derive lily_stream, Dstream, texstream from ostream?

	* check libtool, automake

	* have make dist produce tarball in out/ directory.

	* write a faster Spring_spacer ( without matrices if possible )

	* A decent scalar type

	* relate energybound to linelen unitspace fontsize etc.

	* naming of Voice_group/Voice

	* benchmark band_matrices.

	* versioning stuff (cvt mudela, mudela, etc.)

	* get rid of gif files.

	* dots into separate item.

	* use String iso Text_def for lyrics.

	* use position 0 for center of staff iso bottom.

	* Klavarskribo?

	* return status on exit

	* lyrics in chords still fuck up.

	* rewire acknowledge_element() logic with a process_acknowledged()
	
	* Global type registration.

		My_class * p = create_object( My_class )
		Type t = get_type ( *p );
		if ( t <= get_type( q ))
			..

	* progress when creating MIDI elts.

	* pushgroup/popgroup

	* whole head on ledger line

	* piano staff

	* update 20 pt table

	* decent TeX page layout

	* a tutorial

3RD PARTY BUGS:

	* collision.cc: 138, g++ errors

	* bugreport to doc++ devel: struct not in class hier; public
	virtual baseclasses

	* DOC++ bugs/newer version?

	* Rational infty(HUGE_VAL) on glibc / w32

	* Fix profiling. gprof bugreport?

	* read from mmap directly: bugreport to flex developers->
	yy_scan_buffer in C++..

	* (where are the) gcc compile warnings on linux

LILY BUGS

	\score { < 
		\melodic { \id "Staff" ""; c'4 g'4 }
		\lyric {   \id "Lyric" ""; hello4 bye4 < a chord > }
		\lyric {   \id "Lyric" ""; bye4 hello4 }
		\melodic { \id "Staff" ""; c'4 g'4 }
	> }

PROJECTS

	* emacs-mode for mudela

	* input converters
	- NIFF?
	- ABC? 
	- SMDL?

	* add to MIDI output:
	- tempo change
	- repeat
	- slurs
	- dynamics etc.

	* grace notes
	- adapt for multiple font sizes.
	- make separate class for Grace_*_engravers 
	(which is at Voice_gravs level)
	- move stem, beam, slur into baseclass to adapt for (fixed
	size) grace notes.

	* accidentals per Voice_group

	* Convert all ref/bib stuff into BibTeX.

	* Output class, handles : (smallish)
	- help text /(c) notice?
	- version line
	- warning /errors/progress
	- abort on error/warning; exit status
	- quiet/ignore-version options
	- logfile output

	* elaborate Staff_side baseclass:
	- scripts
	- text
	- slur start/end

	* Output an output format independent (ofi) typeset file; and 
	  make ofi2 TeX, MusixTex, PostScript, Ascii... interpreters. (difficult)
	- poor man's ascii output possible?
	- MusixTeX output possible? (would have to be done before break calc.)
	- NIFF ?
	- Common Music Notation
	- PostScript output (esp. Beams, Slurs, etc)
	- Move PScore, Items, Spanners etc. into libmutype.a

	* separate Score_elem settings in user-settable (properties
	.. ) and non-user-settable part. Maybe use something like X-resources:
	"Staff=oboe*dir: 0", "Staff=*.Voice_group=solo*dir: 1"

	* TeX spanners , use texbeam.cc as an example (smallish)
	- Glissando
	- trill
	- bracket

	* Rewrite Stem, Beam and Rhythmic_grouping (hairy)
	- [c8. c32 c32]
 	- interbeam height
	- doc on Rhythmic_grouping
	- general shaving on Beam and Stem
	- use plet grouping
	- abbreviations [c2 c2]1/2
	- separate visual from rhythmic info even more
	- beams over bars


	* Redo font support 
	- rename mf fonts to avoid conflicts with musixtex
	- use own fonts/update musixtex fonts/find older (c)-less fonts
	- hack up mf sources for decent spacing info (and then 
	read AFM/TFM directly, for text too)
	- use MF to generate rules.
	- rewrite : make a metafont iso font

	* lines:
	- Ledger lines, should be separate item: Ledger_lines, Ledger_lines
	- set different line sizes / thicknesses
	- stem down too far right
	- beam stem showthrough, inter beam sizes (french vs german style)

	* Collisions
	- bring Collision::do_pre_processing to haircutter
	- left/right note balls should be handled by Collision:
	< \multi 2; { \stem 1; <b c> } { <f as b> } >

	* Keys:
	- merge key{item} & localkey{item}?
	- do conventional keys (C G A, F B E, a e fis, d as des, etc ), 
	  besides lists of flats/sharps, possibly via declaration
	- key transposition. 
	- key undo: \key bes; .. . \key; should print natural	
	- special key: \key bes 'b bis';
	- spacing, national styles?

	* Support for TAB
	- redo Notehead to allow digits as heads
	- add a \tablature {} lexer mode for easy entering


	* should adjust stemlength for flag number.

	* breaking:
	- caching breakpoints
	- saving them
	- allowing users to set them.
	- penalties
	- specify number of lines
	- set linelength per line

SEVERELY LACKING:

	* SPEED!

	* multibar rests

	* barnumbers, markers

	* abbreviations c4=16

INPUTLANGUAGE

	* c4 4 4 4 for c4 c4 c4 c4?

	* neatly (and readably) expressing concurrent
	voices

	* <c f a>4 ?

	* should have \require{package.ly} to read req'd packages.

	* Viola mode?

		@c c g e g 
	for
		c g es g, 

		@A c g e g
	for
		cis gis e gis

	* relative mode for pitch entering

	* bracket (bracketplets)

	* \duration 8; e*2/3

	* configure pitch_byte

	* figured bass?

	* rest name configurable

	* Raw request syntax

PROJECTS

	* Do RTTI i.s.o. static_name(), name() and request-junk.

SMALLISH PROJECTS

	* A range for context errors (eg. mark both { and }. )

	* lyric in staff  (sharpsharp in staff, text below)

	* fix Egler definitions ( see tex/eglerdefs.tex )

	* replace Score_elem member access by get()/set() methods, to enable
	future embedded code.

	* --fast/--draft: leave out constraints

	* write Dynamic_line (to group dynamics horizontally)

	* write Rest_collision

	* use Real for y positions.

	* shared lib on Solaris too.

	* cleanup lily-proto.hh and proto.hh

	* half-sharps, half-flats

	* adaptive accidental spacing.

	* unix style paths for LILYINCLUDE env

	* indentable stream as baseclass for TeX stream, lily stream, Dstream.

	* handle EOF graciously in error messages.

	* caching Item/spanner dimensions.

	* centered whole rest

	* use dstream feature in mi2mu

        * qtor, btor, mtor-> tor( QUIET_ver ), tor( DEBUG_ver ), etc.
	- use tors feature in lily (?)

	* declare symtab

	* declare notenametab?

	* midi esp.: use I32 iso int where 32 bits are needed (or assumed...)

	* parshape

	* binsearch/hash for identifiers

	* stafftypes: voice names/ instrument names.

	* Decent TeX titledefs (\tempo, \metron, etc. )

	* lily \tempo

	* C meter iso 4/4, idem for alla breve, etc.

	* textspanner: center position

	* script-spacing

	* Brackets
	
	* use (char *) iso. String for communication between lexer and
	parser.

	* configure idealspacing: arithmetic spacing

DOC
	* Score_elem structure.

	* all errors
	
	* config of TeX macros

	* a test suite

	* hacking-HOWTO

FUTURE

	* auxilliary file for caching info.

	* Reg_configure_request

	* slur parts as a script
	
	* mixed fontsizes

	* put scripts on bars

	* guitar chord

	* Text_crescendo

	* clean solution for staffsize in items.

	* revise calcideal

	* volta

IDEAS

	* derive PCol from Score_elem? More in Score_elems? Spacing?

	* scoping in Lexer: do general id- assignments in mudela.

	ID '=' EXPR;

	* create libmudela, or liblily_frontend

	* move MIDI stuff (including Quantization) to a ANSI C libmidi library.

	* use an embedded language: Python
	for: 
		- Score_elems
		- Engraver
		- Translators
		- Complex mudela?

	* y -dims in internote? Staff-space? X-dimensions?

	* merge Atom and Symbol?

	* merge common code of Item, Atom/Molecule

	* Spacing_request for manually adjusting spacing

	* caching breakpoints

	* #c <-> cis

	* breath marks 

	* used fixedpoint arithmetic for min. energy.

	* default convert mudela-file.ly -> mudela-file.tex
	  - rename {standchen,scsii-menuetto,...}.tex

	* stack scripts in chords:
	  % fingering:        footing:
	    < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >

	* stackparameterised scripts for fingering and footing:

            % toe to bheel   four to five
	    %   ^_u            4_5  
	    %     -                           
	    %  --|x--         --|x--
	    %  --|---         --|---
	    %  --|---         --|---
          (where "to" is a tiny bow)

	* move towards incremental algorithms.

	* design meta-language like TeX and Metafont