No description
This fixes a bug that I found while testing the speaker output. I also balanced the default speaker_volume and headphone_volume gain levels so they sound about the same loudness (to me, with my earbuds). That way you can use dac_volume for runtime volume adjustments and it will hopefully work about the same for the speaker or the headphones. To set the board up for different headphones or speakers, you could experiment with suitable values for speaker_volume and headphone_volume to set in an initialization function, like a trimpot. After that, you could use dac_volume to set volume. |
||
|---|---|---|
| .github | ||
| docs | ||
| examples | ||
| LICENSES | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .readthedocs.yaml | ||
| adafruit_tlv320.py | ||
| CODE_OF_CONDUCT.md | ||
| LICENSE | ||
| optional_requirements.txt | ||
| pyproject.toml | ||
| README.rst | ||
| README.rst.license | ||
| requirements.txt | ||
| ruff.toml | ||
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries SPDX-FileCopyrightText: Copyright (c) 2025 Liz Clark for Adafruit Industries SPDX-License-Identifier: MIT