Step by Step Guide
Tired of reaching for your keyboard to mute your speakers when someone walks in? Or fumbling through your music app to skip that song that just doesn't hit right? Let's solve both problems with one satisfying physical button that does exactly what you want it to do.
In this project, you'll build a smart media control button using your Axiometa Genesis that responds to how you press it. One quick tap mutes your computer's audio output instantly, while a swift double-tap skips to the next track. The built-in LED gives you instant visual confirmation - no more wondering if your command actually went through.
What You'll Need
- Axiometa Genesis
- Any push button or a keyboard switch
- USB-C cable
- Arduino IDE installed
- About 15 minutes of your time
Make the Connections
This might be the simplest wiring you'll ever do:
Button → PORT 8
Connect & Upload Code
Now time to upload the Code
- Get your setup ready - Install Arduino IDE and configure it for Axiometa Genesis if you haven't already
- Connect your Genesis using the USB-C cable
- Select the right board: Tools → Board → ESP32S3 Dev Module
- Copy the code from the bottom of this page
- Upload it (CMD+U or CTRL+U).
Pro tip: Keep the Serial Monitor open during upload to see if everything connects properly.
4. Test Your Creation
Once uploaded, your Genesis transforms into a professional media control device:
Single Press Magic: Tap once and watch the red LED flash as your system audio instantly mutes or unmutes. Perfect for those "wait, was that my microphone?" moments or when you need instant silence.
Double Press Power: Quick double-tap (within 300ms) and the green LED flashes as your music skips to the next track. Works seamlessly with Spotify, Apple Music, YouTube Music - basically anything playing audio on your system.
The timing feels natural once you get the hang of it. Single taps for immediate audio control, double taps for track control. Your fingers will learn the rhythm quickly.
Next Steps to Level Up:
- Adjust the 300ms double-click timing to match your style
- Add a triple-click for previous track
- Experiment with different LED colors
- Build multiple buttons for a full media control panel