Skip to content

Commit

Permalink
README++
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Nov 22, 2012
1 parent b36606f commit 4b22abc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```

Expand Down

0 comments on commit 4b22abc

Please sign in to comment.