2.1.5 • Published 3 years ago

@sightread/jasmid.ts v2.1.5

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

jasmid.ts

Fork of a fork of jasmid MIDI file reader in TypeScript.

Jasmid.ts was originally created by pravdomil, but they have since removed it from their GitHub.

Install

npm i @sightread/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.

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago