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

Feature Request: Extra settings for external speaker #292

Open
ZProLegend007 opened this issue Nov 6, 2024 · 2 comments
Open

Feature Request: Extra settings for external speaker #292

ZProLegend007 opened this issue Nov 6, 2024 · 2 comments
Labels
needs-more-info Requires more information to triage

Comments

@ZProLegend007
Copy link

Description of the feature you're suggesting.

Hello again,

I'm wondering if theres any firmware tweaking that can be done to add options in the firmware for people who have modded their flippers with an external speaker. I've recently wired up a very nice little speaker from a zenbook and nuked the buzzer that was in the flipper. It sounds leagues better but I'm wondering if it's possible to increase output power via firmware (or if its a hardware limitation) or find a way to fix distortion issues in apps like video and wav player. Wav player sounds like it has a much lower audio quality than other apps - possible because all the files are amplitude boosted.

Also I've noticed that the flipper seems to use square waves for audio output? (Sounds like it at least), if this is hardware then oh well but if possible maybe this could be a toggle in firmware? Don't know if any of this is at all possible but it's always worth checking. Basically any firmware toggles that could be added that would benefit custom external speakers.

Anything else?

Thank you!

@x10102
Copy link

x10102 commented Jan 12, 2025

Looking at the schematics, it seems that the speaker is directly connected to one pin of the MCU without any amplifiers. So I believe that the output power is a hardware limitation, unfortunately.

The flipper does use square waves for audio output, there aren't really any other options as the STM32 doesn't have an internal DAC. I guess you could connect an external amplifier circuit with a DAC chip and send the audio to it using something like I2S, but it honestly sounds like overkill to me, I'm not even sure if there's enough memory and processing power available on the Flipper to decode higher quality audio files.

(not one of the firmware devs, just sharing my thoughts)

@956MB 956MB added feature New feature or request needs-more-info Requires more information to triage labels Jan 13, 2025
@ZProLegend007
Copy link
Author

That makes sense. Thanks for the extra info. Probably is overkill, I'm just seeing if it's possible to use as a simple mp3 (or wav) player with that high quality speaker I've wired up to it.

@956MB 956MB removed the feature New feature or request label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info Requires more information to triage
Projects
None yet
Development

No branches or pull requests

3 participants