SLR 13 - Coding Sound & Music Flashcards

(46 cards)

1
Q

What are the two main categories of sound?

A

Analog and Digital.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is analog sound?

A

Natural sound waves occurring in a continuous waveform, e.g. human voice.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is analog signal defined?

A

A continuous signal representing physical measurements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is analog sound data captured?

A

he sound wave is recorded onto a tape or other medium as a continuous waveform.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is analog sound represented?

A

Uses a continuous range of values to represent sound.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is analog sound captured?

A

Continuously varying quantities are measured and captured.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is digital sound?

A

A discrete digital format representing natural sound waves, e.g. DVD, MP3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is digital signal defined?

A

Discrete time signals generated by digital modulation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is digital sound data captured?

A

Analog waveforms are sampled at regular intervals, converted to numbers, and stored digitally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is digital sound represented?

A

Uses discrete (discontinuous) values to represent sound.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How is digital sound captured?

A

Quantities are counted, not measured.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does ADC stand for and what does it do?

A

Analog-to-Digital Converter – converts continuous natural sound waves into digital format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do ADCs capture sound?

A

Used with analog sensors (e.g. microphones) to record amplitude at set intervals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does DAC stand for and what does it do?

A

Digital-to-Analog Converter – converts digital audio signals into continuous natural sound waves.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the two main factors that affect digital sound quality?

A

Sample Rate and Sample Resolution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is sample rate?

A

How often the amplitude of a sound wave is recorded (samples per second), measured in Hertz (Hz).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the typical sample rate for audio files?

A

44,100 Hz (samples per second).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is sample resolution?

A

The amount of detail in each sample – how many different amplitudes can be recorded, measured in bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How many values can 16-bit sample resolution store?

A

65,536 values (2 bytes per sample).

20
Q

How many values can 24-bit sample resolution store?

A

98,304 amplitudes (3 bytes per sample).

21
Q

What is the Nyquist Theorem?

A

To accurately reproduce sound, the sampling rate must be at least twice the highest frequency of the original sound.

22
Q

How do you calculate sound file size?

A

Sample Rate × Duration (s) × Sample Resolution (bits)

23
Q

What is MIDI?

A

A technical standard that allows electronic music components and computers to communicate.

24
Q

What does a MIDI controller do?

A

Sends and receives event messages between devices.

25
What data do MIDI messages contain?
Duration of note, pitch, bass, volume change, vibrato, tempo.
26
Is a MIDI file a recording of audio?
No, it’s a list of instructions to synthesise sound.
27
What is one benefit of MIDI files?
Takes up much less disk space than traditional digital recordings.
28
What is compression?
The process of reducing file size as much as possible.
29
Give four purposes of compression.
Reduce file size Reduce download times Reduce storage requirements Make better use of bandwidth
30
What are the two types of compression?
Lossy and Lossless.
31
What is lossy compression?
Removes data (e.g. reducing colours or simplifying pixels) which reduces quality slightly, often unnoticeable.
32
When is lossy compression unsuitable?
When you can’t afford to lose any original data (e.g. medical imaging, legal files).
33
What is lossless compression?
Compresses data without losing quality – allows full restoration of original file.
34
What types of files is lossless compression ideal for?
Text documents and images with large areas of continuous colour (e.g. vector images).
35
What are two types of lossless compression?
Dictionary Coding and Run-Length Encoding (RLE).
36
What is Dictionary Coding used for?
Compressing text-based documents by storing data items with unique codes in a dictionary.
37
What does a dictionary-coded file consist of?
The dictionary + a sequence of index references to recreate the original.
38
What is Run-Length Encoding used for?
Compressing bitmap images with sequences of repeating pixels.
39
How does Run-Length Encoding work?
Stores frequency/data pairs like: 22 0 (22 white pixels), 6 1 (6 black pixels), etc.
40
What is encryption?
Encoding a message so it can only be read by the sender and intended recipient.
41
What is a cipher?
An algorithm used to convert plaintext to ciphertext.
42
What is the Caesar Cipher?
A substitution cipher where each letter is shifted by a fixed number of positions in the alphabet.
43
What is needed to decrypt Caesar Cipher?
The key – the number of positions the letters were shifted.
44
What is the Vernam Cipher?
A one-time pad cipher offering perfect security if: 1. The key is random 2. The key is as long or longer than the message 3. The key is used once and destroyed 4.The key is shared in person
45
Why is the Caesar Cipher insecure?
It’s easy to crack using brute-force.
46
Why is the Vernam Cipher secure?
It offers perfect security under strict conditions and cannot be cracked if used correctly.