Abstract
The Arduino has the ability to generate a multitude of sounds and tones, and a combination of them can produce snippets of musical melodies. Creating sounds or tones is relatively easy using the tone() instruction along with its code library. This chapter will show how you can use the tone instruction and its library to generate sounds and melodies. This chapter will use the physical-computing techniques discussed in previous chapters in the creation of a human-interactive electronic music box. Figure 6-1 shows the parts required for the hands-on projects and experiments.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Donald Wilcher
About this chapter
Cite this chapter
Wilcher, D. (2012). The Music Box. In: Learn Electronics with Arduino. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4267-3_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4267-3_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4266-6
Online ISBN: 978-1-4302-4267-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)