Before we get into complex waves, let’s dive a little deeper into sine waves. A sine wave or sinusoidal wave is a basic building block of audio. As mentioned multiple times, all sounds can be broken down and described as a series of sine waves at various amplitudes and initial phases.
This type of signal is essentially an “unwrapped” circle. This is important to understand, as it allows for a visual connection to the simplicity and beauty of sine waves. Just as a circle is one of the fundamental building blocks for many visual compositions, we can think of the circle (or rather it’s sine wave representation) as a fundamental building block for sound.
The sine function (if you remember back to trigonometry), along with the related cosine function, can be used to describe the \(x\) and \(y\) coordinates on the unit circle for any angle (\(t\)). (Angles will be written in radians. I.E. With respect to pi, \(\pi\))
\[x = \cos(t)\] \[y = \sin(t)\]The following image is of the Unit Circle. It also contains the \(x\) and \(y\) coordinate values in relationship to various angles.
For the time being, we are only concerned with the \(y\) coordinates, which represent the sine value of the angle.
So, if we have an angle of \(0\pi\) (which of course equals \(0\)), we get a \(y\) value \(0\).
\[\sin( 0 ) = 0\]Likewise, if we have an angle of 30° which is also \(t=\frac{pi}{6}\), we get a sine value of \(0.5\).
\[\sin(\frac{\pi}{6}) = \frac{1}{2} = 0.5\]If we have an angle of 90° which is also \(t=\frac{pi}{2}\), we get a sine value of \(1\).
\[\sin(\frac{\pi}{2}) = 1\]These values repeat as a pattern around the unit circle. So,
\[\begin{array}{ll} \sin\left(0\right) &= 0\\ \sin\left(\frac{\pi}{6}\right) &= 0.5\\ \sin\left(\frac{\pi}{2}\right) &= 1\\ \sin\left(\frac{5\pi}{6}\right) &= 0.5\\ \sin\left(\pi\right) &= 0\\ \sin\left(\frac{7\pi}{6}\right) &= -0.5\\ \sin\left(\frac{3\pi}{2}\right) &= -1\\ \sin\left(\frac{11\pi}{6}\right) &= -0.5\\ \sin\left(2\pi\right) &= 0\\ \end{array}\]The following image shows the Unit Circle with a reduced number of relationships and only the values associated with the sine function or the \(y\) coordinates. You can see how related angles result in related \(y\) values, with sign flips depending in whether the angle is on the top half or bottom half of the unit circle.
For more review of sine and cosine functions and relationships, please read:
The following video will serve to remind you about some of the properties associated with the unit circle, which is our key to understanding how the sine function creates a circle.
Knowing the relationship between the unit circle and the sine function, we can now consider the sine wave formula.
A sine wave signal can be represented with respect to time in the following function:
\[y(t) = A \sin{(2\pi_{} f t + \phi)}\]Where:
Essentially, we are replacing the angle from the unit circle sine function information above, with a representation of frequency with respect to time. This results in a value, which represents an angle with respect to the unit circle.
So, as an example, lets assume the following;
This results in;
\[y(t) = 1 \cdot \sin\left(2\pi \cdot 1 \cdot t + 0\right)\]So, at 0 seconds (\(t=0\));
\[\begin{array}{ll} 0 = 1 \cdot \sin\left(2\pi \cdot 1 \cdot 0 + 0\right)\\ 0 = 1 \cdot \sin\left(0\right)\\ \end{array}\]At 0.25 seconds (\(t=0.25\));
\[\begin{array}{ll} 1 &= 1 \cdot \sin\left(2\pi \cdot 1 \cdot 0.25 + 0\right)\\ 1 &= 1 \cdot \sin \left( \frac{\pi}{2} \right)\\ \end{array}\]At 0.5 seconds (\(t=0.5\));
\[\begin{array}{ll} 0 = 1 \cdot \sin\left(2\pi \cdot 1 \cdot 0.5 + 0\right)\\ 0 = 1 \cdot \sin\left(\pi\right)\\ \end{array}\]At 0.75 seconds (\(t=0.75\));
\[\begin{array}{ll} 1 &= 1 \cdot \sin\left(2\pi \cdot 1 \cdot 0.75 + 0\right)\\ 1 &= 1 \cdot \sin\left(\frac{3\pi}{2}\right)\\ \end{array}\]And, finally at 1 seconds (\(t=1\));
\[\begin{array}{ll} 0 = 1 \cdot \sin\left(2\pi \cdot 1 \cdot 1 + 0\right)\\ 0 = 1 \cdot \sin\left(2\pi\right)\\ \end{array}\]In the following interactive element, you can see this relationship between a circle and sine wave. As the angle moves from \(0\) around the circle to \(2\pi\), you can see the resulting sine wave created.
Figure 1. The Sine Wave
animation from: jackschaedler.github.io/circles-sines-signals/ |
|
As you can see from the above image, the movement of a circle unwraps nicely into a sine wave signal.
When you press the “Play Sound” button for the below interactive element, you can hear a sine wave. Grab the frequency bar and move it left or right to hear various frequencies.
Notice, as you interact with the following, the qualities of this signal. Try to describe it.
Figure 2. Listen to a Sine Wave Click and Drag to Change the Frequency X-Axis: Frequency in Hz animation from: jackschaedler.github.io/circles-sines-signals/ |
|