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

support for mono channels #23

Open
faroit opened this issue Jan 4, 2021 · 0 comments
Open

support for mono channels #23

faroit opened this issue Jan 4, 2021 · 0 comments
Labels

Comments

@faroit
Copy link
Member

faroit commented Jan 4, 2021

currently the model is expected to be running stereo. However, I also uploaded a mono model for speech enhancement where nb_channels = 1.

This can be implemented in the following way:

  • if the model only required as a single channel audio spectrogram but the audio input signal has two channels, the input spectrogram can just be averaged across the channel dimension and after model(input) the output mask would need to be duplicated again.
  • if the model only works with single channel and the audio input is also single channel, the preprocessing code would need to adjusted. This can be useful when we use the user input (from microphone) to record a mono signal and process it
@faroit faroit added the package label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant