I have a variety of CPXs that are all emitting sound (start_tone) at different volumes.
Is there a command that we can use to set the volume? We are using CircuitPython and NOT makecode (& never have.)
I'm unsure WHY different CPXs would have different volumes, since we don't seem to know how to change it!
Volume of sound on CPX using circuitPython
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 14182
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Volume of sound on CPX using circuitPython
Are all of your CPXs running the same Firmware and CircuitPython version?
Are they using the equivalent power supplies?
audiomixer has volume support within CircuitPython.
https://circuitpython.readthedocs.io/en ... oice.level
Are they using the equivalent power supplies?
audiomixer has volume support within CircuitPython.
https://circuitpython.readthedocs.io/en ... oice.level
Code: Select all
mixer.voice[0].level = .1
Please be positive and constructive with your questions and comments.