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

[Feature Request] Transposed output when using PyTSMod with SoundFile #12

Open
SoonbeomChoi opened this issue Oct 12, 2020 · 1 comment
Assignees

Comments

@SoonbeomChoi
Copy link

SoonbeomChoi commented Oct 12, 2020

When using read() from soundfile library channel places on 2nd axis.
But the shape of the audio is transposed after using the implemented TSM algorithms.
This might be confusing for some people.
It would be grateful if you take consideration of this.

@seyong92
Copy link
Contributor

Nice point. The output shape of all TSM algorithms for multi-channel audio is fixed to (channel, num_samples), and also we recommend to use the audio with shape (channel, num_samples).

However, for those who want to use the shape of (num_samples, channel), I will update the function to return the output with the shape of the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants