-
Notifications
You must be signed in to change notification settings - Fork 142
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
Add Support for Second I2S Stream #157
Comments
You don't need two digital i2s interfeces for a 2.1 setup. I used a pcm5102 dac with 3 pam8403 amp boards with proper RC filters on input for each audio canal. It's not audiophile grade but adjusting the gain and having the right speakers i managed to get quite a good sound. |
Thanks for the quick reply! Edit: Might need a bigger amp board :) |
You can also use MAX98357A boards and configure them for 2 channels - see this: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/pinouts#sd-slash-mode-2693328 and then add a crossover filter for 2.1 channels. |
Yes, this is exactly what I'm trying to achieve. I have two setup in stereo already (great little I.C.'s), and was looking to make a subwoofer to go with it using either the same MAX98357A with the gain upped, or there is a more powerful variant: The issue is that these I.C.'s need to 'see' the speaker as it is used for it's own filtering of the PWM output so you cannot use any other filtering (low pass, etc) 'A filterless spread-spectrum modulation scheme eliminates the need for output filtering found in traditional Class D devices and reduces the component count of the solution.' https://www.analog.com/media/en/technical-documentation/data-sheets/max98357a-max98357b.pdf For these the filtering needs to be done in hardware to the I2S stream so I was hoping it would be possible to utilise the second I2S channel for this purpose. |
I know it's a class D amp and the high frequencies are filtered out by the speaker, but I don't see any reason why a passive filtering (a crossover) won't work on the output of this amp. You can search if indeed they are incompatible, or maybe someone here with a more solid background in audio electronics will help you. |
That'll be me :) |
Hi,
Would it be possible to add the option to have two I2S streams from the ESP32 with two EQ settings (I think the ESP32 has two I2S channels)?
My use case for this would be to add a sub-woofer speaker (2.1), but you could also make a good bi-wired setup.
The text was updated successfully, but these errors were encountered: