by aopstudio Β· v0.0.1
Note name to audio waveform file generation tool. Can be combined with `Iteration` node and `Audio merging tool` to achieve simple composition.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
A Dify plugin that converts musical note names (e.g., C4, A#5, Eb3) into synthesized audio files in WAV format. Supports multiple waveform types and customizable synthesis parameters.
This plugin enables users or LLMs to generate short synthesized tones from standard musical notes using common oscillator waveforms:
The output is a mono, 44.1kHz, float32 WAV file suitable for playback, analysis, or further audio processing.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
note | string | β Yes | β | Musical note in scientific pitch notation (e.g., C4, A#5, Eb3). Octave range: 0β8. |
duration | number | β No | 0.5 | Duration in seconds (0.1β10). |
waveform | select | β No | sine | Waveform type: sine, square, sawtooth, or triangle. |
blur | number | β No | 0.05 | Low-pass smoothing factor (0 = none, 1 = max blur). |
decay | number | β No | 5.0 | Exponential decay rate (higher = faster fade-out). |
volume | number | β No | 0.3 | Output amplitude (0.01β1.0). |
{
"note": "A4",
"duration": 1.0,
"waveform": "Square Wave",
"volume": 0.5
}
A4_square.wavUses scientific pitch notation:
C, C#/Db, D, D#/Eb, E, F, F#/Gb, G, G#/Ab, A, A#/Bb, B0 to 8 (e.g., C0 β 16.35 Hz, C8 β 4186 Hz)π Flats (e.g.,
Eb3) are automatically converted to their sharp equivalents (D#3) internally.
numpy, soundfileexp(-decay * t))note_to_audio_tool.py in your Dify plugin directory (e.g., tools/note_to_audio.py).plugin.yaml or equivalent) includes the configuration provided in your spec.Fully supports English and Simplified Chinese:
Created by aopstudio
https://github.com/aopstudio/dify-note-to-audio-tool
πΆ Turn notes into soundβright inside your AI workflow!