Talk:PC speaker

message: Is the page still really a stub?  Richard cocks 02:14, Mar 9, 2004 (UTC)
:I've it Start class, Low importance. ~KvnG 14:23, 15 October 2013 (UTC)
replies: text: I had added some info based on my programming experiences too. On my machine, I could savely write hrxadecimal values between 0-40 (0-63) decimal directly to I/O port 61H and they would more or less play correctly, to the point that I wondered why digital PC speaker sound wasn't commonplace on commercial games :-p. On my machine again, I could actually READ the 61H I/O port, even shortly after writing and I would get back a sort of noisy reading of what I had previously written. However, the technique described in the article (which looks a lot like PWM) seems to be the most common and generic, as I don't know if all "PC speaker hardware" could work the way mine did. EpiVictor 17:21, 2 February 2006 (UTC)
replies: text: I saw your PWM edits, they are excellent, thank you (I originally wrote that part).  As for reading the port, that is most definitely NOT the case on my original IBM 5150 (I get 0 every time) so I hope that's not something you want to keep in the article. Trixter 21:23, 2 February 2006 (UTC)
replies: text: Well , I added more details to PWM (especially about filtering, which is crucial) and stressed that reading of the 61H port is implementation dependant. I could try that same old program on an Athlon-class machine and see what happens :-) Besides, the exact implementation of the PC Speaker seems to be something left to the manufacturers...some may just use a simple current-driving transistor, others use an op-amp, others a logic gate + amplifier + filter (IBM even had a monitor with built in speaker + volume knob for PC speaker).EpiVictor 12:30, 3 February 2006 (UTC)
replies: text: I wasn't generating sound, which would explain why I got 0 reading the port.  However, the original notes (don't remember who original author was) state that you could read those ports to turn the speaker into a microphone... I find that extremely difficult to believe and would need to see it happening to believe it. --Trixter 00:28, 6 February 2006 (UTC)

text: I believe I had written those notes, but never wrote that the PC speaker is so reversible that it can work as a microphone, I know very well it cannot. At most, it can give an output-dependant reading (e.g. if you are playing back a sound and trying to "read" the 61H port, you will get a heavily correlated reading, which looks like a waveform and/or static noise), and that's about it. Anyway, most PC speaker tutorials state that the full 8 bits of port 61H must be read before writing back, so this likely means they don't all stay to 0 during playback or normal functioning of the PC. EpiVictor 12:50, 6 February 2006 (UTC)
replies: text: After checking this some more, it looks like you're referring to port C of the 8253, which has bit 5 wired as Timer 2 output read-back.  Reading this from port 62h means that, yes, you'd get some random value, but it's coming from the timer and not the speaker.  Also, port 62h is only wired that way on PCs and XTs and not ATs and later.  So I removed the section as it was written; if you'd like to clarify and put it back, that's fine, but please note that the random value you get is from the timer and a better way to get it is just to latch the actual timer output. --Trixter 15:54, 5 April 2007 (UTC)
thread_title: Untitled

message: The depicted type of small PC speaker is moving-iron, not a piezo. I.e. it functions like a traditional telephone receiver or earphone, containing a steel diaphragem attracted by a magnetic ring and a fixed solenoid (coil) in the center, which varies the intensity of the static magnetic field to make it move. While a piezo would have infinite DC resistance (like a capacitor), the standard tiny PC speaker still has 8 Ohm which proves the presence of a coil. User:CYBERYOGI =CO=Windler 92.193.120.28 (talk) 05:32, 28 November 2020 (UTC)
thread_title:  Tiny PC speakers are NOT piezo. 

message: The PC speaker is normally meant to provide only 2 levels of output .
That is, on and off, right? --Abdull 14:58, 27 June 2006 (UTC)
replies: text: Yeah, it can only be either activated by TTL voltage (+5 V) or not (0V). Claims of it having accuracy comparable to 6 bits DAC are only indicative of the sound quality, not of the way it actually works, as digitized sound output on the PC-SPEAKER relies on PWM techniques instead of a true multiple level wave. EpiVictor 16:16, 27 June 2006 (UTC)
thread_title:  Output levels 

message: I'm no expert on the matter, but I've noticed that the beeping internal speaker (which I'm pretty sure is the PC speaker) often doesn't work on newer computers (such as mine). For example, if I try to print ASCII 07 (Bell) on my computer, nothing will happen. Does anyone have any information on this? (Or am I perhaps crazy?) 65.188.254.26 01:33, 28 September 2006 (UTC)
replies: text: If your computer is a laptop or a "brand" desktop machine, it might just be that the PC speaker is hardwired to the audio card sound output, instead of using its own speaker. You should still hear a beeping when it boots, the very least. When the OS is loaded however, the sound mixer settings take effect, and the PC speaker may be effectively cut off. Try checking these for volume/enabled lines. EpiVictor 08:45, 28 September 2006 (UTC)
replies: text: No problems here, will check it out. I'm sure almost every computer still has them but you can indeed control them using the mixer settings in Microsoft Windows. Towel401 (talk) 20:53, 18 December 2007 (UTC)
replies: text: I built my PC from individual components purchased separatedly, but later while assembling it i found out that neither the motherboard nor the case came with the internal speaker; luckly they are cheap enough that the guys at the store just handed me a spare one for free when i came back to buy it. --TiagoTiago (talk) 16:06, 19 June 2012 (UTC)
thread_title:  PC Speaker not on new computers? 

message: I removed the parts of the PWM section that claimed the technique was flawed due to interrupt noise; you can disable all hardware and software interrupts (I've done it) during playback so that's not a good reason to claim the method is flawed.  There are other, perfectly legit reasons why it is flawed :-) but background interrupt noise is not one of them. --Trixter 15:50, 5 April 2007 (UTC)
replies: text: I reviewed all of your edits...they seem alright, although I'm not sure if the bit about having to store the status of port 61h should have been removed...well, that's the definitive time I'm going to try it on an oldskool machine as possible :-p Also there's that external link saying that you must read and store whatever is in that port before writing back. EpiVictor 17:59, 5 April 2007 (UTC)
thread_title:  PWM edits 

message: Please add reference citation as footnotes, it doesn't look like all of the article is based on the External links alone. That would become worse after translation.
--AVRS 10:43, 18 August 2007 (UTC)
thread_title:  Footnotes 

message: There is a [citation needed] on the following sentence:
  "A PC speaker generates waveforms using the Programmable Interval Timer."
I don't think we really need a citation for this.  I have one, but before I add it I want to understand why that is necessary.  
Someone humor me here, and please try this:
From that sentence: click "Programmable Interval Timer" then go to "Well Known PITs" then "Intel 8253" then "Mode 3 (X11): Square Wave Generator" then scroll down to the last external link which is to the Intel 8253 overview which shows the square wave generator that was used in the IBM PC Speaker.
Is it really worth adding a link to that document just to satisfy this citation?  It's already linked from Wikipedia under much more relevant conditions.  Do we need a tree of links on every sentence in Wikipedia just so that someone doesn't have to follow the links to the real data?  This isn't a political debate or something.
:I've added a citation. Totsugeki (talk) 14:09, 16 January 2010 (UTC)
thread_title:  citation required on Programmable Interval Timer 

message: Before my 24 November 2007 edit, there was misinformation regarding the audio fidelity of PWM with the PC speaker.
The article contained:"Getting a high fidelity sound output out of this technique requires the switching frequency between the minimum and maximum sound levels to be much higher than the audio frequencies meant to be reproduced (typically with a ratio of 10:1 or more), and the output voltage to be bipolar in order to make better use the output devices' dynamic range and power (e.g. by making a loudspeaker vibrate in both directions)."Which is fine so far. But:"On the PC speaker, however, most of these conditions don't hold; for example, the physical properties of the speaker lacks the response time for such high rates, and the output voltage is either zero or TTL level (unipolar)."I had removed the first part of that sentence. As I explained already:The physical speaker doesn't need to have extremely good response time and/or ability to reproduce high frequencies for PWM to work... in fact it better not because it serves as a natural low-pass filter.Still, we need to address the switching frequency not being high enough problem. In other words, the problem is not the response time of the physical speaker itself, but more how many samples per second can be sent to the speaker, which will limit the PWM switching frequency. If someone can find a source for the maximal sampling frequency, please add this missing information. Then, one could add my comment on the speaker serving as a natural low-pass filter, partially filtering out the carrier frequency.
74.56.90.14, now 206.248.158.111 (talk) 05:10, 16 March 2010 (UTC)
thread_title:  Missing highest possible PWM carrier frequency 

message: As per WP:BOLD no discussion is required for drastic changes. I believe my edits improved the article and I have restored them. If the article is still not where it needs to be, please feel free to improve further upon my edits. One does not WP:OWN an article on WP. --Kvng (talk) 15:27, 16 February 2011 (UTC)
thread_title:  Drastic changes 

message: Hello fellow Wikipedians,
I have just modified  on PC speaker. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
*Corrected formatting/usage for http://computermuseum.usask.ca/articles/IBM-5150-Specifications.pdf
*Corrected formatting/usage for http://geocities.com/stssppnn/pcsp.html
When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at ).
Cheers.—cyberbot IITalk to my owner:Online 23:59, 4 May 2016 (UTC)
thread_title:  External links modified