Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sbset(1) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sbplay(1)

sbrec(1)

sbchk(1)

sbconv(1)

xsed(1)

sb(4)

soundlib(3x)

SBSET(1)  —  NEWS-OS Programmer’s Manual

NAME

sbset − Set parameters to the audio interface

SYNOPSIS

sbset [−d device] [−i inputlevel] [−o outputlevel] [options]

DESCRIPTION

sbset sets parameters about input level, output level, format, sampling frequency, number of channels, number of quantized bits, monitor function, input jack to the audio interface. 
 
The −d option can be used to specify the input device. The following options can be specified when using this command.
 
inputlevel is in [dB] between 0 and −32 with 0.5 step.  It is between +7.5 and −10 with 2.5 step for line-input of /dev/sbe0. 
 
outputlevel is in [dB] between 0 and −32 with 0.5 step.  It is fixed to 0[dB] for line-output of /dev/sbe0. 

Specifying the Format

−mulaw
Specifies mu-law.

−alaw
Specifies A-law.

−strpcm
Specifies Straight PCM.

−adpcm
Specifies ADPCM.

Specifying the Number of Channels

−mono
Specifies mono.

−stereo
Specifies stereo.

Specifying the Number of Quantized Bits

−4 Specifies 4 bits as the number of quantized bits. 

−8 Specifies 8 bits as the number of quantized bits. 

−16 Specifies 16 bits as the number of quantized bits. 

Specifying the Frequency

−8000
Specifies a sampling frequency of 8000 Hz.

−9450
Specifies a sampling frequency of 9450 Hz.

−18900
Specifies a sampling frequency of 18900 Hz.

−37800
Specifies a sampling frequency of 37800 Hz.

Specifying the file format for ADPCM

−sony
Specifies sony sound data format.

−cdrom
Specifies CD-ROM mode-2 user data.

Specifying the emphasis for ADPCM

+emphasis
Specifies emphasis is on.

−emphasis
Specifies emphasis iis off.

pecifying the mute function

+mute
Specifies mute is on.

−mute
Specifies mute is off.
 
Specifying the monitor function

+monitor
Specifies monitor function is on.

−monitor
Specifies monitor function is off.

Specifying the input jack

−box Specifies mic/speaker box as input. 

−line Specifies line-in-jack as input. 

Specifying display of the setting

−v Specifies to display the setting of the audio interface

SEE ALSO

sbplay(1), sbrec(1), sbchk(1), sbconv(1), xsed(1), sb(4), soundlib(3x)

NEWS-OSRelease 4.1C

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026