Comparing version
# node-midi Changelog | ||
## Version 0.7.1 | ||
* Remove unmatched uv_unref() causing segfault. (Andrew Morton) | ||
## Version 0.7.0 | ||
* Add readable/writable stream support. () | ||
* Add readable/writable stream support. (Elijah Insua) | ||
@@ -7,0 +11,0 @@ ## Version 0.6.0 |
{ | ||
"name": "midi", | ||
"version": "v0.7.0", | ||
"version": "v0.7.1", | ||
"scripts": { | ||
@@ -9,3 +9,3 @@ "test": "node test/virtual-loopback-test-automated.js" | ||
"description": "MIDI hardware IO", | ||
"author": { | ||
"author": { | ||
"name" : "Justin Latimer", | ||
@@ -17,10 +17,13 @@ "email" : "justinlatimer@gmail.com", | ||
{ | ||
"name": "Luc Deschenaux", | ||
"email": "luc.deschenaux@freesurf.ch" | ||
"name": "Elijah Insua", | ||
"email": "tmpvar@gmail.com" | ||
}, { | ||
"name": "Andrew Morton", | ||
"email": "drewish@katherinehouse.com" | ||
}, { | ||
"name": "Luc Deschenaux", | ||
"email": "luc.deschenaux@freesurf.ch" | ||
}, { | ||
"name": "Michael Alyn Miller", | ||
"email": "malyn@strangegizmo.com" | ||
}, { | ||
"name": "Elijah Insua", | ||
"email": "tmpvar@gmail.com" | ||
} | ||
@@ -34,3 +37,3 @@ ], | ||
}, | ||
"repository" : { | ||
"repository" : { | ||
"type" : "git", | ||
@@ -37,0 +40,0 @@ "url" : "https://github.com/justinlatimer/node-midi.git" |
@@ -9,7 +9,24 @@ ♪ ♫ ♩ ♬ | ||
## Prerequisites | ||
### OSX | ||
* Some version of Xcode (or Command Line Tools) | ||
* Python (for node-gyp) | ||
### Windows | ||
* Microsoft Visual C++(the Express edition works fine) | ||
* Python (for node-gyp) | ||
### Linux | ||
* A C++ compiler | ||
* You must have installed and configured ALSA. Without it this module will **NOT** build. | ||
* Install the libasound2-dev package. | ||
* Python (for node-gyp) | ||
## Installation | ||
Installation uses node-gyp and requires Python 2.7.2 or higher. On | ||
Windows you must also have Microsoft Visual C++ installed (the Express | ||
edition works fine). | ||
Installation uses node-gyp and requires Python 2.7.2 or higher. | ||
@@ -28,3 +45,3 @@ From npm: | ||
Input: | ||
### Input | ||
@@ -61,3 +78,3 @@ var midi = require('midi'); | ||
Output: | ||
### Output | ||
@@ -84,3 +101,3 @@ var midi = require('midi'); | ||
Virtual Ports: | ||
### Virtual Ports | ||
@@ -92,5 +109,5 @@ Instead of opening a connection to an existing MIDI device, on Mac OS X and | ||
var midi = require('midi'); | ||
var midi = require('midi'); | ||
// Set up a new input. | ||
// Set up a new input. | ||
var input = new midi.input(); | ||
@@ -100,3 +117,3 @@ | ||
input.on('message', function(deltaTime, message) { | ||
console.log('m:' + message + ' d:' + deltaTime); | ||
console.log('m:' + message + ' d:' + deltaTime); | ||
}); | ||
@@ -117,7 +134,7 @@ | ||
Streams: | ||
### Streams | ||
You can also use this library with streams! Here are the interfaces | ||
readable stream | ||
#### Readable Stream | ||
@@ -133,6 +150,6 @@ // create a readable stream | ||
stream2.pipe(require('fs').createWriteStream('something.mid')); | ||
stream2.pipe(require('fs').createWriteStream('something.bin')); | ||
writable stream | ||
#### Writable Stream | ||
@@ -149,3 +166,3 @@ | ||
require('fs').createReadStream('something.mid').pipe(stream2); | ||
require('fs').createReadStream('something.bin').pipe(stream2); | ||
@@ -158,8 +175,13 @@ | ||
## Maintainers | ||
* Justin Latimer - [@justinlatimer](https://github.com/justinlatimer) | ||
* Elijah Insua - [@tmpvar](https://github.com/tmpvar) | ||
* Andrew Morton - [@drewish](https://github.com/drewish) | ||
## Contributors | ||
* Luc Deschenaux - [@luxigo](https://github.com/luxigo) | ||
* Michael Alyn Miller - [@malyn](https://github.com/malyn) | ||
* Justin Latimer | ||
* Luc Deschenaux | ||
* Michael Alyn Miller | ||
## License | ||
@@ -166,0 +188,0 @@ |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
703549
0.11%202
12.22%