I verified that this program works great on a Jetson Nano with a USB Microphone that has 16bit depth. But, I'm having issues getting it to work with an I2S MEMS Microphone (SPH0645LM4H) that has a bit depth of 24bits (where you use 32bits transfers).
I successfully tested recording wave files with pyaudio with this microphone as long as I use pyaudio.paInt32 as the sample format. But, I can't figure out everything I need to change to get it work with the pyqtgraph-spectrographer.
I tried changing lines 21, and 33 of the microphone.py file, but then I didn't get anything on the waveform or FFT plot.
I verified that this program works great on a Jetson Nano with a USB Microphone that has 16bit depth. But, I'm having issues getting it to work with an I2S MEMS Microphone (SPH0645LM4H) that has a bit depth of 24bits (where you use 32bits transfers).
I successfully tested recording wave files with pyaudio with this microphone as long as I use pyaudio.paInt32 as the sample format. But, I can't figure out everything I need to change to get it work with the pyqtgraph-spectrographer.
I tried changing lines 21, and 33 of the microphone.py file, but then I didn't get anything on the waveform or FFT plot.