Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README++

  • Loading branch information...
commit 4b22abc8b68874caa91aa8c283ea71f680f4d449 1 parent b36606f
Nathan Rajlich authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
6 README.md
View
@@ -29,17 +29,17 @@ Here's an example of using `node-lame` to encode some raw PCM data coming from
``` javascript
var lame = require('lame')
-// Create the Encoder instance
+// create the Encoder instance
var encoder = new lame.Encoder({
channels: 2, // 2 channels (left and right)
bitDepth: 16, // 16-bit samples
sampleRate: 44100 // 44,100 Hz sample rate
});
-// Raw PCM data from stdin gets piped into the encoder.
+// raw PCM data from stdin gets piped into the encoder
process.stdin.pipe(encoder);
-// The generated MP3 file gets piped to stdout.
+// the generated MP3 file gets piped to stdout
encoder.pipe(process.stdout);
```
Please sign in to comment.
Something went wrong with that request. Please try again.