20
Skills: Set sample size and rate in Audacity Concepts: analog versus digital data, analog to digital conversion, digital to analog conversion, sample rate, sample size, quality-file size trade off This work is licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 License. Recording and encoding analog data

S kills : Set sample size and rate in Audacity

  • Upload
    haig

  • View
    20

  • Download
    0

Embed Size (px)

DESCRIPTION

Recording and encoding analog data. S kills : Set sample size and rate in Audacity C oncepts : analog versus digital data, analog to digital conversion, digital to analog conversion, sample rate, sample size, quality-file size trade off. - PowerPoint PPT Presentation

Citation preview

Page 1: S kills :  Set sample size and rate in  Audacity

Skills: Set sample size and rate in AudacityConcepts: analog versus digital data, analog to digital conversion, digital to analog conversion, sample rate, sample size, quality-file size trade off

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Recording and encoding analog data

Page 2: S kills :  Set sample size and rate in  Audacity

Where does this topic fit?

• Internet concepts– Applications– Technology– Implications

• Internet skills– Application development– Content creation– User skills

Page 3: S kills :  Set sample size and rate in  Audacity

Analog data

But, computers require digital data …

Page 4: S kills :  Set sample size and rate in  Audacity

http://som.csudh.edu/fac/lpress/presentations/clocks/clocks.html

Which clock is digital? Analog?

Page 5: S kills :  Set sample size and rate in  Audacity

A digital clock

00 0201 03 04 …

01.49

Page 6: S kills :  Set sample size and rate in  Audacity

Analog to digital converter

Digital to analog converter

Recording and playing sound

Computer

10010110 (150)11001001 (201)11000111 (199)…

Computer

10010110 (150)11001001 (201)11000111 (199)…

Page 7: S kills :  Set sample size and rate in  Audacity

Analog to digital converter

Digital to analog converter

Reading and adjusting temperature

Computer

10010110 (150)11001001 (201)11000111 (199)…

Computer

10010110 (150)11001001 (201)11000111 (199)…

Page 8: S kills :  Set sample size and rate in  Audacity

Sensors for all sorts of things• Speed• Rate of flow• Pressure• Altitude• Acceleration• Motion• Rotation• Temperature• Light level• Sound• Compass direction• Blood pressure• Heart rate• And more …

The Internet of things

Page 9: S kills :  Set sample size and rate in  Audacity

Sampling an analog signal

How can we improve the fit of the digital curve? (Hint: 2 ways)

Page 10: S kills :  Set sample size and rate in  Audacity

What is the second thing we can increase? Hint: how did we increase the variety of colors in images or symbols in text?

1. Increase the sampling rate

Page 11: S kills :  Set sample size and rate in  Audacity

00

11

10

01

000

010001

011100

110101

111

Two bits per sample

Three bits per sample

2. Increase the sample size

Page 12: S kills :  Set sample size and rate in  Audacity

Finer voltage steps

Page 13: S kills :  Set sample size and rate in  Audacity

Increase sample rate → quality ↑ file size ↑

Increase sample size → quality ↑ file size ↑

Recording tradeoffs

Page 14: S kills :  Set sample size and rate in  Audacity

0 0 A

0 1 B

1 0 C

1 1 D

Text2-bits/character

Image1-bit/pixel

Sound2-bits/sample

Increase code bits → quality ↑ file size ↑

Page 15: S kills :  Set sample size and rate in  Audacity

Edit > Preferences > Quality

Set default sample rate and size

Page 16: S kills :  Set sample size and rate in  Audacity

Set sample rate and size

Page 17: S kills :  Set sample size and rate in  Audacity

Analog Digital

What other real world phenomena can we sample and input to a computer?

Page 18: S kills :  Set sample size and rate in  Audacity

Summary

Page 19: S kills :  Set sample size and rate in  Audacity

Self-study questions

At a sampling rate of 8,000 16-bit mono samples per second, what would be the file size for a one minute recording?

How much larger would a stereo recording be?

How much larger would the file size be if we were to sample at 48,000 samples per second?

How much larger would the file size be if the samples were 32 bits each?