Delete events whithout altering start times (leaving hole)?

Tobias Kunze t@ulysses.Stanford.EDU
Mon, 3 Nov 1997 17:39:45 -0800


why not change it into a rest?

 | Stella [Top-Level]: (thread foo ()
 | 		      (doitems (n (notes c4 d e f g))
 | 			(object midi-note note n rhythm 1)))
 | #<THREAD: Foo>
 | Stella [Top-Level]: tlist foo 0
 | Foo
 |     0.00    1. #<MIDI-NOTE | C4|     1|     1| 64| 0|>
 |     1.00    2. #<MIDI-NOTE | D4|     1|     1| 64| 0|>
 |     2.00    3. #<MIDI-NOTE | E4|     1|     1| 64| 0|>
 |     3.00    4. #<MIDI-NOTE | F4|     1|     1| 64| 0|>
 |     4.00    5. #<MIDI-NOTE | G4|     1|     1| 64| 0|>
 | Stella [Top-Level]: change foo[3] rest
 | Stella [Top-Level]: tlist foo 0
 | Foo
 |     0.00    1. #<MIDI-NOTE | C4|     1|     1| 64| 0|>
 |     1.00    2. #<MIDI-NOTE | D4|     1|     1| 64| 0|>
 |     2.00    3. #<REST 1#x10dad782>
 |     3.00    4. #<MIDI-NOTE | F4|     1|     1| 64| 0|>
 |     4.00    5. #<MIDI-NOTE | G4|     1|     1| 64| 0|>
 | Stella [Top-Level]:


 | Any help would be greatly appreciated. For me, this is the single worst
 | aspect of CM/Stella (using relative instead of absolute time). Other than
 | that, it's great :-)

absolute time is appropriate at times if you are dealing with chunks of
static data as sequencers do, but try writing a modest non-trivial algorithm
using absolute times...