Closed aSemy closed 1 year ago
Well, the recommended way is to start with a CSV output and then you can see what you need to do with the signal. I have a converter that can copy the audio from the good channel to the bad one so that you get 2 properly working channels...
If you don't like this solution feel free to submit a pull request: But it might get tricky to handle the combinations of 1 or 2 channels in the config in relation with this setting both on the output and input side correctly
I wasn't able to get the Arduino Serial Plotter working (something about it not being able to connect to the serial port). I'm using CLion and PlatformIO, so it didn't fit into the work flow. I tried finding an alternative graphing tool, but I couldn't find anything that worked. Setting up a WAV server was the first thing that worked. Maybe you can recommend something else? :)
I'll see if I can expose an option and play around with it, and get something working.
Nop, I am usually coding my libraries in VS Code and I check my (always small) sketches in Arduino. I was considering to use PlatformIO more, but I didn't because I did not find a good alternative to the Serial Plotter either!
I am using PlatformIO...
when you want to use the plotter of arduino, you have to comment monitor_speed
in platform.ini file
although I use hterm because it lets me save data
Hi,
I've got a MAX9814 microphone and for whatever reason it only works when
channel_format
is set toI2S_CHANNEL_FMT_ONLY_LEFT
.The default of
I2S_CHANNEL_FMT_RIGHT_LEFT
causes errors in the logs, and I can't receive any audioI would like to provide my own configuration to adjust
channel_format
, but at the moment it is hard coded.https://github.com/pschatzmann/arduino-audio-tools/blob/267455d3bbea215c18723dedf0b2863d1c3e2048/src/AudioAnalog/AnalogAudioESP32.h#L59
Perhaps there is another way to drop the right channel? But I think it would be nicer to adjust the channels using built-in options, rather than introducing extra streams or copiers.
Log with errors
Sample code
Here is the code I am using: