📚 Year 11 CAIE Computer Science: Speaking & Listening Data Revision | Year 11 CAIE 计算机:口语/听力备考专项
When you think of “speaking” and “listening” in computer science, you might picture a person talking into a microphone and a computer playing back sound. These actions depend on how computers capture, store, transmit and reproduce audio data. In the CAIE IGCSE Computer Science (0478/0984) syllabus, the concepts of sampling, bit depth, audio file size calculation, compression, and Voice over IP (VoIP) all directly relate to how spoken words and sounds are digitised and heard. This article covers everything you need to master the “speaking & listening” topics for your Year 11 exam.
在计算机科学中,“口语”与“听力”可以理解为声音的捕获与回放。当你对着麦克风说话时,计算机需要将声波转换为数字数据;当你聆听播放的音频时,数字数据又被还原为声音。根据 CAIE IGCSE 计算机科学(0478/0984)大纲,采样、位深度、音频文件大小计算、压缩以及 IP 语音(VoIP)等知识点均与语音的数字化和听觉体验紧密相关。本文将为 Year 11 考生梳理这些 “口语与听力” 考点,助你高效备考。
1. Sound as a Wave: From Speech to Digitised Audio | 声波:从口语到数字化音频
Sound is produced by vibrations that travel through the air as waves. When we speak, our vocal cords create pressure variations that form an analogue signal – a continuous wave with infinitely varying amplitude over time. A computer, however, can only process discrete digital data. To “hear” and “speak”, it must convert this analogue wave into a stream of binary numbers.
声音由振动产生,通过空气以波的形式传播。说话时,声带制造的压力变化形成模拟信号——一个随时间连续变化、幅度无限多的波形。而计算机只能处理离散的数字数据。为了让计算机“听到”和“说出”声音,必须将模拟声波转换为一连串的二进制数字。
This translation involves two key steps: sampling (measuring the wave at discrete time points) and quantisation (assigning an integer value to each measurement). The result is a digital representation of the original spoken sound, which can be stored, edited, compressed and transmitted over networks – the essence of “speaking and listening” in the digital world.
这个转换包括两个关键步骤:采样(在离散时间点测量波形)和量化(为每次测量分配一个整数值)。由此得到原始语音的数字表示,可以存储、编辑、压缩和通过网络传输——这就是数字世界中“口语与听力”的核心。
2. Sampling: Capturing the Spoken Word | 采样:捕获口语
Sampling is the process of measuring the amplitude of a sound wave at regular intervals. Each measurement is called a sample. Think of a person saying “hello”: a microphone converts the sound into an electrical voltage that varies continuously. The computer records the voltage value at fixed time steps – for instance, 44,100 times every second – creating a sequence of numbers that represent the sound.
采样是以固定时间间隔测量声波振幅的过程。每次测量称为一个样本。想象一个人说“你好”:麦克风将声音转换为连续变化的电压,计算机在固定的时间步长记录电压值——例如每秒 44,100 次——从而生成一串代表声音的数字序列。
The sampling rate (or sampling frequency) is measured in hertz (Hz). 1 Hz means one sample per second; 1 kHz = 1,000 Hz. Common sampling rates for speech in telephony are 8 kHz, while music CDs use 44.1 kHz. A higher sampling rate means more samples are taken per second, which captures higher-frequency sounds more faithfully, but also produces a larger file.
采样率(或采样频率)以赫兹(Hz)为单位。1 Hz 表示每秒一个样本;1 kHz = 1,000 Hz。电话语音常用 8 kHz 采样率,音乐 CD 则使用 44.1 kHz。更高的采样率意味着每秒采集更多样本,能更准确地捕捉高频声音,但也会产生更大的文件。
3. Sampling Rate and Quality: Listening Experience | 采样率与音质:听觉体验
Our ears can typically hear frequencies between 20 Hz and 20 kHz. To reproduce a frequency accurately, the sampling rate must be at least twice the highest frequency component of the sound (Nyquist theorem). That is why CD-quality audio uses 44.1 kHz – it can represent sounds up to about 22 kHz, covering the entire human hearing range. For speech, where most energy is below 4 kHz, a sampling rate of 8 kHz is often sufficient.
人耳通常能听到 20 Hz 至 20 kHz 之间的频率。要准确再现某个频率,采样率必须至少是该频率的两倍(奈奎斯特定理)。因此 CD 音质音频采用 44.1 kHz——它能表示高达约 22 kHz 的声音,覆盖整个人耳听觉范围。对于语音,大部分能量在 4 kHz 以下,8 kHz 的采样率通常就足够了。
If the sampling rate is too low, a phenomenon called aliasing occurs, where high-frequency sounds are misrepresented as lower frequencies, making the audio sound distorted or “gritty”. During listening, inadequate sampling destroys the clarity of spoken words, turning smooth speech into a harsh, unrecognisable mess.
如果采样率过低,会发生混叠现象(aliasing),高频声音被错误地表现为低频,音频听起来失真或“刺耳”。在听力体验中,采样不足会破坏口语的清晰度,使流畅的语音变成粗糙、难以辨认的噪音。
4. Bit Depth: Resolution of Sound | 位深度:声音分辨率
Bit depth (or sample resolution) determines how many bits are used to store each sample amplitude. It controls the precision of each measurement. A higher bit depth allows more distinct amplitude levels, resulting in a more accurate representation of the original sound wave. If bit depth is too low, quantisation noise becomes audible – a background hiss that degrades the listening experience.
位深度(或样本分辨率)决定每个振幅采样使用多少比特存储,它控制着每次测量的精度。更高的位深度可分辨更多的振幅级别,从而更准确地还原原始声波。如果位深度太低,量化噪声就会变得可闻——一种背景嘶嘶声,降低听觉体验。
For example, 8-bit audio provides 2⁸ = 256 possible amplitude levels, while 16-bit audio offers 2¹⁶ = 65,536 levels. Telephony often uses 8-bit encoding, whereas CD audio uses 16-bit. Professional audio may employ 24-bit for a much finer dynamic range. When you speak, a wider bit depth captures the subtle shadings of your voice, making playback sound more natural.
例如,8 位音频提供 2⁸ = 256 个振幅级别,而 16 位音频提供 2¹⁶ = 65,536 个级别。电话系统常使用 8 位编码,而 CD 音频使用 16 位。专业音频可能用 24 位以获得更精细的动态范围。当你说话时,更宽的位深度能捕捉语音的微妙变化,使回放听起来更自然。
5. Calculating Audio File Sizes | 计算音频文件大小
One of the most common exam questions is calculating the storage space required for an audio clip. The fundamental formula uses the sampling rate, bit depth, duration in seconds, and the number of channels (1 for mono, 2 for stereo).
最常见的考试题之一是计算一段音频所需的存储空间。基本公式使用采样率、位深度、时长(秒)以及声道数(单声道为 1,立体声为 2)。
Audio file size (bits) = sample rate (Hz) × bit depth × duration (s) × number of channels
音频文件大小(比特)= 采样率(Hz) × 位深度 × 时长(s) × 声道数
To convert result to bytes, divide by 8; to kilobytes, divide by 1024; to megabytes, divide by 1,048,576. Always check the units required in the question. For example, a 10-second mono recording at 8 kHz with 8-bit depth yields: 8,000 × 8 × 10 × 1 = 640,000 bits = 80,000 bytes ≈ 78.1 KiB.
要将结果转为字节,除以 8;转为千字节,除以 1024;转为兆字节,除以 1,048,576。务必根据题目要求进行单位转换。例如,一段 10 秒、8 kHz 采样率、8 位深度的单声道录音:8,000 × 8 × 10 × 1 = 640,000 bits = 80,000 bytes ≈ 78.1 KiB。
If the audio uses stereo (2 channels), multiply by 2. A 60-second stereo track at 44.1 kHz and 16-bit would be: 44,100 × 16 × 60 × 2 = 84,672,000 bits = 10,584,000 bytes ≈ 10.1 MB. Being precise with units is often the difference between a right answer and a lost mark.
若音频为立体声(2 声道),需乘以 2。一段 60 秒、44.1 kHz、16 位的立体声曲目:44,100 × 16 × 60 × 2 = 84,672,000 bits = 10,584,000 bytes ≈ 10.1 MB。单位转换的准确性常常是得分与失分的分水岭。
6. Choosing Parameters for Different Use Cases | 不同应用场景的参数选择
Selecting the right sampling rate and bit depth is a trade-off between sound quality and file size. The table below summarises typical scenarios related to “speaking and listening”.
选择合适的采样率与位深度需要在音质和文件大小之间做出权衡。下表总结了与“口语和听力”相关的典型场景。
| Application | Sampling Rate | Bit Depth | Channels | Reason | 应用场景 | 采样率 | 位深度 | 声道 | 原因 |
|---|---|---|---|---|---|---|---|---|---|
| VoIP call | 8 kHz | 8-bit | 1 (mono) | Keep data rate low; speech clarity matters more than high fidelity | VoIP 通话 | 8 kHz | 8 位 | 1(单声道) | 保持低数据率;语音清晰度比高保真更重要 |
| Podcast / audiobook | 22.05 kHz | 16-bit | 1 or 2 | Good speech quality with moderate file size | 播客/有声书 | 22.05 kHz | 16 位 | 1 或 2 | 良好的语音质量、适中的文件大小 |
| Music CD | 44.1 kHz | 16-bit | 2 (stereo) | Captures the full audible range for music enjoyment | 音乐 CD | 44.1 kHz | 16 位 | 2(立体声) | 捕捉完整听觉范围以享受音乐 |
| High-definition audio | 96 kHz | 24-bit | 2 or more | Studio-quality recording, very large files | 高解析度音频 | 96 kHz | 24 位 | 2 或更多 | 录音室品质,文件非常大 |
In the exam, you may need to justify parameter choices. Always link higher figures to better quality and larger storage, while lower settings save space but impair the “listening” experience, especially for complex sounds like music.
考试中你可能需要说明参数选择的理由。记住,参数更高意味着质量更好、存储更大;参数更低则节省空间,但会损害“听力”体验,尤其是对音乐这类复杂声音。
7. Audio Compression: Lossy vs Lossless | 音频压缩:有损与无损
Compression reduces file size to save storage and speed up transmission – essential for many speaking and listening applications, like voice messages and streaming music. There are two main types: lossless and lossy compression.
压缩可以减小文件体积,节省存储空间并加快传输速度——这对许多口语与听力应用(如语音消息和音乐流媒体)至关重要。主要有两种类型:无损压缩和有损压缩。
Lossless compression (e.g., FLAC, ALAC) reduces file size without discarding any data. The original audio can be perfectly reconstructed. It works by finding patterns and redundancies, similar to zip files. It is used where quality must be preserved, such as music archiving, but it achieves only moderate size reduction.
无损压缩(如 FLAC、ALAC)在不丢弃任何数据的前提下缩小文件。原始音频可以完美重建。它通过寻找模式和冗余来实现,类似于 zip 文件。适用于需要保留品质的场合,如音乐归档,但压缩率一般。
Lossy compression (e.g., MP3, AAC) permanently removes some sound data, especially frequencies that are less audible to human ears (perceptual coding). This can dramatically shrink a file to 10% of its original size, but the lost data can never be recovered. During listening, heavy lossy compression may introduce artefacts like a “swishing” sound on cymbals or muffled speech.
有损压缩(如 MP3、AAC)会永久移除部分声音数据,尤其是人耳较不敏感的频率(感知编码)。这可将文件压缩到原大小的 10%,但丢失的数据永远无法恢复。在听力体验中,过度有损压缩会引入失真,如镲片声发“嘶”,或语音发闷。
In Voice over IP, lossy compression is typically chosen because the priority is low data rate and real-time delivery, not high fidelity. The human ear is quite tolerant of minor imperfections in speech.
在 IP 语音(VoIP)中,通常选择有损压缩,因为优先考虑的是低数据率和实时传输,而非高保真。人耳对语音中的细微瑕疵相当宽容。
8. Streaming and VoIP: Transmitting Speech Over Networks | 流媒体和 VoIP:通过网络传输语音
Streaming audio and VoIP (Voice over Internet Protocol) let us “speak” and “listen” across the internet in real time. In both cases, the audio data is broken into small packets, sent over the network and reassembled at the destination. For live conversations, keeping latency (delay) low is critical, so that participants can interact naturally.
音频流媒体和 VoIP(基于 IP 的语音传输)让我们能够通过互联网实时“说”和“听”。两种情况下,音频数据都被分成小数据包,通过网络发送并在接收端重新组合。对于实时对话,保持低延迟(lag)至关重要,这样参与者才能自然交流。
VoIP applications (Skype, Zoom, WhatsApp calls) typically use lossy codecs (e.g., G.711, Opus) that compress speech aggressively. They also employ buffering to smooth out network jitter – a tiny store of audio data played out at a steady rate while new packets arrive. If a packet is lost, the codec may fill the gap with a prediction or simply play silence, which the listener perceives as a slight glitch or “robotic” voice.
VoIP 应用(Skype、Zoom、WhatsApp
Published by TutorHao | Year 11 Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导