SlideShare a Scribd company logo
1 of 32
Download to read offline
The Analog to Digital Conversion Process



          Álvaro Montoya Thomas
                March 2013
            Second Submission
INTRODUCTION




  Hi! I am Álvaro Montoya Thomas from Madrid, Spain.
  This is the lesson for the 2nd week of Introduction To
Music Production at coursera.org and I am going to teach
        the analog to digital conversion process.




                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
INTRODUCTION




In this assignment I am going to try to develop the topic
            using Question – Answer schema.
                 Let's see how it works.




                                           Álvaro Montoya Thomas
                                           March 2013
                                           Second Submission
ANALOG SIGNAL
        Q: What is an analog signal?

A: Is the one that varies continuously in time.




                                                t




                                       Álvaro Montoya Thomas
                                       March 2013
                                       Second Submission
ANALOG SIGNAL
            Q: What about sound?

A: Sound is a sequence of variations of pressure
              continuously in time.




                                               t




                                      Álvaro Montoya Thomas
                                      March 2013
                                      Second Submission
DIGITAL SIGNAL




             Q: And a digital signal?

A: is a representation of discrete values over time.




                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
DIGITAL SIGNAL



 Q: Wait, wait... discrete? What do you mean, discrete?

A: OK, “discrete” means that it does not vary smoothly in
            time, unlike a continuous signal.




                                           Álvaro Montoya Thomas
                                           March 2013
                                           Second Submission
DIGITAL SIGNAL




     Q: All right. How is that reprensentation then?

A: It depends. But in the computer's world it is all about 1
                           and 0.




                                             Álvaro Montoya Thomas
                                             March 2013
                                             Second Submission
DIGITAL SIGNAL
Q: What? Ones and zeros? Like MATRIX???




                                             www.cultureblues.com


                                 Álvaro Montoya Thomas
                                 March 2013
                                 Second Submission
DIGITAL SIGNAL



A: not so fast. It is not as fancy as that. Actually it looks
                       more like this:



            1


            0




                                              Álvaro Montoya Thomas
                                              March 2013
                                              Second Submission
DIGITAL SIGNAL
Q: uh... I see. But I do not get the point in having just 1
                and 0 as data for sound :-(

 A: binary data is understandable by a computer. The
reason why is called “binary” is because they are just
                     two: 1 and 0.


            1


            0




                                             Álvaro Montoya Thomas
                                             March 2013
                                             Second Submission
DIGITAL SIGNAL
               Q: Ah! Then each digit is a bit!

A: precisely. A sequence of those bits is a “word”. The
longer the sequence is, the more information can be in
            there. An audio CD has 16 bits.


           1



           0




                                              Álvaro Montoya Thomas
                                              March 2013
                                              Second Submission
DIGITAL SIGNAL


        Q: I still do not get it.

    A: Patience. Later on you will.



1



0




                                    Álvaro Montoya Thomas
                                    March 2013
                                    Second Submission
SAMPLING


 Q: Cool. How we get from the sound wave to the bits?

A: the first step is “sampling”: taking pieces of the wave
  variations over time. The number of samples in time
 makes the sampling frequency, which is measured in
                       Kilohertz (kHz).




                                           Álvaro Montoya Thomas
                                           March 2013
                                           Second Submission
SAMPLING


Q: How many of those samples are taken?

A: It depends on the stablished frequency.



                                Samples




                                           t

                                  Álvaro Montoya Thomas
                                  March 2013
                                  Second Submission
SAMPLING

        Q: Is there any recommended number?

A: The most used ones go from 24 kHz to 48 kHz but the
                recommended one is
        44 100 samples per second (44.1 kHz)




                                        Álvaro Montoya Thomas
                                        March 2013
                                        Second Submission
SAMPLING


Q: Why? Let's take 100000 bits and 10000000000 kHz of
    frequency to achieve the best sound ever!!!!!

A: No. It does not work like that. The more samples one
       takes, the bigger the bandwidth has to be.




                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
SAMPLING


                 Q: So what?

A: Well, it just would not fit in a CD or a DVD.




                                       Álvaro Montoya Thomas
                                       March 2013
                                       Second Submission
SAMPLING


              Q: Oh...

A: You know who “Harry Nyquist” was?




                              Álvaro Montoya Thomas
                              March 2013
                              Second Submission
Shake it

                      SAMPLING

          Q: Harry Nyquist? A Swedish DJ?

A: He was Swedish, but not a DJ. He was important to
make electronic music happen, though. He enunciated
 the following condition together with the American
                  Claude Shannon:

“the minimum sample rate required to achieve a quality
 digital recording has to be twice the frequency of the
     audio signal to be recorded (and digitalized)”.



                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
SAMPLING



            Q: All right. Then why 44.1kHz?

A: Because, as we saw last week with the Master Loudon
 Stearns, the frequency of the higher notes that we can
 hear is 20kHz. 44.1kHz is just more than two times that
 frequency in order to get higher tones over than limit.




                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
QUANTIZATION




        Q: Ah. What else is missing here?

A: The next step is “quantization”. We are going to
 convert those samples into discrete values: bits.




                                       Álvaro Montoya Thomas
                                       March 2013
                                       Second Submission
QUANTIZATION
Q: Hey, what is going on with the vertical axis? And what
                      is this wave?

A: Volts. Differences in tension. Those electronic values
are understood by machines. And the wave is one of the
                         samples.
   Volts

       4

       3

       2

       1
                                                  t

                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
QUANTIZATION
           Q: And how are those volts translated?

A: Here come the bits. Since they are binary, position and
amount of those 0 and 1 play an important role here. The
    more digits are used, the higher numbers can be
                      represented.
   Volts

       4

       3

       2

       1
                                                   t

                                          Álvaro Montoya Thomas
                                          March 2013
                                          Second Submission
QUANTIZATION
                      Q: You mean more bits?

A: Yes. With one bit we can just choose either 0 or 1. With
two bits we have more options: 00, 01, 10, 11. As you see
        they are four values: zero, one, two three.
   Volts

       4

       3

       2

       1
                                                        t
           01   10   11

                                               Álvaro Montoya Thomas
                                               March 2013
                                               Second Submission
SAMPLING
 Q: oh... why you do not continue with the given
                    example?

  A: Because I need more values to represent all
                   the signal.
Volts

    4

    3

    2

    1

        01   10   11

                                      Álvaro Montoya Thomas
                                      March 2013
                                      Second Submission
SAMPLING

              Q: What can you do? I am scared...

              A: Look, let's just add one more bit.
Volts   6

        5

        4

        3

        2

        1
            001 010 011 100 101 110 110 110 101 100 100 001

                                                         Álvaro Montoya Thomas
                                                         March 2013
                                                         Second Submission
SAMPLING
             Q: So you added one more possibility?

         A: Not really. I doubled the possibilities. By
        using one more bit we can go from 0 to 7, so
                      eight possibilities.
             Is it always this way: from 0 to 2n-1
Volts   6

        5

        4

        3

        2

        1

            001 010 011 100 101 110 110 110 101 100 100 001

                                                              Álvaro Montoya Thomas
                                                              March 2013
                                                              Second Submission
SAMPLING


       Q: Wow... but those lines were really crap.

A: Sorry, is all what I can do by drawing with Open Office.




                                            Álvaro Montoya Thomas
                                            March 2013
                                            Second Submission
CODIFICATION

     Q: I guess there is nothing else to know, is it?

A: There is still one step to consider: “codification”. The
gathered binary values are translated so that they can be
                  represented in your DAW.

             001 010 011 100 101 110 110 110 101 100 100 001

                                   =

                          123456665441




                                                    Álvaro Montoya Thomas
                                                    March 2013
                                                    Second Submission
THANKS FOR READING!


        Q: Wow, thanks a lot. Was really helpful.

A: My pleasure. I hope this helped anyone else apart from
                           you!




                                         Álvaro Montoya Thomas
                                         March 2013
                                         Second Submission
The Analog to Digital Conversion Process



          Álvaro Montoya Thomas
                March 2013
            Second Submission

More Related Content

Viewers also liked (7)

Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
 
VOIP Presentation
VOIP Presentation VOIP Presentation
VOIP Presentation
 
Sampling theory
Sampling theorySampling theory
Sampling theory
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)
 
Chapter 3 - Data and Signals
Chapter 3 - Data and SignalsChapter 3 - Data and Signals
Chapter 3 - Data and Signals
 
Sampling theory
Sampling theorySampling theory
Sampling theory
 
The effect of technology on today's society ppt
The effect of technology on today's society pptThe effect of technology on today's society ppt
The effect of technology on today's society ppt
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

Amt coursera - imp - submission 2

  • 1. The Analog to Digital Conversion Process Álvaro Montoya Thomas March 2013 Second Submission
  • 2. INTRODUCTION Hi! I am Álvaro Montoya Thomas from Madrid, Spain. This is the lesson for the 2nd week of Introduction To Music Production at coursera.org and I am going to teach the analog to digital conversion process. Álvaro Montoya Thomas March 2013 Second Submission
  • 3. INTRODUCTION In this assignment I am going to try to develop the topic using Question – Answer schema. Let's see how it works. Álvaro Montoya Thomas March 2013 Second Submission
  • 4. ANALOG SIGNAL Q: What is an analog signal? A: Is the one that varies continuously in time. t Álvaro Montoya Thomas March 2013 Second Submission
  • 5. ANALOG SIGNAL Q: What about sound? A: Sound is a sequence of variations of pressure continuously in time. t Álvaro Montoya Thomas March 2013 Second Submission
  • 6. DIGITAL SIGNAL Q: And a digital signal? A: is a representation of discrete values over time. Álvaro Montoya Thomas March 2013 Second Submission
  • 7. DIGITAL SIGNAL Q: Wait, wait... discrete? What do you mean, discrete? A: OK, “discrete” means that it does not vary smoothly in time, unlike a continuous signal. Álvaro Montoya Thomas March 2013 Second Submission
  • 8. DIGITAL SIGNAL Q: All right. How is that reprensentation then? A: It depends. But in the computer's world it is all about 1 and 0. Álvaro Montoya Thomas March 2013 Second Submission
  • 9. DIGITAL SIGNAL Q: What? Ones and zeros? Like MATRIX??? www.cultureblues.com Álvaro Montoya Thomas March 2013 Second Submission
  • 10. DIGITAL SIGNAL A: not so fast. It is not as fancy as that. Actually it looks more like this: 1 0 Álvaro Montoya Thomas March 2013 Second Submission
  • 11. DIGITAL SIGNAL Q: uh... I see. But I do not get the point in having just 1 and 0 as data for sound :-( A: binary data is understandable by a computer. The reason why is called “binary” is because they are just two: 1 and 0. 1 0 Álvaro Montoya Thomas March 2013 Second Submission
  • 12. DIGITAL SIGNAL Q: Ah! Then each digit is a bit! A: precisely. A sequence of those bits is a “word”. The longer the sequence is, the more information can be in there. An audio CD has 16 bits. 1 0 Álvaro Montoya Thomas March 2013 Second Submission
  • 13. DIGITAL SIGNAL Q: I still do not get it. A: Patience. Later on you will. 1 0 Álvaro Montoya Thomas March 2013 Second Submission
  • 14. SAMPLING Q: Cool. How we get from the sound wave to the bits? A: the first step is “sampling”: taking pieces of the wave variations over time. The number of samples in time makes the sampling frequency, which is measured in Kilohertz (kHz). Álvaro Montoya Thomas March 2013 Second Submission
  • 15. SAMPLING Q: How many of those samples are taken? A: It depends on the stablished frequency. Samples t Álvaro Montoya Thomas March 2013 Second Submission
  • 16. SAMPLING Q: Is there any recommended number? A: The most used ones go from 24 kHz to 48 kHz but the recommended one is 44 100 samples per second (44.1 kHz) Álvaro Montoya Thomas March 2013 Second Submission
  • 17. SAMPLING Q: Why? Let's take 100000 bits and 10000000000 kHz of frequency to achieve the best sound ever!!!!! A: No. It does not work like that. The more samples one takes, the bigger the bandwidth has to be. Álvaro Montoya Thomas March 2013 Second Submission
  • 18. SAMPLING Q: So what? A: Well, it just would not fit in a CD or a DVD. Álvaro Montoya Thomas March 2013 Second Submission
  • 19. SAMPLING Q: Oh... A: You know who “Harry Nyquist” was? Álvaro Montoya Thomas March 2013 Second Submission
  • 20. Shake it SAMPLING Q: Harry Nyquist? A Swedish DJ? A: He was Swedish, but not a DJ. He was important to make electronic music happen, though. He enunciated the following condition together with the American Claude Shannon: “the minimum sample rate required to achieve a quality digital recording has to be twice the frequency of the audio signal to be recorded (and digitalized)”. Álvaro Montoya Thomas March 2013 Second Submission
  • 21. SAMPLING Q: All right. Then why 44.1kHz? A: Because, as we saw last week with the Master Loudon Stearns, the frequency of the higher notes that we can hear is 20kHz. 44.1kHz is just more than two times that frequency in order to get higher tones over than limit. Álvaro Montoya Thomas March 2013 Second Submission
  • 22. QUANTIZATION Q: Ah. What else is missing here? A: The next step is “quantization”. We are going to convert those samples into discrete values: bits. Álvaro Montoya Thomas March 2013 Second Submission
  • 23. QUANTIZATION Q: Hey, what is going on with the vertical axis? And what is this wave? A: Volts. Differences in tension. Those electronic values are understood by machines. And the wave is one of the samples. Volts 4 3 2 1 t Álvaro Montoya Thomas March 2013 Second Submission
  • 24. QUANTIZATION Q: And how are those volts translated? A: Here come the bits. Since they are binary, position and amount of those 0 and 1 play an important role here. The more digits are used, the higher numbers can be represented. Volts 4 3 2 1 t Álvaro Montoya Thomas March 2013 Second Submission
  • 25. QUANTIZATION Q: You mean more bits? A: Yes. With one bit we can just choose either 0 or 1. With two bits we have more options: 00, 01, 10, 11. As you see they are four values: zero, one, two three. Volts 4 3 2 1 t 01 10 11 Álvaro Montoya Thomas March 2013 Second Submission
  • 26. SAMPLING Q: oh... why you do not continue with the given example? A: Because I need more values to represent all the signal. Volts 4 3 2 1 01 10 11 Álvaro Montoya Thomas March 2013 Second Submission
  • 27. SAMPLING Q: What can you do? I am scared... A: Look, let's just add one more bit. Volts 6 5 4 3 2 1 001 010 011 100 101 110 110 110 101 100 100 001 Álvaro Montoya Thomas March 2013 Second Submission
  • 28. SAMPLING Q: So you added one more possibility? A: Not really. I doubled the possibilities. By using one more bit we can go from 0 to 7, so eight possibilities. Is it always this way: from 0 to 2n-1 Volts 6 5 4 3 2 1 001 010 011 100 101 110 110 110 101 100 100 001 Álvaro Montoya Thomas March 2013 Second Submission
  • 29. SAMPLING Q: Wow... but those lines were really crap. A: Sorry, is all what I can do by drawing with Open Office. Álvaro Montoya Thomas March 2013 Second Submission
  • 30. CODIFICATION Q: I guess there is nothing else to know, is it? A: There is still one step to consider: “codification”. The gathered binary values are translated so that they can be represented in your DAW. 001 010 011 100 101 110 110 110 101 100 100 001 = 123456665441 Álvaro Montoya Thomas March 2013 Second Submission
  • 31. THANKS FOR READING! Q: Wow, thanks a lot. Was really helpful. A: My pleasure. I hope this helped anyone else apart from you! Álvaro Montoya Thomas March 2013 Second Submission
  • 32. The Analog to Digital Conversion Process Álvaro Montoya Thomas March 2013 Second Submission