Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 355 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 355 Bytes

Midi2Lua

Parses a MIDI string into note, time and velocity.

Methods

  • fromString(data: string) Create object from a string
  • fromHttp(url: string) Create object from a URL

Object methods

  • getHeader() Returns the header and sets self.header
  • getNoteData(header: table?) Returns note data (header argument optional if you called getHeader