0% found this document useful (0 votes)
10 views

Notess Sound, Text and File Size

Uploaded by

boblo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Notess Sound, Text and File Size

Uploaded by

boblo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Sound:

To represent sound, a computer converts an analogue sound wave into a digital format using
a process called sampling. The sound wave is sampled at regular intervals, and each
sample is converted into a binary number that the computer can process.

Key concepts:

● Sample Rate: This is the number of times the sound wave is sampled per second,
measured in Hertz (Hz). A higher sample rate captures more detail from the sound,
improving accuracy but increasing the file size. For example, CDs use a sample rate
of 44.1 kHz (44,100 samples per second).
● Sample Resolution (Bit Depth): This is the number of bits used to store each
sample. A higher resolution allows for a more precise representation of the sound's
amplitude, leading to better audio quality. However, more bits per sample also
increases the file size.
● Effects: As both sample rate and resolution increase, the accuracy of the recorded
sound improves because more details are captured. However, this also leads to
larger file sizes, requiring more storage and processing power.

Image:

A computer represents an image as a series of small dots called pixels. Each pixel is
assigned a color, which is converted into a binary number that the computer can process.

Key concepts:

● Resolution: This refers to the number of pixels in an image, typically described as


width × height (e.g., 1920 × 1080 pixels). A higher resolution means more pixels,
resulting in greater detail and clarity, but it also increases the file size.
● Color Depth: This is the number of bits used to represent the color of each pixel.
More bits allow for a wider range of colors. For example, an 8-bit color depth can
represent 256 colors, while a 24-bit color depth can represent over 16 million colors.
A higher color depth improves image quality but also increases file size.
● Effects: As both resolution and color depth increase, the image quality improves due
to more detail and color variation. However, the file size also grows, requiring more
storage space.

How data storage is measured and calculating file sizes

Units of Data Storage:

● Bit: The smallest unit of data, representing a binary value (0 or 1).


● Nibble: 4 bits.
● Byte: 8 bits.
● Kibibyte (KiB): 1024 bytes.
● Mebibyte (MiB): 1024 KiB.
● Gibibyte (GiB): 1024 MiB.
● Tebibyte (TiB): 1024 GiB.
● Pebibyte (PiB): 1024 TiB.
● Exbibyte (EiB): 1024 PiB.

Calculating File Size:

The formula depends on the type of file:

1. Image File Size:

● Formula:File Size (bits)=Resolution (width × height)×Colour Depth (bits per pixel)

2. Sound File Size:

● Formula:File Size (bits)=Sample Rate (Hz)×Sample Resolution (bits)×Length


(seconds)

You might also like