Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send audio 16bpp example #17

Open
triggerfinger-debug opened this issue May 30, 2022 · 2 comments
Open

send audio 16bpp example #17

triggerfinger-debug opened this issue May 30, 2022 · 2 comments
Assignees
Labels
bug Something isn't working confirmed

Comments

@triggerfinger-debug
Copy link

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?

@triggerfinger-debug
Copy link
Author

triggerfinger-debug commented Jun 2, 2022

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

@buresu
Copy link
Owner

buresu commented Jun 4, 2022

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.

@buresu buresu reopened this Jun 4, 2022
@buresu buresu self-assigned this Jun 4, 2022
@buresu buresu added bug Something isn't working confirmed labels Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

2 participants