acarabott / jasmid.ts

Fork of jasmid MIDI file reader in TypeScript

Home Page:https://pravdomil.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jasmid.ts

Fork of jasmid MIDI file reader in TypeScript

Install

npm i jasmid.ts

Example

import { parseMidiFile } from "jasmid.ts"

const midi = parseMidiFile(arrayBuffer)

// midi has type:
// {
//   header: { formatType: number; trackCount: number; ticksPerBeat: number };
//   tracks: MidiEvent[][];
// }

API

See src/index.ts.

Donate

By buying a beer.

About

Fork of jasmid MIDI file reader in TypeScript

https://pravdomil.com


Languages

Language:TypeScript 100.0%