Abstract

By far, the simplest way for an electronic circuit to produce an audible sound is by generating a square wave. As you saw in the previous chapter, a square wave is the infinite sum of odd harmonics. However, as far as Arduino is concerned, it is achieved by putting a pin high and then a short time after, putting it low. This will generate a signal that can be turned into a sound by putting it through a loud speaker. There are many ways of generating this signal, some are more efficient than others .

Keywords

Clock Cycle Loop Function Tone Function Clock Pulse Continuous Tone 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material

978-1-4842-1721-4_11_MOESM1_ESM.zip (9 kb)
978-1-4842-1720-7-CH11 code.zip (zip 9 kb)

Copyright information

© Mike Cook 2015

Authors and Affiliations

  • Mike Cook
    • 1
  1. 1.NYUK

Personalised recommendations