I am working on a PYNQ-Z2 v2.4 using the Audio base overlay in Jupyter Notebooks. I am trying to use the basic record function to generate a .wav file using the provided python example (in the /base/audio folder). All other functions are working fine, but I cannot get the board to read audio through the microphone I plugged in (simple earbud microphone). I have tried both the LINE IN and HP MIC ports, but I keep ending up with an empty .wav file. Are there certain microphones which are/are not compatible with the board?
This is just a standard Samsung earphone (with integrated microphone), connected to the HP MIC port. It randomly started working, despite not making any changes. Now, when I use the record function, it will save the audio going in through the microphone.
The same setup still does not save any audio when the microphone is connected to the LINE IN port, though I believe it should work the same way?
I honestly have no clue what made it start working with the HP MIC port, but it solves my problem for now.
For the LINE_IN, I don’t think you can connect your microphone on earphone to it; I used an audio line to connect to an audio source. If the microphone is standalone microphone, I think it can work; but I have not tested that.
For this issue you have, it might be just the connection is not tight or something like that.
The audio_playback.ipynb does not work. It records nothing. I tried many different brands and types of microphone, none of which works. I also tried the the microphone port and the line-in port, none works.
I got the same issue as above, could you please fix?