Skip to content

Exception calling engine.make_playback_processor with mono samples #132

Answered by DBraun
skirmishthered asked this question in Q&A
Discussion options

You must be logged in to vote

The audio data must be shaped 2D (num channels, num samples). So (1, num samples) is ok but (num samples) by itself won’t work. You can use numpy expand_dims to add the new dimension. Let me know if that helps out. I’m away from my computer at the moment.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@skirmishthered
Comment options

Answer selected by skirmishthered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants