ComfyUI Node: Audio Null Test

Class Name

Audio Null Test

Category
Egregora/Analysis
Author
lucasgattas (Account age: 2973days)
Extension
ComfyUI · Egregora Audio Super‑Resolution
Latest Updated
2025-10-15
Github Stars
0.04K

How to Install ComfyUI · Egregora Audio Super‑Resolution

Install this extension via the ComfyUI Manager by searching for ComfyUI · Egregora Audio Super‑Resolution
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI · Egregora Audio Super‑Resolution in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Audio Null Test Description

Node for evaluating audio signal differences via null test, essential for quality assurance in audio processing workflows.

Audio Null Test:

The Audio Null Test node is designed to evaluate the differences between two audio signals by performing a null test, which is a method used to identify discrepancies between an original audio signal and a processed version. This node is particularly useful for audio engineers and AI artists who want to ensure that audio processing techniques, such as compression or equalization, do not introduce unwanted artifacts or distortions. By subtracting the processed audio from the original, the null test reveals any residual sound, which indicates the differences between the two signals. The node provides a comprehensive analysis by calculating various metrics, such as delay and gain differences, and offers options to compute additional metrics like correlation and loudness. This makes it an essential tool for quality assurance in audio processing workflows, allowing users to fine-tune their processes and achieve the desired audio fidelity.

Audio Null Test Input Parameters:

audio_ref

The audio_ref parameter represents the reference audio signal, which is the original, unprocessed version of the audio. This parameter is crucial as it serves as the baseline for comparison against the processed audio. The accuracy of the null test heavily depends on the quality and integrity of this reference signal.

audio_proc

The audio_proc parameter is the processed audio signal that you want to compare against the reference audio. This parameter is essential for identifying any changes or artifacts introduced during the audio processing. The null test will highlight the differences between this signal and the reference audio.

invert_b

The invert_b parameter is a boolean toggle that determines whether the processed audio should be inverted before comparison. Inverting the audio can help in accurately identifying differences by effectively canceling out identical parts of the signals. The default value is typically True.

least_squares_scale

The least_squares_scale parameter is a boolean toggle that, when enabled, applies a least squares scaling to the processed audio to better match the reference audio. This can improve the accuracy of the null test by minimizing the residual error. The default value is usually False.

compute_corr

The compute_corr parameter is a boolean toggle that, when enabled, calculates the correlation between the reference and processed audio signals. This metric provides insight into the similarity between the two signals. The default value is typically False.

compute_null_rms

The compute_null_rms parameter is a boolean toggle that, when enabled, computes the root mean square (RMS) of the null signal. This metric quantifies the average power of the residual sound, indicating the level of difference between the reference and processed audio. The default value is usually False.

compute_null_lufs

The compute_null_lufs parameter is a boolean toggle that, when enabled, calculates the loudness of the null signal in LUFS (Loudness Units relative to Full Scale). This metric provides a perceptual measure of the loudness difference between the two audio signals. The default value is typically False.

compute_lsd

The compute_lsd parameter is a boolean toggle that, when enabled, computes the Log Spectral Distance (LSD) between the reference and processed audio. This metric assesses the spectral differences, offering a detailed view of frequency-based discrepancies. The default value is usually False.

compute_hf_residual

The compute_hf_residual parameter is a boolean toggle that, when enabled, calculates the high-frequency residuals between the reference and processed audio. This metric focuses on differences in the high-frequency range, which can be critical for certain audio applications. The default value is typically False.

n_fft

The n_fft parameter specifies the number of FFT (Fast Fourier Transform) points used in spectral analysis. A higher value provides more detailed frequency resolution but increases computational load. The default value is often 2048.

hop

The hop parameter defines the hop size or step between successive FFT windows. It affects the time resolution of the spectral analysis, with smaller values offering finer time detail. The default value is usually 512.

Audio Null Test Output Parameters:

audio_null

The audio_null output is the result of the null test, representing the residual audio signal obtained by subtracting the processed audio from the reference audio. This output is crucial for identifying any differences or artifacts introduced during processing, allowing you to assess the impact of audio modifications.

null_metrics

The null_metrics output is a dictionary containing various metrics calculated during the null test, such as delay in milliseconds, gain differences in decibels, and any additional metrics enabled through input parameters. These metrics provide a comprehensive analysis of the differences between the reference and processed audio, helping you understand the nature and extent of any discrepancies.

Audio Null Test Usage Tips:

  • Ensure that the reference and processed audio signals are properly aligned in time before performing the null test to achieve accurate results.
  • Use the invert_b parameter to effectively cancel out identical parts of the signals, making it easier to identify differences.
  • Enable additional metrics like compute_corr and compute_null_rms to gain deeper insights into the similarities and differences between the audio signals.

Audio Null Test Common Errors and Solutions:

ImportError: No module named 'egregora_null_test_suite'

  • Explanation: This error occurs when the module egregora_null_test_suite is not found in the specified path.
  • Solution: Ensure that the module is correctly installed and the file path is accurate. Check for any typos in the import statement.

ValueError: Audio signals must have the same length

  • Explanation: This error indicates that the reference and processed audio signals have different lengths, which can affect the null test accuracy.
  • Solution: Pre-process the audio signals to ensure they are of the same length before performing the null test. Use audio editing tools to trim or pad the signals as necessary.

Audio Null Test Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI · Egregora Audio Super‑Resolution
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.