Skip to content

Multichannel mp3 player using libhelix #330

Answered by pschatzmann
Son0f4Glitch asked this question in Q&A
Discussion options

You must be logged in to vote

I think 4 channels and mp3 will never work! You can't use 1 decoder for multiple inputs because - as far as I know - the decoder relies on the information from the prior segments: so you can't feed it from multiple sources and for 2 decoders there are not enough resources. So the major issue is that mp3 supports max 2 channels.

Here are my recommendations:

  • Use a file format which supports 4 channels. I suggest that you start with WAV. There might not be enough space on the microcontroller, so you might need to store the file on a SD drive or somewhere on the internet. PCM WAV is very efficient to process, since we just need to copy data! If you have the WAV working you can consider to us…

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@Son0f4Glitch
Comment options

Comment options

You must be logged in to vote
1 reply
@Son0f4Glitch
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
1 reply
@Son0f4Glitch
Comment options

Comment options

You must be logged in to vote
1 reply
@Son0f4Glitch
Comment options

Comment options

You must be logged in to vote
2 replies
@Son0f4Glitch
Comment options

@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants