0ce5a6fc6f9cf40608e563d4e9ad0fcf80bbcbc5
comfyui-audio-plugin
A collection of nodes for working with audio data.
Note
This plugin is compatible with the ComfyUI audio nodes.
I/O
| Name | Description |
|---|---|
| Load Audio From Path | Same as "Load Audio" but loads from a local path instead of an uploaded audio file. |
Filter Banks
| Name | Description |
|---|---|
| Mel-scale Filter Bank | Create a mel-scale filter bank. |
| Apply Filter Bank | Apply the specified filter bank to the spectrogram. |
Plotting
| Name | Description |
|---|---|
| Plot Waveform | Plots the waveform of an AUDIO object. |
| Plot Spectrogram | Plots the spectrogram of a SPECT object. |
| Plot Filter Bank | Plots the FILTER_BANK object. |
Spectrogram
| 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. |
| Mel-scale Spectrogram | Computes the mel-scale spectrogram of a given AUDIO object. |
A spectrogram (SPECT) can be one of three types:
complex– a complex number valued spectrogram;magnitude– a real valued spectrogram that is the absolute value of thecomplexspectrogram (power 1);power– a real valued spectrogram that is the square of themagnitudespectrogram (power 2);
A mel-scale spectrogram (MEL_SPECT) is a magnitude or power spectrogram that has been converted
to the mel audio scale.
License
Copyright (C) 2024 Reece H. Dunn
SPDX-License-Identifier: GPL-3
Languages
Python
100%