Abstract
Square is by far the simplest wave shape for a digital processor to produce, as we saw it the last chapter, it was a simple matter of setting a digital pin high and then setting it low or on and off. Also we saw when mixing two such waves a third intermediate level appeared, one that was halfway between high and low. This occurred when one signal was high and the other was low. The trick to producing other wave shapes and therefore different sounding noises is to have some mechanism to generate not only one intermediate level between high and low but many. The more levels you can generate, the finer precision you can sculpt your waveform.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2015 Mike Cook
About this chapter
Cite this chapter
Cook, M. (2015). Other Wave Shapes. In: Arduino Music and Audio Projects. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1721-4_12
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1721-4_12
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1720-7
Online ISBN: 978-1-4842-1721-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)