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

Play audio on two channels (AUD-5816) #1305

Closed
GCTechnology opened this issue Oct 31, 2024 · 2 comments
Closed

Play audio on two channels (AUD-5816) #1305

GCTechnology opened this issue Oct 31, 2024 · 2 comments

Comments

@GCTechnology
Copy link

Hi, I am using an ESP32S3 module to develop a project with dual channel audio output. What I mean is using the two I2S interfaces to connect two codecs separately and output audio independently.
So I'd like to know if it is possible to use the current ADF library's 'audio_pipeline' audio player to implement the feature? It would be even better if there were corresponding examples.
图片

@github-actions github-actions bot changed the title Play audio on two channels Play audio on two channels (AUD-5816) Oct 31, 2024
@jason-mao
Copy link
Collaborator

@GCTechnology Is your audio in stereo? If yes, I think you should implement an element to change the interleave audio to un-interleave audio, then put the un-interleave audio into two I2S streams.

@GCTechnology
Copy link
Author

@GCTechnology Is your audio in stereo? If yes, I think you should implement an element to change the interleave audio to un-interleave audio, then put the un-interleave audio into two I2S streams.

Ah, I almost forget this issue I pushed. I have successfully implemented this feature by modifying example 'play_mp3_control'.
Thanks for your reply.

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