Unit 3 Flashcards
Binary number system
- Computers use a binary number system consisting of only 0s and 1s
- Everything that a computer needs to process must be converted into binary format
- This format is used for storing numbers, text, images, sound and program instructions
Bitmap image file formats
- BMP
- JPG
- GIF
- PNG
- TIFF
What is sample resolution in terms of an image?
The number of bits per pixel
What is sample resolution in terms of a sound file?
The number of bits per sample
What is the typical screen resolution?
72 PPI (Pixels Per Inch)
Increasing the number of colours
More bits per pixel = more colour combinations
- 1 bit = 2 colours
- 2 bits = 4 colours
- 3 bits = 8 colours
- 4 bits = 16 colours
What is the relationship between colour and bit depth?
- Each pixel can represent a finite number of colours
- A pixel is attributed a number of n bits
- The number of combinations (2^n) dictates the bit depth and therefore the number of colours that can be represented
- A higher bit depth gives a greater range of colour and a better quality of image
How does the number of colours affect the file size?
An increase in the number of colours that are used in an image (the bit depth) will increase the file size
How does the size of the image affect file size?
- Size has two meanings
- An increase in the number of pixels in the image will increase the file size
- If an images physical size is increased by making each pixel larger than there is no change in the file size
Difference between analogue and digital sound signals
- Analogue sound signals are continuous
- Digital signals are discrete, this means the sound wave is sampled at regular intervals
how is sound converted into digital form (what is used to convert the sound waves)?
- Sounds must be converted into a digital from in order to be stored and processed by a computer
- An Analogue to Digital Converter (ADC) is used to convert inputs to digital signals
- A Digital to Audio Converter (DAC) is used to convert digital signals to outputs
ADC –> Processing –> DAC
What is a sound sample?
A measurement of amplitude of a sound wave at a given time
Sound sampling
- Sound is sampled using a sample resolution (bit depth) and sampling rate
- The sample resolution determines how closely the wave is sampled on the y-axis
What is the sampling rate?
- The sampling rate is the number of samples taken per second. It is measured in hertz (Hz)
- The frequency or sample rate per second affects the level of detail in the digital representation
- The greater the frequency, the greater the accuracy and file size
What is the sample resolution?
- The number of bits used to record each measurement
- More bits used per sample enables the height of the wave to be more accurately measured but increases the file size
Lossless compression
Lossless compression formats are able to reduce the file size when compressed but not lose any information
Examples of lossless music file formats
- FLAC (Free Lossless Audio Codec)
- ALAC (Apple Lossless Audio Codec)
- WMA Lossless (Widows Media Audio)
Lossy compression
- Lossy compression removes sounds that we can’t easily hear or that least affect the perceived playback quality
- Lossy compression leaves out some data from the original so can negatively affect the sound quality
- Useful for storing, downloading or streaming
What is the formula for calculating the size of an uncompressed music file?
sampling rate x bit depth x duration