You are browsing as a guest. Sign up (or log in) to start making projects!

volume mixer

Hardware
  • 3 Devlogs
  • 4 Total hours

a physical dj volume mixer with 4 knobs to control spotify, discord, system volume, and one tbd. right now i built the python controller that hooks into windows audio api to change app volumes. next step is getting a raspberry pi pico and rotary encoders to make it actual hardware.

Open comments for this post

1h 46m 38s logged

just finished writing the circuitpython code for the raspberry pi pico side of the mixer. it reads 4 rotary encoders and sends commands over usb serial to the pc controller i made earlier.basically how it works:each knob has a data pin, clock pin, and a button pinturning the knob sends stuff like “SPOTIFY_UP” or “DISCORD_DOWN” over usbpressing the knob down sends “SPOTIFY_MUTE” etcdial 4 is still tbd because i havent decided what i want it to do yeti havent tested it on real hardware yet since im still waiting on parts, but the logic should work. the hardest part was figuring out how rotary encoders actually send their signals

0
0
3
Open comments for this post

1h 57m 14s logged

finally got the volume control working!!

my python script works

basically it can control:

  • spotify volume
  • discord volume
  • my whole pc volume

and if i press the knob (once i actually build it) it’ll mute each one

the system volume part was a pain - pycaw kept giving me errors so i just used powershell to simulate pressing the volume keys instead. sometimes the easy way is better ig

0
0
26

Followers

Loading…