Skip to content

Multioutput -- play wav, fft, volume meter and mic w fft and volumeter #1940

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

You must be logged in to vote

Please follow the advice given here and build your sketch step by step: otherwise you have no chance to find what's wrong.

Some additional comments:

  • I don't understand why you don't just use another I2SStream i2s_in for reading to be opened in RX_MODE .
    If you share the clock pins, you could even use one single I2SStream in doublex mode (RXTX_MODE) to read from and write to.
  • The number of channels in the fft definition is wrong: you provide a stereo signal, so it must be 2! Just to the copyFrom(info); for fft and volumeMeter...

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@hammerheaddown
Comment options

@hammerheaddown
Comment options

@pschatzmann
Comment options

@hammerheaddown
Comment options

@hammerheaddown
Comment options

Answer selected by pschatzmann
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