Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NHQ committed Nov 27, 2013
1 parent 1a3a7a4 commit bd85dcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -15,6 +15,10 @@ var file = require('fs').readFileSync('rachnananov.mid', 'binary')

var midi = midiFileParser(file);
```

It returns an object with header and track info.


You can use it with [browserify](https://github.com/substack/browserify) and [brfs](https://github.com/substack/brfs):
```js
var midiFileParser = require('midi-file-parser');
Expand All @@ -26,4 +30,4 @@ var file = fs.readFileSync('rachnananov.mid', 'base46')
file = window.atob(file)

var midi = midiFileParser(file);
```
```

0 comments on commit bd85dcd

Please sign in to comment.