MidiType

MidiType

new MidiType()

Description:
  • Specifies a symbolic music type using a segment of the MIDI specification.

    • This defines the following types:

      • midi_score which is the root type of a MIDI object.
      • midi_(header|tracks|track|timeSignatures|timeSignature|keySignatures|keySignature|endOfTrackTicks|instrument|controlChanges|controlChangeList|notes|note|numeric) which are the MIDI components of a MIDI object.
      • This thus does NOT define the whole MIDI specification.
    • Conversion from MIDI files to JSON files is performed via the Javascript utilities:

      • [.../midi2json.js file.mid > file.json](./global.html#midi2json) outputing a file.json JSON file.
      • [.../json2midi.js < file.json file.midi](./global.html#json2midi) outputing a file.mid MIDI file.
    • An example of music morphing is available on thisdemo page, using a command that generates a file1-file2.html file showing a sequence of intermediate sounds between file1 and file2:

      • cd .../musicmorphing ; [make](https://gitlab.inria.fr/line/aide-group/symboling/-/blob/main/public/musicmorphing/makefile) [build|rebuild] i1=file1.mid i2=file2.mid
    • The utility timidity for MIDI audio conversion and audacity audio editor are also used at the application level.

Members