Skip to content

spdiv and fft simultaniously #1582

Answered by pschatzmann
amicado asked this question in Q&A
May 31, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I am sorry, I don't quite understand your problem:

  • An A2DP Source is sending Bluetooth to a Bluetooth Speaker and I don't think that this is what you want.
  • If you want to define your custom pins for spdif, you need to set up your specific configuration which is missing in your sketch so it is using the default settings
  • If you switch off the output when you define the A2DP callback (with false) you need add the corresponding write to spdif in the callback as well
  • The sample rate in the fft configuration is wrong: A2DP is providing 44100 and not 32000

Did you test that your log calculation logic is correct and fast enough ? I would not recommend to do this in the audio task and move it ou…

Replies: 2 comments 3 replies

Comment options

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

Answer selected by pschatzmann
Comment options

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

@amicado
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
2 participants