Skip to content

What changes are needed for 32Bit Audio? #4

@S4WRXTTCS

Description

@S4WRXTTCS

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions