parados wrote:Heliotrope.
Square waves are easy to produce in electrical circuits. I understand that.
Good stuff.
You've got the basics then.
Quote:Square waves don't translate well to sound transmitting through the air.
Depends exactly what you mean. I'll get to that later.
Quote:When you drive a speaker you don't go from instantly in to instantly out.
True.
Quote:There is a mechanical factor as the speaker moves from one position to another.
True.
Quote:You can create longer peaks but there is no true squareness to them.
Well the bottom line if you want to get really nit-picky about it is that there is no true squareness to any waveform. It is impossible to change state in zero time therefore there can be no true square waves of any description.
However, we do live in the real world and not in an ideal universe and so do our ears.
Quote:It might look like a square wave if you use the right scale but as you increase the scale you will see a curve of some kind moving from the low to the high position.
True.
That change from the low state to the high state or vice versa takes a finite amount of time. It is called the slew rate. It must therefore have a slope. It cannot slow down instantaneously to a stop and so therefore there must also be a curve when it does so.
The point is that these curves are almost non-existent. You need a really spectacularly powerful oscilloscope to see them when you have a serious square wave generating circuit at your disposal.
I'll give you an example from something I built years ago for a project I was playing with.
I used a chip that was generating square waves for use in a reference distortion measurement. That chip was an operational amplifier. The OpAmp I chose was able to change state between minium and maximum output very quickly indeed. I hasten to add that this is/was a commercially available part you can pick up for a few pennies at any Radio Shack store.
It's slew rate was, as I recall, about 50 Volts per microsecond.
That's 50 million volts per second it was capable of increasing it's output at.
So for a 1kHz audio square wave at a line output level suitable for driving a small speaker or a large amplifier, with a 50:50 duty cycle, basically a perfect square wave; this OpAmp can go from zero volts to the line level of 1.2 volts in about 25 nano seconds.
OK now factor in some in circuit garbage and reduce that by a factor of 10. Or even 20 if you like. It's still min to max in 0.5 microseconds.
A fairly basic 'scope will show you that easily but you'll need some hardcore equipment to see any sort of curve on the waveform edges.
So yes, you will see some curving of the waveform but if you reckon you can hear that then you have better ears than I.
And better ears than every creature that has ever existed on this planet.
Quote:The harmonics are probably a result of that movement.
Nope.
The harmonics are due to the fundamental properties of changes in state. Doesn't matter if it's electrical or anything else.
It's the edges that create the harmonics.
Quote:Yes, I meant high sound on/off 3 times a second.
Still not sure what you mean.
'high sound' ?
Quote:If you use a triac to dim lighting you are creating a period of time that the light is off.
True.
It's so small a time interval that you can't see it.
Remember the TV ?
That's 25 full frames per second or 50 interlaced frames per second. Your brain has a property that allows fast moving images to have a bit of persistence and so you see the individual frames as a single smooth stream of motion.
If something appeared on your screen for less than say, a two hundredth of a second you would never see it because you as a human are not capable of seeing things that happen in that sort a time span.
Same with the light.
It is completely switched off for a couple of thousandths of a second.
It flickers.
You can't see the flickering because you can't perceive time intervals that short.
Quote:I don't know if that works the same way in sound.
It does.
Quote:Remember the cut off sine wave only reflects the electricity traveling to the lamp. It doesn't truly reflect the light being output.
Incorrect.
The electricity going to the lamp is what makes it light up.
'lecky flowing in one direction makes it light up. When the 'lecky stops the light switches off. Then the 'lecky flows back the other way and the light comes back on again.
This happens 50 times per second in the UK. 60 times per second in the USA.
This is the frequency of the mains voltage.
50 Hz UK, 60Hz USA.
Have you ever looked at a flourescent tube out of the corner of your eye ?
You can see it flickering because your peripheral vision is attuned to seeing things that move quickly. You can't see the flicker when you look straight on at it because that part of your visual system is attuned for high resolution not fast updating.
Quote:The filament will have a warming and cooling period which is probably why we don't see a more visible flickering as the light is dimmed.
True.
That heating and cooling hysteresis (delay) is why the incadescent light bulbs don't appear to flicker.
This heating has nothing to do with the wave form of the electricity flowing through it but is a secondary effect caused by the filament dissipating energy as heat and light due to it's internal resistance .
Quote:To go back to the original question on the thread. A pulse of sound requires almost the full sine or other wave in that pulse to be a sound.
Incorrect.
Go back and read what I wrote.
Quote:In order to hear a pulse it has to contain sound.
Incorrect.
The pulse does not contain sound.
The pulse contains electrons which flow through a coil of wire which has been wound onto a paper former which is then shaped around a magnet.
The flowing electricity (the electrons) creates it's own magnetic field which then interacts with the static field of the main magnet. This interaction causes the paper former and attached coil to move in response.
The paper former is attached to a paper cone which allows it to move large quantities of air which creates longditudinal waves of varying air pressure which impact upon your eardrums and cause it to move in sympathy.
The nerves in your ear take these movements and convert them back into electricity which your brain then interprets as sound.
Quote:Since the sound has to be a sound and the silence between it is a silence.
This is circular logic and has no relevance.
Again, go back and read what I wrote.
Quote:I don't think you can use just a single wave to represent how it will act. If you are producing a 1000htz square wave there is no silence between pulses that is audible. That is why I originally suggested that the silence can't be the same length as the sound.
You really really need to go and look at how sound works.
Quote:Imagine a 1000htz sound that is cycling at a 300htz rate.
This is nonsense.
It's like saying "imagine a car that is travelling at 50mph that is travelling at 20 mph".
Quote:When you do that, you are probably not hearing silence because the 300htz is creating a harmonic.
Is it just me or can you not hear silence anyway because it's errr... Silence ?
If there were harmonics you'd hear them and there would be no silence.
You seem to have some fundamental misonceptions regarding how pulsed waveforms work and what the difference between frequency, pulse width, duty cycle and pulse period are.
Get a hold of some books or run your browser through Wikipedia and see for yourself.
Get some information. Do not assume things.
Be ready to have your current understanding changed by the facts of how this lot works.
I have no intention to patronise you here or talk down to anyone. The basic fact is that I honestly don't have the will or the time to explain everything about this to someone who will not go and educate themselves and then ask pertinent questions.
So, go read the stuff and then if you have questions I will attempt to amswer them to the best of my abilities.
Remember : There is no such thing as a stupid question. Only stupid answers.