2.0.2 • Published 2 years ago

dtt.midi-parser v2.0.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

MIDI Parser

Description

MIDI Parser is a package that enables you to retrieve note data (midiEvents) from tracks within a MIDI file. The package is fairly simple to use and offers the basic functionality for retrieving a list of Notes with its data such as the Note ID, TickOn, TickOff and TickDuration. You can create your own MIDI files by using a MIDI Editor application and load these files into your own project through this package.

Getting Started

Open the Demo scene and press play. Try to click the piano keys when the Notes (boxes) are within the bounds of the piano keys, the score is incremented every time a piano key is pressed when the Note is within its bounds. This is an example of how this package can be utilzited to generate levels for your own sequential game levels. Take a look at the MIDIReader.cs script and see the methods that you can call for retrieving the note data from a midi file's track.