Skip to content

Generate SMF(Standard MIDI File) from recording messages by Web MIDI API

Notifications You must be signed in to change notification settings

cagpie/web-midi-recording

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-midi-recording

Demo

This will only work when Web MIDI API is enabled.(https://caniuse.com/#feat=midi)

Demo

Installation

$ npm install web-midi-recording

npm

Quick Example

const { MIDIRecording } = require('web-midi-recording');

MIDIRecording.attachHandler(InputMIDIDevice);

MIDIRecording.startRecording();

MIDIRecording.stopRecording()

const smfData = MIDIRecording.getSMF();

Licence

web-midi-recording

Copyright (c) 2020 cagpie cagpie@gmail.com

Code licensed under the MIT License: http://opensource.org/licenses/MIT

About

Generate SMF(Standard MIDI File) from recording messages by Web MIDI API

Resources

Stars

Watchers

Forks

Packages

No packages published