Nodes Browser

ComfyDeploy: How comfyui-audio-processing works in ComfyUI?

What is comfyui-audio-processing?

This plugin is compatible with the ComfyUI audio nodes.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for comfyui-audio-processing and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

comfyui-audio-plugin

A collection of nodes for working with audio data.

[!NOTE]

This plugin is compatible with the ComfyUI audio nodes.

Audio Waveforms

| Name | Description | |----------------------|-------------------------------------------------------------------------------------| | Load Audio From Path | Same as "Load Audio" but loads from a local path instead of an uploaded audio file. | | Plot Waveform | Plots the waveform of an AUDIO object. |

Plotting an audio waveform

Spectrograms

| Name | Description | |---------------------|--------------------------------------------------------------------------------| | Spectrogram | Computes the spectrogram of a given AUDIO object. | | Inverse Spectrogram | Converts a complex-valued spectrogram to AUDIO. | | Griffin Lim | Converts a real-valued spectrogram to AUDIO using the Griffin-Lim algorithm. | | Plot Spectrogram | Plots the spectrogram of a SPECT object. |

A spectrogram (SPECT) can be one of three types:

  1. complex – a complex number valued spectrogram;
  2. magnitude – a real valued spectrogram that is the absolute value of the complex spectrogram (power 1);
  3. power – a real valued spectrogram that is the square of the magnitude spectrogram (power 2);

Complex-Valued Spectrograms

Generating, plotting, and inverting a complex-valued spectrogram

Real-Valued Spectrograms

Generating, plotting, and inverting a real-valued spectrogram

Filter Banks

| Name | Description | |-----------------------|-----------------------------------------------------| | Linear Filter Bank | Create a linear filter bank. | | Mel-scale Filter Bank | Create a mel-scale filter bank. | | Apply Filter Bank | Apply the specified filter bank to the spectrogram. | | Plot Filter Bank | Plots the FILTER_BANK object. |

Linear-scale Spectrograms

Generating and plotting linear-scaled spectrograms

Mel-scale Spectrograms

Generating and plotting mel-scaled spectrograms

License

Copyright (C) 2024 Reece H. Dunn

SPDX-License-Identifier: GPL-3