Skip to Content.
Sympa Menu

baslinux - Re: [BL] sound recording.

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] sound recording.
  • Date: Sat, 24 Mar 2007 08:00:44 +0000 (UTC)

On Fri, 23 Mar 2007 baslinux AT lists.ibiblio.org wrote:

Sindi wrote:

aumix does not have a 'recording source' line.

According to the man page, switching the source is accomplished by
using the arrow keys to switch to the desired input source (Line) and
then turn up the volume as with any of the other controls. On some
cards, it may be necessary to press the Spacebar to activate Line.

Would it be 'Line' or 'Line1' or 'Mic'?

Line should be connected to the LINE IN port. Line1 is something else
- if this is a SB-type card, it refers to some "line in" pins on the
card itself, next to the CD audio-in pins.

Mic is currently set to 0, as is Igain.

Igain is for adjustments for weak microphones, I think.

Aumix might not be needed because sox can adjust volume.

Please give the details of how to record with sox or aumix, from an
audio receiver to line in.

Basic operation:

sox -t ossdsp /dev/dsp outputfile.wav

You can use the standard sox flags to change the output format:

sox -t ossdsp -w -r 44100 -c 2 /dev/dsp cdout.wav

(records at CD quality)

David


Thanks. The man page was not entirely understandable.

-t ossdsp file type is ossdsp for use with /dev/dsp and OSS
-w 16-bit word - how would we do 8-bit for SBPro?
-r 44100 rate 44100 Hertz
-c 2 channels 2 (stereo) - or 1 for mono

They also suggest:

-s signed linear sample data. Is this default?
-v volume .9 is less, 1.1 is more than default (1.0).

Play is a script for using sox, so uses the same options.

play -V filename.wav says a wav file is 11025 byte/sec, 1 channel, Microsoft PCM. (8-bit mono - 16-bit stereo would be 44100). Can it be played on an i810 chip (only works at 48KHz) with play and some option(s)?

play -c 1 -r 11025 *.wav sounds normal. SB sound card.

I can also play at half-speed (lower pitch) -r 5500, or faster -r 22050, or louder -v 2.

Sindi




Archive powered by MHonArc 2.6.24.

Top of Page