Skip to content

A MIDI file reader and synthesiser in TypeScript

Notifications You must be signed in to change notification settings

sightread/jasmid.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published