From 4de9340c311527de508fcbab74e32dd55fe73273 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Sat, 11 Dec 2010 20:43:27 +0000 Subject: Fixed bug in record where running status was not implemented properly. Now running status is not used, to facilitate looping the file. Changed help patch to implement real MIDI input from hardware. svn path=/trunk/externals/mrpeach/; revision=14590 --- midifile/midifile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'midifile/midifile.c') diff --git a/midifile/midifile.c b/midifile/midifile.c index c36e80a..c0adebb 100644 --- a/midifile/midifile.c +++ b/midifile/midifile.c @@ -460,7 +460,7 @@ static void midifile_list(t_midifile *x, t_symbol *s, int argc, t_atom *argv) written = midifile_write_variable_length_value(x->tmpFP, x->track_chunk[0].delta_time); dt_written = 1; } - if (j == x->track_chunk[0].running_status) continue;/* don't save redundant status byte */ + //if (j == x->track_chunk[0].running_status) continue;/* don't save redundant status byte */ if (j >= 0x80 && j <= 0xEF)x->track_chunk[0].running_status = j;/* new running status */ else if (j >= 0xF0 && j <= 0xF7) { -- cgit v1.2.1