ndi-python
ndi-python copied to clipboard
send audio 16bpp example
Hello, I am noticing something not quite right with the send_audio_16bpp.py example. I have installed on both Windows and Raspberry Pi, and testing with NDI Monitor on Windows.
The audio is not silent, but instead sounds like a taser. Same behavior coming from both Windows and Raspberry Pi. If I run the C++ NDIlib_Send_Audio_16bpp example, I get a source of silent audio.
Anybody else experience this?
I think the problem is in the line
audio_frame.data = np.zeros((4, 1920), dtype=np.int16)
works if changed to
data = np.zeros((4, 1920), dtype=np.int16)
audio_frame.data = data
Thank you for your reporting and sorry for late reply. I don't have time to confirm this issue now, but please keep this issue re-opened until I can confirm and fix the problem.