comfyui-audio-processing

comfyui-audio-processing
★ 12

音频处理波形绘制频谱分析滤波器组
为ComfyUI提供音频处理节点集合,支持本地加载、波形绘制、实/复数频谱及线性/梅尔滤波器组,便于分析与可视化。
💡 在ComfyUI工作流中加载音频并生成波形与频谱用于可视化分析。
🍴 4 Forks💻 Python🔄 2024-08-22
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/f414772aa5c3
Plotting an audio waveform
Generating, plotting, and inverting a complex-valued spectrogram
Generating, plotting, and inverting a real-valued spectrogram
Generating and plotting linear-scaled spectrograms
Generating and plotting mel-scaled spectrograms
📄 README

comfyui-audio-plugin

A collection of nodes for working with audio data.

  • Audio Waveforms
  • Spectrograms
  • Complex-Valued Spectrograms
  • Real-Valued Spectrograms
  • Filter Banks
  • Linear-scale Spectrograms
  • Mel-scale Spectrograms
  • License
  • [!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. |

    [](workflows/waveform/plot-waveform.json)

    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:

  • complex – a complex number valued spectrogram;
  • magnitude – a real valued spectrogram that is the absolute value of the complex spectrogram (power 1);
  • power – a real valued spectrogram that is the square of the magnitude spectrogram (power 2);
  • Complex-Valued Spectrograms

    [](workflows/spectrogram/complex-valued-spectrogram.json)

    Real-Valued Spectrograms

    [](workflows/spectrogram/real-valued-spectrogram.json)

    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

    [](workflows/filter%20bank/linear-scale-spectrogram.json)

    Mel-scale Spectrograms

    [](workflows/filter%20bank/mel-scale-spectrogram.json)

    License

    Copyright (C) 2024 Reece H. Dunn

    SPDX-License-Identifier: GPL-3