Frequency is how many times the audio wave repeats in one second. It is measured in Hertz (Hz) and determines the pitch of the sound.
Click to reveal answer
beginner
Define amplitude in an audio signal.
Amplitude is the height of the audio wave. It shows how loud the sound is. Bigger amplitude means louder sound.
Click to reveal answer
beginner
What does the waveform of an audio signal represent?
The waveform is a visual shape of the audio signal over time. It shows changes in amplitude and helps us understand the sound's pattern.
Click to reveal answer
intermediate
Explain sampling rate in audio signals.
Sampling rate is how many times per second the audio signal is measured when converting to digital. Higher rates capture more detail.
Click to reveal answer
intermediate
What is bit depth in digital audio?
Bit depth is how many bits are used to represent each audio sample. Higher bit depth means better sound quality and less noise.
Click to reveal answer
Which characteristic of an audio signal determines its pitch?
AAmplitude
BFrequency
CSampling rate
DBit depth
✗ Incorrect
Frequency controls how high or low a sound is, which we hear as pitch.
What does a higher amplitude in an audio signal mean?
ALouder sound
BSlower wave
CMore noise
DLower pitch
✗ Incorrect
Higher amplitude means the sound is louder.
What is the unit used to measure frequency?
ADecibels
BBits
CSeconds
DHertz
✗ Incorrect
Frequency is measured in Hertz (Hz), which counts cycles per second.
Why is a higher sampling rate important in digital audio?
AIt captures more sound detail
BIt reduces file size
CIt lowers pitch
DIt increases noise
✗ Incorrect
Higher sampling rates capture more detail from the original sound.
What does bit depth affect in digital audio?
APitch accuracy
BLoudness
CSound quality and noise level
DSampling speed
✗ Incorrect
Bit depth affects how accurately sound is represented and the amount of noise.
Describe the main characteristics of an audio signal and how they affect the sound we hear.
Think about pitch, loudness, and digital quality.
You got /5 concepts.
Explain why sampling rate and bit depth are important when converting audio to digital form.
Consider how digital audio tries to keep the original sound.
You got /3 concepts.
Practice
(1/5)
1. Which characteristic of an audio signal determines how many samples are taken per second?
easy
A. Duration
B. Amplitude
C. Frequency
D. Sampling rate
Solution
Step 1: Understand sampling rate meaning
Sampling rate is the number of samples recorded per second in an audio signal.
Step 2: Compare with other characteristics
Amplitude is signal strength, frequency is pitch, duration is length of sound.
Final Answer:
Sampling rate -> Option D
Quick Check:
Samples per second = Sampling rate [OK]
Hint: Sampling rate = samples per second in audio [OK]
Common Mistakes:
Confusing frequency with sampling rate
Thinking amplitude controls sample count
Mixing duration with sampling rate
2. Which of the following is the correct way to represent a sine wave signal in Python using numpy for frequency 440 Hz and sampling rate 8000 Hz?
easy
A. t = np.linspace(0, 1, 8000); signal = np.sin(2 * np.pi * 440 * t)
B. t = np.arange(0, 1, 440); signal = np.sin(2 * np.pi * 8000 * t)
C. t = np.linspace(0, 440, 8000); signal = np.sin(2 * np.pi * t)
D. t = np.arange(0, 1, 1/440); signal = np.sin(2 * np.pi * 8000 * t)
Solution
Step 1: Define time vector correctly
Use np.linspace(0, 1, 8000) to create 1 second with 8000 samples.
Step 2: Calculate sine wave with correct frequency
Signal = sin(2π * frequency * time), so 2 * np.pi * 440 * t is correct.
Final Answer:
t = np.linspace(0, 1, 8000); signal = np.sin(2 * np.pi * 440 * t) -> Option A
Quick Check:
Time vector and frequency match signal formula [OK]
Hint: Time vector length = sampling rate, sine uses 2πf t [OK]
Common Mistakes:
Using np.arange with wrong step size
Swapping frequency and sampling rate
Incorrect time vector range
3. Given this Python code snippet, what is the maximum amplitude value of the generated signal?
import numpy as np
sampling_rate = 1000
frequency = 5
t = np.linspace(0, 1, sampling_rate)
signal = 0.5 * np.sin(2 * np.pi * frequency * t)
medium
A. 1.0
B. 0.5
C. 5.0
D. 0.05
Solution
Step 1: Understand amplitude scaling
The sine function outputs values between -1 and 1. Multiplying by 0.5 scales amplitude to ±0.5.
Step 2: Identify maximum amplitude
Maximum amplitude is the positive peak, which is 0.5 here.
Final Answer:
0.5 -> Option B
Quick Check:
Amplitude scale factor = 0.5 [OK]
Hint: Amplitude scales sine peak values directly [OK]
Common Mistakes:
Confusing frequency with amplitude
Ignoring the 0.5 multiplier
Assuming sine max is always 1 without scaling
4. Identify the error in this code that generates a 1-second 440 Hz sine wave sampled at 8000 Hz:
import numpy as np
t = np.linspace(0, 1, 440)
signal = np.sin(2 * np.pi * 440 * t)
medium
A. The sine function should use cosine instead
B. The frequency should be 8000 instead of 440
C. The time vector length should be 8000, not 440
D. The sampling rate should be 440 instead of 8000
Solution
Step 1: Check time vector length for sampling rate
Sampling rate is 8000 Hz, so time vector must have 8000 points for 1 second.
Step 2: Identify mismatch in code
Code uses 440 points in time vector, which is incorrect for 8000 Hz sampling.
Final Answer:
The time vector length should be 8000, not 440 -> Option C
Quick Check:
Sampling rate = time vector length [OK]
Hint: Time vector length = sampling rate x duration [OK]
Common Mistakes:
Confusing frequency with sampling rate
Changing sine to cosine unnecessarily
Using wrong sampling rate value
5. You have a recorded audio signal sampled at 16000 Hz with a duration of 2 seconds. You want to extract a 440 Hz sine wave component from it. Which steps correctly describe this process?
hard
A. Apply a bandpass filter around 440 Hz, then analyze amplitude and phase
B. Downsample the signal to 440 Hz, then compute FFT
C. Increase amplitude to 16000, then apply lowpass filter at 2 Hz
D. Use a highpass filter at 2 seconds, then normalize frequency
Solution
Step 1: Use bandpass filter around target frequency
To isolate 440 Hz, apply a bandpass filter centered near 440 Hz to keep that frequency and remove others.
Step 2: Analyze filtered signal
After filtering, analyze amplitude and phase to understand the sine wave component.
Final Answer:
Apply a bandpass filter around 440 Hz, then analyze amplitude and phase -> Option A
Quick Check:
Bandpass filter isolates frequency component [OK]
Hint: Bandpass filter isolates specific frequency [OK]
Common Mistakes:
Downsampling to frequency value instead of sampling rate
Confusing filter types and cutoff frequencies
Misunderstanding duration as filter parameter
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.