Guide Update: CircuitPython Essentials – Audio Out
Use CircuitPython 3.0 and your Express board to play audio through a headphone jack!
CircuitPython 3.0 has an updated audio module that allows you to easily play generated tones and wave files through a headphone jack. We’ve written up a guide with two CircuitPython examples – one for tone generation and one for wave file play, pause, and resume. There’s a list of steps and wiring diagrams to help you wire up your M0 or M4 Express board to a button, a potentiometer and an audio jack. Once you’re set up, you’ll be able to play a tone at the push of a button, and play, pause and resume wave file playback. These simple examples can easily add audio to your projects. Have fun with it!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.