ComfyUI > Nodes > ComfyUI-MMAudio > MMAudio Sampler

ComfyUI Node: MMAudio Sampler

Class Name

MMAudioSampler

Category
MMAudio
Author
kijai (Account age: 2823days)
Extension
ComfyUI-MMAudio
Latest Updated
2026-03-26
Github Stars
0.54K

How to Install ComfyUI-MMAudio

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

MMAudio Sampler Description

MMAudioSampler converts text prompts into audio, integrating images for synchronized outputs.

MMAudio Sampler:

The MMAudioSampler is a sophisticated node designed to facilitate the generation of audio content using machine learning models. Its primary function is to convert textual prompts into audio outputs, leveraging advanced audio synthesis techniques. This node is particularly beneficial for AI artists and developers who wish to create audio content that aligns with specific textual descriptions. By utilizing a combination of prompts, negative prompts, and various configuration settings, the MMAudioSampler can produce nuanced and contextually relevant audio outputs. The node is equipped to handle additional inputs such as images, which can be processed to synchronize audio with visual content, enhancing the multimedia experience. Overall, the MMAudioSampler serves as a powerful tool for generating creative audio content, offering flexibility and precision in audio synthesis.

MMAudio Sampler Input Parameters:

mmaudio_model

This parameter specifies the machine learning model used for audio generation. It is crucial as it determines the underlying architecture and capabilities of the audio synthesis process. The model should be compatible with the node's requirements to ensure optimal performance.

seed

The seed parameter is used to initialize the random number generator, ensuring reproducibility of the audio outputs. By setting a specific seed value, you can generate the same audio output for identical inputs, which is useful for debugging and iterative development.

feature_utils

This parameter provides utility functions for feature extraction and processing, which are essential for converting textual prompts into audio features. It plays a critical role in the transformation of input data into a format suitable for audio synthesis.

duration

The duration parameter defines the length of the generated audio in seconds. It directly impacts the output by determining how long the audio will play, allowing you to tailor the audio length to your specific needs.

steps

This parameter indicates the number of steps used in the audio generation process. More steps can lead to higher quality audio but may increase computation time. It is a trade-off between quality and performance.

cfg

The cfg parameter, or configuration strength, influences the adherence of the generated audio to the provided prompts. A higher cfg value results in audio that more closely matches the prompts, while a lower value allows for more creative freedom.

prompt

The prompt is a textual description that guides the audio generation process. It serves as the primary input for defining the content and style of the audio output.

negative_prompt

This parameter allows you to specify aspects that should be avoided in the audio output. It helps refine the generated audio by excluding unwanted elements or characteristics.

mask_away_clip

A boolean parameter that determines whether to mask away certain parts of the input clip. When set to true, it can help focus the audio generation on specific segments, enhancing the relevance of the output.

force_offload

This parameter forces the offloading of model components to manage memory usage effectively. It is useful in scenarios where system resources are limited, ensuring smooth operation without compromising performance.

images

An optional parameter that allows you to input images for processing. When provided, the node can synchronize audio with visual content, creating a cohesive multimedia experience.

MMAudio Sampler Output Parameters:

audios

The audios parameter represents the generated audio output from the node. It is the final product of the audio synthesis process, encapsulating the characteristics defined by the input parameters. The audio output can be used in various applications, such as multimedia projects, sound design, and more.

MMAudio Sampler Usage Tips:

  • Experiment with different seed values to explore a variety of audio outputs from the same prompt, enhancing creativity and diversity in your projects.
  • Adjust the cfg parameter to balance between prompt adherence and creative freedom, depending on the desired outcome for your audio content.
  • Utilize the images parameter to create synchronized audio-visual experiences, adding depth and context to your multimedia projects.

MMAudio Sampler Common Errors and Solutions:

ModelNotFoundError

  • Explanation: This error occurs when the specified mmaudio_model cannot be found or loaded.
  • Solution: Ensure that the model path is correct and that the model file is accessible. Verify that the model is compatible with the node's requirements.

DeviceMemoryError

  • Explanation: This error indicates insufficient memory on the device to process the audio generation.
  • Solution: Try reducing the duration or steps parameters to lower memory usage. Alternatively, use the force_offload parameter to manage memory more effectively.

InvalidPromptError

  • Explanation: This error arises when the provided prompt or negative prompt is not valid or improperly formatted.
  • Solution: Check the prompt for any syntax errors or unsupported characters. Ensure that the prompt is a coherent and meaningful textual description.

MMAudio Sampler Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MMAudio
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.

MMAudio Sampler