Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dspbeep(1) — NEXTSTEP 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DSPBEEP(1)  —  UNIX Programmer’s Manual

NAME

dspbeep − synthesize a beep using the DSP and sound output
 

SYNOPSIS

dspbeep [-l] [-n nbuffers]
 

DESCRIPTION

The dspbeep program is the simplest test of the DSP’s sound-producing capability.  It produces a test sinusoid with frequency i∗Fs/256, where Fs is the sampling frequency (high or low), 256 is the length of the sine ROM in the DSP, and i increments by 1 from 1 once each buffer.  (The buffer size is 512 stereo audio samples, 256 per channel.)  The output amplitude is 2^(-64), i.e., the maximum-amplitude sinusoid read from ROM is right-shifted 6 bits before being output. 
 

OPTIONS

−lSelect low sampling rate (22.05 KHz).  The default sampling rate is 44.1 KHz. 

−nSet number of 512-word buffers to output.  The default is equivalent to "-n 100". 

NeXT, Inc.  —  3 Apr 1989

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