Speaker Volume Low - Migrating LyraT from Old Library #2020
-
I have a LyraT board that's been running a sketch based on the old audiokit library. I've just developed a new sketch using this library, and it works except that the sound out of the speakers is very quiet, much quieter than before. I found I'm 100% confident that the hardware isn't broken, because I built the old sketch and flashed it and the volume out of the speakers is just what I expected. Here's the really weird thing: While testing the headphone jack, I found that if the headphones are halfway plugged in, just far enough out that they're not detected, the speakers sound fine. There must be some setting or something that needs to be set, but I can't find it. The only other thing that might be unusual vs what I've seen in examples and blog posts is that I am using SD_MMC with all dip switches set to OFF, because I was using SD MMC on the old version and it seems like the intention of the hardware design to use MMC over SPI SD. I don't think that should impact the speaker volume though. This is the current sketch: https://github.com/ofthedove/RainSpeaker/tree/main/RainSpeaker_Hass/RainSpeaker3 For reference, this is the old sketch: https://github.com/ofthedove/RainSpeaker/tree/main/RainSpeaker |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I am not aware of any issues: I suggest that you try to test with this sketch to reproduce your issue. Call player.setVolume(1.0f); and kit.setVolume(1.0f); to use the max possible volume. |
Beta Was this translation helpful? Give feedback.
-
I pushed a commit which uses volume hack 3 for LyraT |
Beta Was this translation helpful? Give feedback.
I am not aware of any issues: I suggest that you try to test with this sketch to reproduce your issue.
Call player.setVolume(1.0f); and kit.setVolume(1.0f); to use the max possible volume.