editing a few comments
@@ -5,12 +5,6 @@ from ..core import utils
from ..core import constants
class MultichannelWienerFilter(SeparationBase):
- def __init__(
- self,
- input_audio_signal,
- source_signals,
- use_librosa_stft=constants.USE_LIBROSA_STFT
- ):
"""Perform multichannel wiener filtering on a mixture signal given a list of separated
source estimates. A common post-processing step for many stereo source separation
applications to enforce spatial stability in the separated sources. Based on
@@ -26,11 +20,16 @@ class MultichannelWienerFilter(SeparationBase):
use_librosa_stft {bool} -- Whether to use librosa stft (default: {False})
Raises:
- ValueError -- [description]
- ValueError -- [description]
- ValueError -- [description]
+ ValueError -- Error if input audio signal is mono.
+ ValueError -- Everything must be the same sample rate.
+ ValueError -- EVerythig must have the same number of channels.
"""
-
+ def __init__(
+ self,
+ input_audio_signal,
+ source_signals,
+ use_librosa_stft=constants.USE_LIBROSA_STFT
+ ):
super(MultichannelWienerFilter, self).__init__(
input_audio_signal=input_audio_signal,
)
