Skip to content

Fork of jasmid MIDI file reader in TypeScript

Notifications You must be signed in to change notification settings

RyoSusami/jasmid.ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%