Covox Speech Thing Explained
The Covox Speech Thing is an external digital-to-analog converter (DAC) that plugs into the parallel printer port of a PC. It converts 8-bit digital sound using a simple R-2R resistor ladder into an analog signal output.
The Speech Thing was introduced on December 18, 1987[1] by Covox, Inc. of Eugene, Oregon, for about US$70[2] and priced US$79.95 as of 1989.[3] People soon started to build their own (DIY) variants, since its communication protocol and DAC is simple and only requires soldering a few cheap parts. The novelty of its patent "Parallel port pass-through digital to analog converter" (filed in 1987, granted in 1989)[4] wasn't specifically the use of a resistor ladder as a DAC, but rather the patent's discussion is around its ease of plugging into the parallel port and how its resistor ladder design didn't block other devices from using the parallel port., as sound cards were still very expensive at that time. The plug was also quite popular in the demoscene.
An inherent problem of the design is that its quality relies on how precisely matched the resistors are (see). If unmatched resistors are used, the resulting voltage levels get shuffled, especially for quiet sounds, resulting in distortion. Nevertheless, the sound quality of the Covox plug is far superior compared to the PC speaker; for some time, a self-built variant was an inexpensive way to give old computers sound capabilities.[5]
Features
The Covox plug received an 8-bit digital byte for each digital audio sample from the parallel port and produced a high impedance mono analog output voltage signal though a mini phone connector. That signal could then be amplified and played back on loudspeakers.
The resistances of the R-2R ladder (100 kΩ and 200 kΩ according to the patent) are deliberately high-enough to prevent excessive loading of the signals, so a printer attached to the output connector will operate normally.
The original Covox plug itself doesn't use sequential logic or a clock signal, so theoretically it can operate with any sampling rate. In practice, however, parallel port speed limits make it rather hard to achieve even standard 44100 Hz (the average 1980s 80286 system could handle sampling rates of 12 kHz, while later the faster 33 MHz 486SX introduced in 1991 could handle 44 kHz).
Its 15 kΩ load resistor in parallel with a 5 nF capacitor after the R2R resistor ladder results in a passive RC low-pass filter starting around 3 kHz, thus limiting the analog bandwidth. Many DIY variants do not use the same ladder topology and component values, resulting in different timbre.[6]
Another limiting factor was that the CPU had to be interrupted at the sampling rate to play background audio (thus incurring the cost of a context switch for every sample, many thousands of times a second), since there was no data buffering or direct memory access available.
The sound quality can be increased by software through dithering, which reduces perceptible aliasing noise and increases dynamic range (used in Inertia Player and FastTracker 2 as an interpolating option).
Commercial products
- Covox Speech Thing – a R-2R resistor DAC with parallel port pass through, bundled with speech synthesis software, marketed originally as part of voice synthesis and recognition system.[7]
- Disney Sound Source – a different design to the Covox Speech Thing, though in a superficially similar case also with parallel pass through, marketed by Disney Software in early 1990s.
- Consists of a FIFO buffer with a DAC on the board that plugs into the parallel printer port, which transmits analog audio over a registered jack to a separate amplifier / speaker box.[8] Its price was set to only $14[9] and it was supported by many games (see below). It used external power (9 volt battery) and could be turned on/off by software. Contrary to the Covox Speech Thing which had no FIFO buffer, the Disney Sound Source features a 16-byte FIFO allowing for autodetection and flow control, which clocks digital output to the resistive DAC at a fixed sample rate of 7 kHz ±5%.[10]
- The printed circuit board DSS007C shows "Ⓟ (1983) U.S. 4,384,170 and others"[11] which is an earlier patent by Forrest S. Mozer.[12] The board a has one integrated circuit only (labeled "ICS1453") and the schematic[13] shows 8 lines from the parallel port going into one chip with input pins D0-D8 that also has a "DAC output" pin going to an output "sound". So it can be inferred that that single chip implements both the FIFO and DAC internally, which differs dramatically from the passive R-2R design of the original Covox.
- In 2015 the hardware was reverse engineered so compatible circuits can be built from easily available off the shelf components.[14] It is also emulated by the popular DOSBox emulator.
Compatibility
Games
The Covox plug couldn't directly substitute any of the popular cards of that age (AdLib, Sound Blaster, Gravis UltraSound, etc.), but several games / platforms supported it directly. It is also usually used in tandem with an AdLib sound card as said card officially was a music card and while it could be put into a mode to handle sampled audio, it could not play sampled audio and music at the same time. Notable entries include:
Music trackers
Popular DOS-based trackers used in the demoscene included Covox support, for example:
- Modplay (also ModEdit, DMP, VP and other Mod players from early 1990s) (Up to 4 channel COVOX output or custom assembler routine for user device)
- Inertia Player (mono, stereo-on-1 covox, with dithering option).
- Multiplayer by DGS Italian Software Company
- Galaxy Music Player (can play MODs even on an Intel 8088)
- Scream Tracker version 2.3 direct support. Version 3.21 through virtual-soundblaster driver.
- FastTracker (mono, stereo, stereo-on-1 mode, with dithering).
- Impulse Tracker
Emulating other soundcards
Emulators exist that allow a physical Covox to appear as if it is another soundcard:
- Virtual SoundBlaster – can emulate Sound Blaster on Covox
- Covoxer – can emulate Tandy 1000/2000 music synthesizer
- TEMU – can emulate Tandy 1000/2000 music synthesizer and Disney Sound Source
Emulating Covox
The DOSBox and Fake86 emulators can emulate a virtual Covox (as Disney Sound Source) on machines without a physical Covox.[15]
Operating systems
Several operating systems have an installable driver for Covox:
Later variants
- André LaMothe's 1995 book "Black Art of 3D Game Programming" section "Building Your Own Digital Sound Device-DIGIBLASTER"[20] – while not saying the word "Covox", it does describe how to build a resistor ladder hardware device with a schematic that is essentially a clone of a Covox in stereo that plugs into two parallel printer ports, and describes DOS C code for driving it.
- Simple LPTsnd[21] – also compatible with SoundJR and FTL sound adapters in addition to Covox Speech Thing, allowing more games to be played.
- CVX-4[22] – features DIP switches to select capacitor for the low-pass filter, to provide extra attenuation, and to bypass coupling capacitor.
- Disney Soundsource 2015 Remake[23] – reverse-engineered from an original adapter.
- Allows software requiring the original Disney hardware to work without the need of any additional software emulators.
- Benedikt's remakes:
- Generic 8 bit audio DAC – includes parallel-port pass-through for printer, with intention of being more similar to original Covox.
- Parallel Port Headphone DAC – replica of 1990s SiliconSoft SoundJr device[24] that can drive headphones with power from the parallel port.
- Parallel port audio and joystick adapter[25] – compatible with FTL Sound Adapter.
- ISA LPT DAC r0 – Dual-channel board that plugs into the ISA bus.[26]
Other Covox products
See main article: Covox.
- Covox Voice Master – Earlier 1984 speech-synthesis board for the Commodore 64 which could playback 64 words stored in memory with BASIC instructions. Word capacity could be extended with disk or tape.[28]
- Covox Voice Master Junior – Later cheaper ($39.95) variant that plugs into Atari joystick port and contains an electret microphone for recording sounds for playback or recognition and a speaker.[29] [30]
Also as described in a 1991 COVOX Company Profile:[31]
- Covox Sound Master – 1984 for Apple II, 1989 for MS-DOS PCs.
- Covox Voice Master System II – 1990
- Covox MIDI Maestro – 1990
- Covox Sound Master II – 1990
External links
Notes and References
- Web site: Speech Thing trademark . United States Patent and Trademark Office (USPTO).
- Web site: Stefan . Göhler . Phonomenal! Covox Speech Thing / Disney Sound Source (1986 / 199x) . 2023-01-23 . Crossfire Designs.
- 1989 . Social Science Microcomputer Review . Duke University Press . 7 . 97 . 0885-0011.
- US4812847A. Parallel port pass-through digital to analog converter. 1989-03-14. Stewart. Stewart. John L.. Bradley C..
- Book: Brychkov, Eugeny . Adding a multimedia capability: a Covox device . GR8BIT . October 19, 2012. https://web.archive.org/web/20140201185718/http://kb.gr8bit.ru/GR8BIT-KB0010-Adding-multimedia-capability-covox-device-23102013.pdf . February 1, 2014 .
- Web site: Scali . 2017-11-28 . The Covox years . live . https://web.archive.org/web/20230220063533/https://scalibq.wordpress.com/2017/11/28/the-covox-years/ . 2023-02-20 . 2023-06-25 . Scali's OpenBlog . en.
- Book: Pilgrim, Aubrey . Build Your Own Multimedia PC . McGraw-Hill . 1996 . 978-0-07-912226-1 . 282 . registration .
- Web site: Some notes on programming for the Disney Sound Source . Mark . Phillips . https://web.archive.org/web/20070101124905/http://thorkildsen.no/faqsys/docs/progss.txt . 2007-01-01.
- Web site: The Oldskool PC Carnival Sideshow . 1999 . 2017-08-06.
- Web site: The Sound Source Programmer's Guide . live . https://web.archive.org/web/20230625193328/http://www.vgmpf.com/Wiki/images/8/8f/The_Sound_Source_-_Programmer%27s_Guide.pdf . 2023-06-25 . 2023-06-25 . Video Game Music Preservation Foundation.
- Web site: Disney Sound Source Pinout \ VOGONS . live . https://web.archive.org/web/20230502181836/http://www.vogons.org/viewtopic.php?t=48604 . 2023-05-02 . 2023-06-26 . www.vogons.org.
- US4384170A. Method and apparatus for speech synthesizing. 1983-05-17. Mozer. Stauduhar. Forrest S.. Richard P..
- Book: Programmer's Guide to the Disney Sound Source . English.
- Web site: Reversing the Disney Sound Source . 2015-02-01 . VOGONS . 2017-08-06.
- Web site: 2015 . Sound – Disney Sound Source . 2017-08-06 . DOSBox Wiki.
- Web site: Beck . Michael . 2005-01-23 . Alternate Sound Driver for Linux 2.x Version 1.3 (pcsndrv-1.3.readme) . dead . https://web.archive.org/web/20050123212438/http://fresh.t-systems-sfr.com/linux/src/pcsndrv-1.3.readme . 2005-01-23 .
- Web site: MENG . YEO . January 2, 2017 . A Science Project: Bringing the Covox Speech Thing to 2017 . YKM'S CORNER ON THE WEB.
- Web site: Meng . Yeo . August 10, 2021 . Covox-music-player . GitHub.
- Web site: outb(2) - Linux manual page . 2023-11-23 . man7.org.
- Book: André LaMothe . Black Art of 3D Game Programming . 1995-09-01.
- Web site: Simple LPTSND – Covox Speech Thing . Retroianer.
- Web site: CVX4 Vogons Tuning Edition. Serdashop.
- Web site: Reversing the Disney Sound Source . VOGONS.
- Web site: SoundJr Digital Audio Modules by SiliconSoft.Com . https://web.archive.org/web/20230305200927/http://www.siliconsoft.com/sndjr1.htm . 2023-03-05 . 2023-06-26 . www.siliconsoft.com.
- Web site: Freisen . Benedikt . Parallel port audio and joystick adapter . GitHub.
- Web site: Dual ISA DAC r0 – Covox Speech Thing on ISA Bus . Retroianer.
- https://www.analog.com/media/en/technical-documentation/data-sheets/AD7524.pdf
- Web site: Bergheim . Kim . 1984-09-13 . Micros prick up their ears . InfoWorld: The Newsweekly for Microcomputer Users, volume 6, issue 33 . 41.
- Web site: COVOX Voice Master Junior User Manual . December 1988 .
- Web site: 1988-06-01 . 8-Bit Product Reviews: Covox Voice Master Jr., SSI's Shilob, Panasonic KX-PL09LI Printer . live . https://web.archive.org/web/20220810042022/https://www.atarimagazines.com/v7n2/8BitProductReviews.html . 2022-08-10 . 2023-06-25 . atarimagazines.com . Antic (magazine) vol 77, no 2.
- Web site: 1991-09-01 . COVOX: Company Profile (from Covox BBS) . 2023-06-25 . groups.google.com.