ComfyUI > Nodes > ComfyUI_YuE > YUE_Stage_B_Sampler

ComfyUI Node: YUE_Stage_B_Sampler

Class Name

YUE_Stage_B_Sampler

Category
YUE
Author
smthemex (Account age: 611days)
Extension
ComfyUI_YuE
Latest Updated
2025-02-24
Github Stars
0.08K

How to Install ComfyUI_YuE

Install this extension via the ComfyUI Manager by searching for ComfyUI_YuE
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_YuE 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

YUE_Stage_B_Sampler Description

Audio processing node for sampling, decoding, and refining audio data with advanced quantization models for enhanced quality and creative manipulation.

YUE_Stage_B_Sampler:

The YUE_Stage_B_Sampler node is designed to facilitate the second stage of a multi-stage audio processing pipeline, specifically focusing on the sampling and processing of audio data. This node is integral in transforming and refining audio inputs by leveraging advanced quantization models and decoding techniques. It is particularly beneficial for users looking to enhance audio quality or manipulate audio tracks for creative purposes. The node's primary function is to process audio data through a series of steps that include loading models, decoding audio, and mixing tracks, ultimately producing high-quality audio outputs. By utilizing this node, you can achieve a seamless integration of instrumental and vocal tracks, ensuring a balanced and professional audio output.

YUE_Stage_B_Sampler Input Parameters:

stage1_set

The stage1_set parameter is a collection of settings and configurations from the first stage of the audio processing pipeline. It includes crucial information such as the quantization model to be used in the second stage. This parameter impacts the choice of model and the subsequent processing steps, ensuring that the audio data is handled consistently across stages. The exact options and configurations within stage1_set are determined by the outputs of the first stage, and it is essential for maintaining continuity in the processing pipeline.

model

The model parameter contains specific configurations and settings for the second stage of the audio processing. It includes details such as the model to be used (model_stage2) and the batch size (stage2_batch_size). These settings influence the processing speed and the quality of the audio output. The model choice determines the algorithmic approach for audio processing, while the batch size affects the computational load and efficiency. Users should select these settings based on their specific requirements and the capabilities of their hardware.

vocal_decoder_ckpt

The vocal_decoder_ckpt parameter specifies the checkpoint file for the vocal decoder model. This file contains the pre-trained weights and configurations necessary for decoding vocal tracks. The choice of checkpoint can significantly impact the quality and characteristics of the vocal output, allowing users to tailor the audio processing to their specific needs. It is important to ensure that the checkpoint file is compatible with the rest of the processing pipeline.

inst_decoder_ckpt

The inst_decoder_ckpt parameter is similar to the vocal_decoder_ckpt, but it is used for the instrumental decoder model. This parameter determines how instrumental tracks are decoded and processed, affecting the final audio mix. Selecting the appropriate checkpoint file is crucial for achieving the desired instrumental sound quality and ensuring that it complements the vocal tracks effectively.

rescale

The rescale parameter is used to adjust the amplitude of the audio output. It ensures that the final audio mix is balanced and free from clipping or distortion. This parameter is essential for maintaining audio quality, especially when combining multiple tracks with varying levels. Users should adjust the rescale value based on the specific requirements of their audio project to achieve optimal sound quality.

YUE_Stage_B_Sampler Output Parameters:

stage1_set

The stage1_set output parameter provides a set of configurations and settings that have been processed and refined during the second stage. This output is crucial for ensuring that the audio processing pipeline remains consistent and that the settings are correctly applied in subsequent stages or for further analysis.

info

The info output parameter contains detailed information about the processing that has occurred during the second stage. This includes metadata about the models used, the processing steps taken, and any relevant statistics or metrics. This information is valuable for users who need to understand the specifics of the audio processing and for debugging or optimizing the pipeline.

YUE_Stage_B_Sampler Usage Tips:

  • Ensure that the stage1_set parameter is correctly configured and consistent with the outputs of the first stage to maintain a seamless processing pipeline.
  • Select the appropriate vocal_decoder_ckpt and inst_decoder_ckpt files to match the desired audio characteristics and quality for your project.
  • Adjust the rescale parameter carefully to avoid audio clipping and ensure a balanced mix of vocal and instrumental tracks.

YUE_Stage_B_Sampler Common Errors and Solutions:

"mix {vocoder_mix} failed! inst: {instrumental_output.shape}, vocal: {vocal_output.shape}"

  • Explanation: This error occurs when there is a mismatch in the shapes of the instrumental and vocal outputs, preventing them from being mixed correctly.
  • Solution: Verify that the decoder models and checkpoints are correctly configured and compatible. Ensure that the input audio data is properly formatted and that the rescale parameter is set appropriately to avoid discrepancies in output shapes.

"Loading exllamav2 failed"

  • Explanation: This error indicates an issue with loading the exllamav2 model, possibly due to incorrect configurations or incompatible settings.
  • Solution: Check the quantization_model setting in the stage1_set parameter and ensure that it matches the available models. Verify that all necessary files and dependencies are correctly installed and accessible.

YUE_Stage_B_Sampler Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_YuE
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 Playground, enabling artists to harness the latest AI tools to create incredible art.