3.5.6.7 Data compression, 3.5.6.6 Musical Intstrument Digital Interface (MIDI) Flashcards

1
Q

What is lossy compression? What is the product of lossy comprsssion on the original file?

A

A type of compression in which data is permanently discarded.
This results in the decompressed file being an approximation of the original

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

Give 4 examples of lossy compression formats

A

MP3 (Motion Pictures Expert Group Audio Layer 3)- Audio file
JPEG (Joint Photographic Experts Group)- Image files
MPEG-1 (Motion Pictures Expert Group) - Video files; suitable for small screen, low resolution video
MPEG-2 (Motion Pictures Expert Group) - Video files: suitable for full screen , high resolution video

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

Why is lossy compression viable if it causes permanent data loss?

A

Data in sound and image files can be lost without a noticeable effect on quality, because the human eye and ear cannot detect or distinguish between small changes

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

When is lossy compression NOT viable?

A

For important text files that contain letters and numbers where no data can be lost.

(Imagine trying to recreate a word where you have a few missing letters here and there, this would no longer be an approximation as the original file is unrecognisable)

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

What is the risk of lossy compression?

A

It is a destructive process, which means original data is lost . This means if lossy compression is repeatedly done on one file, it will eventually become unrecognisable.

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

What is lossless compression?

A

Compression techniques in which no data is lost.
The original file is identical to the decompressed file.

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

Give 3 lossless compression formats

A

PNG (Portable Network Graphic) - Images that must retain highest level of quality
GIF (Graphics Interchange Format) - Images and short animations
ZIP (N/A;Not an acronym) - Used to compress one or more files together

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

What is dictionary-based compression? What is the drawback?

A

A lossless method of compression in which each repeated pattern is given a smaller code than it’s binary representation, reducing the amount of bits needed to store the data.

However, a dictionary file explaining what each code means has to be appended , which increases size.

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

What is RLE?

A

Run Length Encoding is a method of lossless compression where repeated runs of binary patterns and replacing them with a single instance of the number and how another digit for how often it occurs.

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

What is the Nyquist theorem?

A

It states that the sampling rate must be atleast twice the maximum frequency at any point of the sound wave, so that the sound maybe accurately represented.

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

How does midi work? how do they differ from sound files?

A

It uses a series of instructions called “event messages” to explain what notes should be played, how they should be played, and when they should be played.

MIDI files hold signals rather than digital representations of analogue sound, such as:
Digital signals that specify notation, pitch, and intensity
Control signal for parameters like volume and vibrato
clock signals to set the tempo

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

What is MIDI?

A

MIDI is a technical standard that includes protocols and hardware specifications for the communication of electronic musical instruments and computers to produce and manipulate music

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

What is the advantage and disadvantage of MIDI?

A

It uses less storage space that sampled recording
it can be easily manipulated to get the desired sound

it may not often sound realistic and sound computerised/electronic

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