Added SONG_EV_SS_PRINT_WAVE_TEMPO case to MIDI song converting to
[ahxm.git] / TODO
blob9697e56bf6d9a8988becce10d43ce13caef82664
1 Ann Hell Ex Machina TODO / Bug List
2 ===================================
4 Release Critical Bugs
5 ---------------------
7  * 1052: Add quantizations.
8  * 1079: Move midiin.c functionality to main.c.
9  * 1086: MIDI output is still done to stdout (file descriptor 2).
10  * 1055: Add signal control to cleanly close the devices.
11  * 1084: Add a 'copy' directive that uses ss_ins_copy_layers() to copy
12    the loaded instruments from one track into another.
13  * 1088: The 'wav' command doesn't bang when a sound can't be loaded.
15 Open Bugs
16 ---------
18  * 1045: Line numbers in compiler errors are incorrectly reported when
19    inserting a block at the end of the line; when the block is inserted,
20    the linefeed has already been read and yyline incremented. This probably
21    occurs also with other directives.
22  * 1046: When a compilation error occurs inside a named block, the reported
23    line number is the one where the insertion occurs, not the one where the
24    block is defined.
25  * 1070: Portamento support is still uncertain.
26  * 1022: Add file name to compiler errors.
27  * 1087: When skipping time, MIDI should still write program changes
28    (and probably other messages) to the output device; that is, only
29    notes and time sleeping should be skipped.
31 Pending Enhancements
32 --------------------
34  * 1003: There should exist 'some kind' of effect for note volumes
35    to add a random variation, to add 'humanity'. This cannot
36    be a standard digital effect as it should be different
37    for each note.
38  * 1005: Vibrato should be variable (from 'no-vibrato' to 'some-vibrato'
39    in the same note).
40  * 1006: A 'choose' option, to take randomly one block or another
41    (blocks seem appropriate, but further study is necessary). A random
42    seed script command is also necessary.
43  * 1007: Support for 'tonalities'; fixed transpositions for each note of
44    the octave so that, for example, a 'f' is always a 'f#'.
45  * 1010: Loop stretching ('stretch wave without pitch change to last
46    exactly N time units').
47  * 1020: When a source file includes multiple songs, there should exist a
48    way to mark song / track changes. This should be used to include text
49    messages as ID3 tags or even to generate .cue / .toc files.
50  * 1042: Add multiple MIDI devices; a configuration file will match device
51    numbers to real addresses in /dev. Then each track in the song file could
52    have a command to set which MIDI device will the events be sent to.
53  * 1043: The same as the multiple MIDI devices, there should exist multiple
54    dsp devices. This way, a unique computer with more than one sound card
55    can output multichannel songs at a time.
56  * 1074: Add configuration file support.
57  * 1056: Note printing in midiin.c should also print chords.
59 Closed
60 ------
62  * 1000: Convert current event queue to two event queues. The first
63    stage queue should store notes and the second note on / note off
64    events (Tue, 17 Aug 2004 12:00:00 +0200).
65  * 1004: Vibrato for generators (Fri, 13 Aug 2004 11:05:00 +0200).
66  * 1009: Set tempo from a sample loop ('set tempo so that this wave
67    will match exactly one/N measures') (Fri, 16 Aug 2004 18:08:00 +0200).
68  * 1013: Volume should be a command ('v', for example) and not be
69    inherited from previous notes. There should also be settable as
70    relative inc/decrements (as octaves) (Mon, 30 Aug 2004 14:37:59 +0200).
71  * 1014: doc/language.txt is severely outdated
72    (Mon, 30 Aug 2004 15:13:00 +0200)
73  * 1015: Upgrade build system (new config.sh, makefile.in, etc.).
74    (Thu, 09 Sep 2004 18:56:29 +0200).
75  * 1016: Integrate the new compiler (Sun, 12 Sep 2004 16:13:11 +0200).
76  * 1001: Generator should use queues of active / free generators.
77    (Sun, 17 Oct 2004 12:50:10 +0200).
78  * 1012: Portamento should not have a 'time', only a frequency
79    inc/decrement per time unit (Sun, 17 Oct 2004 13:18:04 +0200).
80  * 1018: The 'default' driver should not be bound to the first usable
81    one, but be a sequential try of all available drivers
82    (Thu, 11 Nov 2004 12:18:12 +0100).
83  * 1019: Add libartsc support (Thu, 11 Nov 2004 12:30:02 +0100).
84  * 1023: The SS_FRAMES lex/yacc token should be SS_MSECS, that is,
85    the compiler should not use frames but milliseconds
86    (Tue, 19 Apr 2005 20:05:46 +0200).
87  * 1024: The 'event1' and 'event2' stuff is ugly. It should be called,
88    respectively, 'note stream' (as it's, more or less, device independent)
89    and 'ss stream', which depends of softsynth, frames and such. In the
90    future, there could exist a 'midi stream' if MIDI output is supported
91    (Closed by #1025; Wed, 20 Apr 2005 17:30:31 +0200).
92  * 1033: SONG_EV_SS_NOTE won't work, because freq can't be calculated
93    on compilation time; instead, it should be a generic message
94    (Sat, 23 Apr 2005 10:52:35 +0200).
95  * 1026: Get rid of event.c and event.h (Sat, 23 Apr 2005 12:28:47 +0200).
96  * 1027: Get rid of effect.c and effect.h (Sat, 23 Apr 2005 12:28:51 +0200).
97  * 1031: Add lex/yacc code for processing absolute notes (A1, C#4, F&3)
98    (Sat, 23 Apr 2005 16:14:21 +0200).
99  * 1036: Unify song event types; ss_song should use the same event types
100    (Sun, 24 Apr 2005 10:29:22 +0200).
101  * 1035: The number of compiled tracks should be available somewhere
102    (Sun, 24 Apr 2005 10:35:19 +0200).
103  * 1037: ss_ins_frame() is flawed; as it directly mixes into frame[],
104    each intrument's ss effects affect the previous ones
105    (Mon, 25 Apr 2005 16:42:28 +0200).
106  * 1025: 'event1' has been moved to song.c (generic song event stream)
107    and 'event2' has been moved to ss_song.c (softsynth song event stream),
108    but due to almost all of ss_song.c being private, there is no way to
109    order the instruments and the effects to do anything until a way of
110    storing them is decided. So, project state is really critical now as
111    nothing works (last working version was 'cvs update -D 20050419').
112    (Mon, 25 Apr 2005 18:16:48 +0200).
113  * 1039: Volumes can't be set as integer numbers (0 and 1 should be valid)
114    (Mon, 25 Apr 2005 18:26:06 +0200).
115  * 1038: Comments can't be written inside extended commands
116    (Mon, 25 Apr 2005 18:31:55 +0200).
117  * 1021: Add line number to compiler errors (Mon, 25 Apr 2005 19:11:01 +0200).
118  * 1028: input.c should be ss_input.c (Wed, 27 Apr 2005 08:08:49 +0200).
119  * 1029: output.c should be ss_output.c (Wed, 27 Apr 2005 16:59:34 +0200).
120  * 1044: Line numbers in compiler errors don't work if the error is inside
121    a block or after inserting one
122    (Closed by #1045; Sun, 08 May 2005 10:22:43 +0200).
123  * 1047: Change generators to use just one volume and not a channel map
124    (Mon, 09 May 2005 16:24:13 +0200).
125  * 1049: Since the closing of #1047, the channel map in ss_ins is
126    completely broken (Tue, 10 May 2005 18:27:28 +0200).
127  * 1050: New ss_ins is flawed; volumes are never used
128    (Tue, 10 May 2005 18:41:30 +0200).
129  * 1041: Get rid of CHANNELS and always use dynamic structures or buffers
130    (Tue, 10 May 2005 19:40:52 +0200).
131  * 1048: ss_wave must be dynamic (Thu, 12 May 2005 19:23:13 +0200).
132  * 1032: Refactorize input, ss_gen and ss_ins to always use pointers to
133    struct ss_wave instead of copies of them (Thu, 12 May 2005 19:31:44 +0200).
134  * 1053: Create a tool that will read from a MIDI keyboard and print
135    the played keys on stdout (Closed by #1054;
136    Mon, 23 May 2005 17:04:54 +0200).
137  * 1054: Modify midiin.c to print currently played notes to stdout
138    (Mon, 23 May 2005 19:10:45 +0200).
139  * 1057: The Arts driver hangs forever (Sat, 28 May 2005 13:42:36 +0200).
140  * 1058: The new ss_outdev model seem to have problems with pipe buffer
141    sizes, at least with the OSS driver. Regardless of the number of bytes,
142    data is only read in 256 byte chunks (Sun, 29 May 2005 10:35:27 +0200).
143  * 1030: Refactorize the output system to always use a forked process
144    (Closed by #1062; Sun, 29 May 2005 10:44:39 +0200).
145  * 1061: Process the SONG_EV_SS_NOTE_ON_BY_TIME message, probably by
146    unifying it with the SONG_EV_NOTE_ON (Mon, 30 May 2005 17:22:21 +0200).
147  * 1011: Loop matching ('change wave pitch to last exactly N time units')
148    (Renamed as 'pitch_stretch'; Mon, 30 May 2005 17:23:17 +0200).
149  * 1062: The forked process for sound writing works, but it has proven
150    worse in slow systems. A redesign must be done to also allow direct
151    writing to ports (Closed by #1063; Mon, 30 May 2005 18:14:44 +0200).
152  * 1059: Add channel maps to language (Mon, 30 May 2005 18:50:38 +0200).
153  * 1040: Get rid of all _ prefixed symbols (Mon, 30 May 2005 19:12:19 +0200).
154  * 1064: Document or fix the 'feature' of pitch_stretch that, if the chosen
155    wave can't handle the final frequency (due to min/max boundaries), it can
156    end up not sounding at all (Tue, 31 May 2005 07:41:50 +0200).
157  * 1063: Now that I've tested it with good hardware, the new ss_outdev
158    driver is useless as is due to horrible latency. So, it must be rewritten
159    to do direct writing to devices (Wed, 01 Jun 2005 16:20:01 +0200).
160  * 1051: Unify all header files into annhell.h
161    (Thu, 02 Jun 2005 08:32:31 +0200).
162  * 1065: Create a document about the extended commands
163    (Closed by #1067; Thu, 02 Jun 2005 08:34:28 +0200).
164  * 1008: Support for 'keyboard splits': ranges of notes that a track will
165    ignore. This should allow to have multiple tracks playing the same
166    notes but with different channel maps and, for example, having a
167    guitar glissando pan from left to right
168    (No longer needed, a pan glissando can be done by using plain channel
169    volumes, as they are now immediately applied;
170    Thu, 02 Jun 2005 08:44:45 +0200).
171  * 1068: Add vibrato to ss instruments (Thu, 02 Jun 2005 13:28:39 +0200).
172  * 1069: Add vibrato to language (Thu, 02 Jun 2005 17:28:41 +0200).
173  * 1072: The instrument in midiin should also be an AHXM script
174    (Fri, 03 Jun 2005 19:08:15 +0200).
175  * 1073: The measure boundary checks should include line numbers
176    (Mon, 06 Jun 2005 16:29:28 +0200).
177  * 1066: All code that open files should use a special version of fopen()
178    that searches in a path of directories (Mon, 06 Jun 2005 17:52:44 +0200).
179  * 1017: mp_doccer documentation is severely outdated
180    (Tue, 07 Jun 2005 13:46:36 +0200).
181  * 1077: Delete all stdout crap (Sat, 11 Jun 2005 20:27:43 +0200).
182  * 1078: After a measure change, all measure bar checks break
183    (Sat, 11 Jun 2005 21:03:24 +0200).
184  * 1075: Unify everything inside the same executable (closed by #1079;
185    Sun, 12 Jun 2005 18:34:35 +0200).
186  * 1076: Make the unified executable to accept all options as command
187    line arguments (Sun, 12 Jun 2005 18:34:40 +0200).
188  * 1080: Take last group part into account when calculating its length
189    (Wed, 15 Jun 2005 16:31:30 +0200).
190  * 1081: The end of song is incorrectly detected. It can be reproduced by
191    having a very long note that ends longer after the last inserted event
192    (Thu, 16 Jun 2005 13:42:10 +0200).
193  * 1082: Wave loading should be cached, to optimize the loading of the
194    same sound from different tracks (Closed by #1084;
195    Thu, 16 Jun 2005 14:04:06 +0200).
196  * 1083: When a named block is referenced at the end of a line inside
197    another block, a syntax error is generated (Thu, 16 Jun 2005 18:32:54 +0200).
198  * 1071: Add the posibility to start a song from a given measure or time
199    (Sun, 19 Jun 2005 10:56:11 +0200).
200  * 1085: Add skip_secs capability to MIDI output
201    (Sun, 19 Jun 2005 12:48:51 +0200).
202  * 1002: Build an audio filtering tool to test effects
203    (Discarded; Tue, 21 Jun 2005 16:12:42 +0200).
204  * 1034: tempo_from_wave() will never work; when the wave is loaded, it's
205    too late for the tempo to be set, as the ss_song stream has no tempo
206    information. The only solution is to just print the optimal tempo, for
207    the ahxm programmer to change it manually (Closed by 1060;
208    Tue, 21 Jun 2005 16:13:09 +0200).
209  * 1067: Fill the extended commands document (Tue, 21 Jun 2005 17:19:28 +0200).
210  * 1060: Add print_wave_tempo to language (Thu, 23 Jun 2005 08:22:06 +0200).
212 Email bugs to angel@triptico.com