PC speaker

PC speaker

A PC speaker is a loudspeaker, built into some IBM PC compatible computers. The first IBM Personal Computer, model 5150, employed a standard 2.25 inch magnetic driven speaker.[1][not in citation given] More recent computers use a piezoelectric speaker instead.[2] The speaker allows software and firmware to provide auditory feedback to a user, such as to report a hardware fault. A PC speaker generates waveforms using the programmable interval timer.[3]

Contents

Usage

BIOS error codes

The PC speaker is generally the first output device to be activated during the boot process. Since it is active before the graphics card, it can be used to communicate error codes related to problems that prevent the much more complex initialization of the graphics card to take place. For example the Video BIOS usually cannot activate a graphics card unless working RAM is present in the system, while beeping the speaker is doable with just ROM and the CPU registers. Usually, different error codes will be signaled by specific beeping patterns, such as e.g. "one beep; pause; three beeps; pause; repeat". These patterns are motherboard specific and are usually documented in the technical manual of the motherboard.

Games

The PC speaker was often used in very innovative ways to create the impression of polyphonic music or sound effects within computer games of its era, such as the LucasArts series of adventure games from the mid-1990s, using swift arpeggios.[citation needed] Several games such as Space Hulk and Pinball Fantasies were noted for their elaborate sound effects; Space Hulk in particular even had full speech.

Other programs

Several programs, including MP (Module Player, 1989), ScreamTracker, Fast Tracker, Impulse Tracker, and even device drivers for Linux[4] and Microsoft Windows, could play pulse-code modulation (PCM) sound through the PC speaker using special techniques explained later in this article.

Modern Microsoft Windows systems have PC speaker support as a separate device with special capabilities - that is, it cannot be configured as a normal audio output device. Some software uses this special sound channel to produce sounds. For example, Skype can use it as a reserve calling signal device for the case where the primary audio output device cannot be heard (for example because the volume is set to the minimum level or the amplifier is turned off).

Pinouts

In some applications, the PC speaker is affixed directly to the computer's motherboard; in others,including the first IBM Personal Computer, the speaker is attached by wire to a connector on the motherboard. A wired PC speaker connector may have a two-, three-, or four-pin configuration, and either two or three wires. The female connector of the speaker connects to pin headers on the motherboard, which are sometimes labeled SPEAKER or SPKR.

4-pin, 3-wire PC speaker pinout[citation needed]
Pin Number Pin Name Pin Function
1 -SP Speaker negative
2 [KEY] None (unwired)
3 GND Ground
4 +SP5V Speaker positive

Pulse-width modulation

The PC speaker is normally meant to reproduce a square wave via only 2 levels of output. However, by carefully timing a short pulse (i.e. going from one output level to the other and then back to the first), it is possible to drive the speaker to various output levels in between the two defined levels. This effectively allows the speaker to function as a crude DAC, thereby enabling approximate playback of PCM audio. This technique is called pulse-width modulation (PWM) and is notably used in class D audio amplifiers.

With the PC speaker, this method achieves limited quality playback; the quality depends on a trade-off between the PWM carrier frequency (effective sample rate) and the number of output levels (effective bitrate). The clock rate of the PC's programmable interval timer which drives the speaker is fixed at 1,193.18 KHz.[3] This relatively low modulation frequency limits the resolution and produces poor but recognizable audio.[5]

This use of the PC speaker became obsolete with the introduction of the Sound Blaster and other sound cards.

See also

Notes

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Speaker wire — is used to make the electrical connection between loudspeakers and audio amplifiers. Modern speaker wire consists of two electrical conductors individually insulated by plastic. The two wires are electrically identical, but are marked (e.g. by a… …   Wikipedia

  • Speaker of the House of Assembly — may refer to any of the following presiding officers ( speakers ) of legislative bodies styled Houses of Assembly:flagicon|Anguilla Anguilla *Speaker of the Anguilla House of Assemblyflagicon|Australia Australia *Speaker of South Australian House …   Wikipedia

  • speaker — [ spikɶr ] n. m. • 1649; mot angl., proprt « celui qui parle » 1 ♦ Président de la Chambre des communes, en Angleterre. 2 ♦ (1926; « annonceur de résultats sportifs » 1904) Anglic. Vieilli ⇒ annonceur, présentateur. « Sabotage de la prononciation …   Encyclopédie Universelle

  • Speaker of the Legislative Assembly — may refer to any of the following presiding officers of parliamentary bodies styled legislative assemblies:flagicon|Australia Australia *Speaker of the Australian Capital Territory Legislative Assembly *Speaker of the New South Wales Legislative… …   Wikipedia

  • Speaker Denison's rule — is an explanation given by a 19th century Speaker of the British House of Commons, John Evelyn Denison, as to why the Speaker casts their vote in most cases in favour of, rather than against, a government, where they have the casting vote. The… …   Wikipedia

  • Speaker — may refer to:* Speaker (politics), the presiding officer in a legislative assembly ** Speaker of the British House of Commons ** Speaker of the United States House of Representatives * Speaker (song), single by David Banner on his album The… …   Wikipedia

  • Speaker of the National Assembly — may refer to:;Kenya *Speaker of the Kenyan National Assembly;Kuwait *Speaker of the National Assembly of Kuwait;Mauritania *Speaker of the National Assembly of Mauritania;Pakistan *Speaker of the National Assembly of Pakistan;South Africa… …   Wikipedia

  • Speaker — speak·er n often cap: the presiding officer of a deliberative assembly Speaker of the House of Representatives Merriam Webster’s Dictionary of Law. Merriam Webster. 1996. speaker …   Law dictionary

  • Speaker of the House — is a political term referring to a number of people:*In the United Kingdom and Canada, the Speaker of the House of Commons is the individual elected to preside over the elected House of Commons. In the UK, it may also erroneously be used as… …   Wikipedia

  • Speaker of the House of Commons — can refer to: *Speaker of the British House of Commons, which has historically comprised: **Speaker of the House of Commons of England ( 1706) **Speaker of the House of Commons of Great Britain (1707 1800) **Speaker of the House of Commons of the …   Wikipedia

  • Speaker-to-Animals — Ringworld character First appearance 1970 Created by Larry Niven Information Gender Male …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”