(SP) Stereo Width:
SignalProcessingStereoWidening is a sophisticated audio processing node designed to enhance the spatial quality of audio signals by widening the stereo image. This node is particularly beneficial for audio engineers and AI artists who wish to create a more immersive and expansive sound experience. By manipulating the mid and side components of an audio signal, it effectively increases the perceived width of the stereo field, making the audio sound more open and spacious. The node supports both mono and stereo inputs, converting mono signals into a wide stereo format and enhancing existing stereo signals. It employs advanced algorithms, including frequency-based widening and decorrelation techniques, to achieve a natural and balanced stereo widening effect. This node is essential for anyone looking to add depth and dimension to their audio projects, making it a valuable tool in the realm of audio signal processing.
(SP) Stereo Width Input Parameters:
mode
The mode parameter determines the method used for stereo widening. It can be set to either "simple" or "decorrelation". The "simple" mode applies a basic widening algorithm that adjusts the mid and side components of the audio signal, while the "decorrelation" mode uses more advanced techniques involving frequency-based processing and decorrelation to achieve a more natural widening effect. Choosing the appropriate mode depends on the desired outcome and the complexity of the audio material being processed.
audio_input
The audio_input parameter is a dictionary containing the audio data to be processed. It includes the waveform as a torch.Tensor and the sample rate as an integer. This parameter is crucial as it provides the raw audio data that the node will process to achieve stereo widening. The waveform can be either mono or stereo, and the node will handle each case appropriately to produce a widened stereo output.
width
The width parameter controls the extent of the stereo widening effect. It is a float value, typically ranging from 0.0 to 1.2, where 1.0 represents the original stereo width, and values greater than 1.0 increase the width. The default value is 1.2, which provides a noticeable widening effect without causing excessive distortion or imbalance. Adjusting this parameter allows users to fine-tune the stereo image to their liking, making it a powerful tool for customizing the audio output.
(SP) Stereo Width Output Parameters:
widened_waveform
The widened_waveform is the primary output of the node, representing the processed audio signal with an enhanced stereo width. It is returned as a torch.Tensor in a stereo format, regardless of whether the input was mono or stereo. This output is crucial for users who want to achieve a more immersive audio experience, as it provides the widened stereo image that can be used in various audio applications, from music production to sound design.
(SP) Stereo Width Usage Tips:
- To achieve a subtle widening effect, use a
widthvalue close to 1.0. This will enhance the stereo image without making it sound unnatural. - For a more pronounced widening effect, especially in dense mixes, consider using the "decorrelation" mode, which provides a more sophisticated processing approach.
- Always monitor the output audio to ensure that the widening effect does not introduce phase issues or distort the original sound quality.
(SP) Stereo Width Common Errors and Solutions:
Unsupported number of channels: {channels}. Only mono and stereo are supported.
- Explanation: This error occurs when the input audio has a number of channels other than one (mono) or two (stereo).
- Solution: Ensure that the input audio is either mono or stereo. Convert any multi-channel audio to stereo before processing.
t must be in the range [0.0, 1.0]
- Explanation: This error is raised when the interpolation function receives a value of
toutside the allowed range. - Solution: Check the
widthparameter and ensure it is within the valid range of 0.0 to 1.0 before processing. Adjust the value accordingly.
