Computer Science (15.12.22) Flashcards
What are Analogue to Digital conversions?
-Analogue sound signals are continuous
-Digital sound signals are discrete
-Sound is digitised by repeatedly measuring and recording the sound wave
What are Convertors in Sound?-
-Sound must be converted into digital form 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
What is Sound Sampling?
-Sound is sampled using bit depth and sample rate
-SS is a measurement of the amplitude of a sound wave at a given time
What is the Sample Resolution?
-The number of bits (audio bit depth) 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
-Determines how closely the wave is sampled on the y-axis
What are Hertz?
-Sample rate is usually measures in Hertz (Hz)
-1 Hz = 1 sample per second
-Hz to KHz = divide by 1000
What is the Sampling Rate?
-The greater the frequency, the greater the accuracy, and the file size
-The number of samples taken per second
How do you Calculate the File Size?
-File size (bits) = sample rate x resolution x duration
-6 sample per second x 4-bit resolution x 3 seconds = 72 bits / 8 = 9 bytes
What is Lossy Compression - MP3?
-Removes sounds that we can’t easily hear or that least affect the playback quality
-It leaves out some data from the original so can negatively affect the sound quality
-Useful for storing, downloading or streaming
What is Lossless Compression? (sound)
-The formats are able to reduce the file size when compressed but do not lose any information
-FLAC (Free Lossless Audio Codes)
-ALAC (Apple Lossless Audio Codes)
-WMA (Window Media Audio)
What are other file formats?
-WAV and AIFF files are uncompressed audio files
-Lossy file formats are still very popular as they reduce the file size well
-MP3 (MPEG)
-AAC (Advanced Audio Coding) -> typically higher quality than MP3
What are examples of Bitmap image file formats?
-BMP
-JPG
-GIF
-PNG
-TIFF
What is an example of a Vector image file format?
-SVG
+editing softwares such as Illustrator (AI) and Photoshop (PS)
What is the bit depth of images?
more bits per pixel = more colour combinations
1 bit = 2 colours
2 bits = 4 colours
3 bits = 8 colour
What is BPI and Pixel?
BPI = beats per inch
Pixel = picture element
What are Bitmap (or Raster) Images?
-Made up of PICture ELement or pixels
-a pixel is the smallest identifiable area of an image
-a pixel’s colour can be changed by changing this value
What is the Image Resolution
-Resolution is the number of pixels in the image
-High definition (HD) television: 1920 x 1080 pixels
How do you create an image?
-Each pixel is given a binary value
-Each value represents a different colour
-Using one bit per pixel allows only 2 values, 0 and 1
1 = Black, 0 = White
How does increasing the image resolution affect the file size?
It increases the number of pixels in the image which would increase the file size
Two factors that affect the file size of a bitmap image:
- More pixels, it increases the file size
- More colours, more pixels needed-needs more file size
What is Serial Transmission? (USB)
- Bits are sent one signal at a time over a single wire
-Once the bit has been received, the next bit is sent