I have been playing around with recording some radio programs. You
can check out what I was doing at:
http://personalpages.tds.net/~pben/record.html
I have broken my sound card install or KDE 2.2 has messed up my sound
card so I haven't recorded much in the las month.
You could also try something with sox. I haven't fully tested this
you would need to do something like:
sox -r 44100 -c2 -t ossdsp /dev/dsp -r 44100 -c2 -t wav -w - | oggenc
-r -b 128 - -o test.ogg
You should study the man page for sox, oggenc and lame (if you want
mp3). It is not really that hard just tedious to test. When you get
it just right you can put it in a bash script.
The major problem is you will have to manually tear down the sox pipe
for each track. There are some windows programs that can record and
break up mp3 tracks based upon silences between the tracks.
email me if I am not clear enough.
PBen
On Thu, 18 Oct 2001 10:48:16 +0930, Brian Marr
Suse 7.1 kernel 2.4.4 (looking forward to 7.3)
I have been recording Vinyl LPs on my system using OggVorbis format and am happy with the results. This has been done on the command line. The files are generated by DAP (on the Suse disk) which I upgraded to 2.1.2 using a Red Hat rpm I think. These huge .aiff files are then encoded with Ogg.
gringo@gringo:~ $oggenc -N 13 -a "Leo Kottke" -l "Guitar Music" -t "All I Have To Do Is Dream" VLP-LeoKottke-Dream.aiff Opening with aiff module: AIFF/AIFC file reader Encoding "All I Have To Do Is Dream.ogg" [ 99.8%] [ 0m00s remaining] /
Done encoding file "All I Have To Do Is Dream.ogg"
File length: 1m 44.0s Elapsed time: 1m 31.4s Rate: 1.1391 Average bitrate: 133.5 kb/s
If one wants to record several tracks then the file size can get too big. To overcome this I need to record from stdin. Ogg has the facility to take input from stdin, but I cannot get it to work. Can anyone suggest how I might do this ? I have tried the parameter below without success.
thanks Brian Marr
INPUT FILES: OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/C files. Files may be mono or stereo (or more channels) and any sample rate. However, the encoder is only tuned for rates of 44.1 and 48 kHz and while other rates will be accepted quality will be significantly degraded. Alternatively, the --raw option may be used to use a raw PCM data file, which must be 16bit stereo little-endian PCM ('headerless wav'), unless additional parameters for raw mode are specified. You can specify taking the file from stdin by using - as the input filename. In this mode, output is to stdout unless an outfile filename is specified with -o