midi raw to midiparse ?


    Apr 14 2006 | 9:04 am
    could i send "real" raw midi byte data to [midiparse], dumped from a
    midifile thru a Java class ? Or is a "tweaked raw format" needed ?
    best
    f.e

    • Apr 14 2006 | 10:21 am
      On 14-Apr-2006, at 11:04, f.e wrote:
      > could i send "real" raw midi byte data to [midiparse], dumped from
      > a midifile thru a Java class ? Or is a "tweaked raw format" needed ?
      Midiparse reads raw MIDI data. But a MIDI file isn't raw MIDI data,
      it's delta-time-stamped MIDI data.
      Maybe were talking at cross-purposes, but "raw MIDI data" has always
      meant (at least for me) the MIDI Spec published by the MMA and JMA:
      MIDI _as_it_would_come_through_a_MIDI_cable_. MIDI file was a
      proposal made about four years later by Opcode (remember them?) that
      has since gained acceptance. But the two aren't the same thing.
      Anyway, your Java would have to parse/strip headers and remove delta-
      times and Meta-MIDI from the MIDI file data stream. If you want to
      handle Format 1, you would have to decide if you want to synchronize
      tracks or what. Etc.
      Actually, by the time you've done that, parsing the raw MIDI stream
      yourself is a piece of cake.-)
      Have fun,
      Peter
      -------------- http://www.bek.no/~pcastine/Litter/ -------------
      Peter Castine +--> Litter Power & Litter Bundle for Jitter
      iCE: Sequencing, Recording & |home | chez nous|
      Interface Building for |bei uns | i nostri|
      Max/MSP Extremely cool http://www.castine.de