Can't get streams-i2s-webserver_wav to work, could it be the pins I use? If not then what? #918
-
Hi, and thank you for a great library. |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 5 replies
-
I'm sorry, I tried "Add Code" and I don't know why it's formatted all in one line; I'll try a few other things. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
That was quick; thank you. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/pschatzmann/arduino-audio-tools/wiki/It's-not-working |
Beta Was this translation helpful? Give feedback.
-
I'm using the INMP441 microphone. |
Beta Was this translation helpful? Give feedback.
-
I may try the [streams-i2s-serial] sketch, but that won't solve the fact that browsers don't seem to work and I don't know how to make VLC recognize the stream :-( |
Beta Was this translation helpful? Give feedback.
-
I think you mix up the master clock with the bit block! The bit clock can by on any pin... |
Beta Was this translation helpful? Give feedback.
-
I probably do... now that you mention it; but is there any reason for my pin configuration to not work? I have a Lolin Lite board. |
Beta Was this translation helpful? Give feedback.
-
Is it possible that turning on I2S somehow takes over GPIO0 with Master Clock and it can't be used for bit clock? Would that be different in ESPHome somehow? |
Beta Was this translation helpful? Give feedback.
-
The reason I'm doing this is because functionality in Home Assistant works but not great and I can't find a way to listen to it, to determine level/noise, etc to see what I might need to improve. |
Beta Was this translation helpful? Give feedback.
-
Unlikely: as you can see the following default is defined in AudioConfig.h |
Beta Was this translation helpful? Give feedback.
-
So, any other way to listen to it, as it would seem to be mostly working? |
Beta Was this translation helpful? Give feedback.
-
I got the Serial program to work and I can see the signal; it looks pretty good to me except the autoscaling which is of course an IDE thing; not the library. Also, it would be nice if there was a way to also send some scaling/streaming numbers (max-min) to prevent the autoscaling; I wasn't able to do that properly just by putting some PrintLn in the main loop; and so far I didn't want to mess with the library itself... |
Beta Was this translation helpful? Give feedback.
#893