Re: PC Speaker

Richard B. Johnson (root@chaos.analogic.com)
Fri, 18 Sep 1998 16:26:12 -0400 (EDT)


On 18 Sep 1998, Kai Henningsen wrote:

>
> The *PC speaker*?! We're not talking about a bloody soundblaster!
>
> The PC speaker has a 1 bit input. Nothing like 5-6 bit. Also nothing FM.
>
> > be done with a C64, but additionally, the PC Speaker can be fed much higher
> > quality data (since a PC usually can sample a type at 8 or 16 bits, while
> > the c64 (etc.) tape could only be sampled at 1 bit).
>
> Uhuh. PC. Sample. 8-16 bits. You're dreaming of a soundcard, again.
>

Not that you would want to use the CPU cycles necessary to do this, but
the timer associated with the PC speaker can be programmed to generate
a supersonic tone, i.e., above normal audible range. Further, one can
pulse-width modulate this tone with audio data. The speaker becomes
a low-pass filter as well as a transducer. The result is audio that
sounds at least as good as AM Radio, although it is quite low in
volume. I have heard it done and, I think an early version of Linux
had such a driver within.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.118 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/