Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A MIDI file reader and synthesiser in TypeScript

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages