Skip to content

Chaining Mozzi #1462

Answered by pschatzmann
jaapnoordzij asked this question in Q&A
Mar 23, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Your input chain should be theoretically:

EncodedAudioStream mp3dec(&file,&mp3); // you intend to read the decoded file
FormatConverterStream conv(mp3dec); // you intent to read converted data from the mp3dec

Then you can read the converted, decoded data using conv
Since the file is not known at that point of time, you will need to define it in setup by calling setInput(&file);

Replies: 1 comment 1 reply

Comment options

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

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