Permalink
Browse files

README++

  • Loading branch information...
1 parent b36606f commit 4b22abc8b68874caa91aa8c283ea71f680f4d449 @TooTallNate committed Nov 22, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -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);
```

0 comments on commit 4b22abc

Please sign in to comment.