Custom Audio

If you want to provide your own audio file for this music box you can easily swap a new one in place of the one provided here.

Audio files can be gathered by any means you like, but they will all need to be formatted as mono 16-bit PCM WAV at 22,050 Hz to be recognized by CRICKIT.

See this guide on how to convert audio files

Making Adjustments

Depending on your location, you may need to adjust your music box's responsiveness to light. This can be done in Mu, by increasing or decreasing the default value of 2000 to 3000 (responds to bright light) or down to 1000 (more responsive to dim light). 

Exploring further

If you enjoy CircuitPython and want to continue learning you can find lots more CircuitPython projects on the Adafruit Learn System.

This guide was first published on Jan 17, 2019. It was last updated on Mar 28, 2024.

This page (Customization) was last updated on Mar 08, 2024.

Text editor powered by tinymce.