(SP) Baxandall 3 Band EQ:
The SignalProcessingBaxandall3BandEQ node is designed to enhance audio processing by applying a three-band equalization technique, specifically using the Baxandall EQ method. This node allows you to adjust the bass, midrange, and treble frequencies of an audio signal, providing a versatile tool for shaping the tonal balance of your audio content. The Baxandall EQ is renowned for its smooth and musical response, making it ideal for both subtle and pronounced adjustments. By leveraging this node, you can achieve a more balanced and pleasing sound, whether you're working on music production, sound design, or any audio-related project. The node's implementation ensures that the adjustments are applied efficiently, maintaining the integrity of the original audio while allowing for creative expression.
(SP) Baxandall 3 Band EQ Input Parameters:
audio_input
This parameter accepts a dictionary containing the audio data and its sample rate. The audio data should be in the form of a torch.Tensor, and the sample rate should be an integer. This input serves as the foundation for the EQ processing, as it provides the raw audio that will be modified by the node.
bass_gain_db
This parameter controls the gain applied to the low-frequency range, typically affecting the bass. It is measured in decibels (dB) and allows you to boost or cut the bass frequencies. The default value is 0.0 dB, meaning no change. Adjusting this parameter can enhance the depth and warmth of the audio.
mid_gain_db
This parameter adjusts the gain for the midrange frequencies, which are crucial for clarity and presence in audio. Like the bass gain, it is measured in decibels and defaults to 0.0 dB. Modifying this parameter can help bring out vocals or instruments that reside in the midrange.
treble_gain_db
This parameter controls the gain for the high-frequency range, affecting the treble. It is also measured in decibels and defaults to 0.0 dB. Increasing the treble gain can add brightness and detail to the audio, while reducing it can soften harsh sounds.
low_freq
This parameter sets the cutoff frequency for the low shelf filter, determining which frequencies are affected by the bass gain. It is measured in Hertz (Hz) and defaults to 100.0 Hz. Adjusting this value allows you to target specific low-frequency ranges for enhancement or reduction.
mid_freq
This parameter specifies the center frequency for the midrange peaking filter. It is measured in Hertz and defaults to 1000.0 Hz. By changing this value, you can focus the midrange adjustments on different parts of the frequency spectrum.
high_freq
This parameter sets the cutoff frequency for the high shelf filter, determining which frequencies are affected by the treble gain. It is measured in Hertz and defaults to 10000.0 Hz. This allows you to control the range of high frequencies that are boosted or cut.
mid_q
This parameter defines the quality factor (Q) of the midrange peaking filter, affecting the bandwidth of the frequencies around the center frequency. It defaults to 0.7, providing a balance between a narrow and wide bandwidth. Adjusting the Q factor can help you fine-tune the focus of the midrange adjustments.
(SP) Baxandall 3 Band EQ Output Parameters:
processed_audio
The output is a dictionary containing the processed audio data and its sample rate. The audio data is a torch.Tensor that reflects the adjustments made by the EQ settings. This output allows you to use the modified audio in further processing or export it for playback and analysis.
(SP) Baxandall 3 Band EQ Usage Tips:
- To achieve a warm and full sound, try increasing the
bass_gain_dbwhile keeping themid_gain_dbandtreble_gain_dbat moderate levels. - For clearer vocals, focus on adjusting the
mid_gain_dbandmid_freqto enhance the presence of the midrange frequencies. - Use the
treble_gain_dbto add sparkle to your audio, but be cautious of introducing harshness, especially in recordings with already prominent high frequencies.
(SP) Baxandall 3 Band EQ Common Errors and Solutions:
Output file was not created
- Explanation: This error occurs when the processed audio file is not saved to the specified location.
- Solution: Ensure that the output directory exists and that you have write permissions. Verify that the file path is correctly specified.
Processed audio output is None
- Explanation: This indicates that the processing did not produce any output, possibly due to incorrect input parameters.
- Solution: Check that the
audio_inputis correctly formatted and contains valid audio data. Ensure that all gain parameters are set appropriately.
