Requirements
You need a copy of lame_enc.dll to encode to MP3. You can find a copy
here.
You need to copy lame_enc.dll in the same directory as SoundCapture.
You also need DirectX, which is usually installed with Windows.

Syntax

If you use parameters that include spaces (like "Stereo Mix" or "a long file name.mp3")
make sure you enclose them in double quotes (" ").

General Parameters  
-? Help. It shows the different options, and the possible
sound card inputs you can use.
-vwdef View the default settings.
-mkdef Make the following parameters your default settings.
-in "input name" Set the sound card input to use.

 

MP3 Encoding  
-br bitrate Set the bit rate. Support 32, 40, 48, 56, 64, 80, 96, 112,
128, 160, 192, 224, 256 and 320 kbps.
-sr sample rate Set the sample rate. Support 16000, 22050, 24000,
32000, 44100 and 48000 Hz.
-cbr Use constant bitrate. Less CPU intensive but more
disk space.*
-vbr Use variable bitrate. More CPU intensive but uses less
disk space.*

* cbr and vbr can not be used together.

 

File Parameters  
-s Length to be read as seconds.
-m Length to be read as minutes.
-length n Set the length to be 'n'.
-title "..." Set the title for the ID3 tag.
filename Set the filename

A note on the sound card input.
Different sound cards use different names for their inputs. For example, my sound
card uses an input called Stereo Mix. It may be named differently on your PC. In order
to find out, use the -? option. It will display the possible values for the sound card inputs.

Examples
In order to avoid typing your default values every time, you can set your own default values.

Default to 44.1 kHz, 192kbps SoundCapture -mkdef -sr 44100 -br 192
Default to variable bit rate SoundCapture -mkdef -vbr
Set default length to 30 minutes SoundCapture -mkdef -m -length 30
Set default input to "Stereo Mix" * SoundCapture -mkdef -in "Stereo Mix"

*It is recommended that you set the input once and for all when you first use SoundCapture.
If you can't hear anything in your new recordings, it is likely that the input is not set properly.

Record a 5 minutes file called
c:\capture.mp3
SoundCapture -m -length 5 c:\capture.mp3
Record a 30 seconds file called
c:\capture.mp3 with the title "Short One"
SoundCapture -s -length 30 c:\capture.mp3 -title "Short One"

Other
You can use Sound Capture in conjunction with
Ras Scheduler to program
Internet dialups and record radio shows from the Internet. Using
ShowStopper,
you can also set your PC to shutdown when the recording is finished.