Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve audio components by adding standardized configuration of external DAC with integrated PGA (Programmable Gain Amplifier) as part of this voicekit project? #58

Closed
Hedda opened this issue Aug 19, 2024 · 0 comments

Comments

@Hedda
Copy link

Hedda commented Aug 19, 2024

Have you considered improving voice-kit project by adding standardized volume control configuration for all external DACs with PGA?

Specifically a standard for ESPHome config to the controlling of digital volume control for DAC (Digital-to-Analog Converter) with integrated PGA (Programmable Gain Amplifier) using I2C commands. Also ability to get the current volume. Not only volume control for the voice assistant but also for media player when playing music. Guessing that some volume_multiplier functions/features or similar need to be added to both i2s audio speaker and i2c media player as a start?

External DAC with integrated PGA (Programmable Gain Amplifier) like example these Class-D amplifier (a.k.a. digital switching amplifier) hardware examples which ESPHome users already requested that need support for speaker volume control over i2c:

For more examples of DACs with integrated PGA suggest also check out these pages:

FYI, here are some requests, PRs, and projects/use-cases that requested related to i2c audio configurations for DAC in ESPHome:

PS: Some of those mentioned DACs also offer controls for advanced features such as enable or disable audio inputs/outputs, and more.

PPS: Off-topic; there is btw also a request for USB UAC ( UAC 2.0 / UAC-2 ) USB Host Audio Driver support as well, which XMOS can do:

@jesserockz jesserockz closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants