Community plugin

cloudoyx / dsh-any-audio

Agent-led audio production toolkit: sampled instruments, timeline-based arranging, sound effects, TTS, multitrack mixing, and video muxing.

  • JavaScript
  • MIT
  • 52 stars
  • Nov 21, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-any-audio is a DSH plugin published from the cloudoyx/any-audio repository.

  • Listing statusManifest verified
  • Manifest checkedNov 19, 2026
  • Packagedsh-any-audio
  • Package version0.4.0
  • Source commit8eedd14
  • Repository createdOct 28, 2026

Capabilities and topics

ai-audioanimation-audiodeepseek-harnessmusic-generation
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

Cached versionView on GitHub

License: MIT Node DSH plugin Status

Hear the difference · The DAW · Install · Sound sources · Speech TTS · Singing · 中文说明


AnyAudio is an audio production toolkit for AI agents. It turns a sound idea into an actual audio project: write notes and render real instruments, write lines and generate speech, drop in sound effects, arrange the structure, mix the multitrack result, then open it in the DAW to audition and fine-tune it track by track. Video soundtracks are just one use — scenes, sound design, standalone music, audiobooks, podcasts and game audio all come out of the same pipeline.

The agent keeps the creative decisions. AnyAudio supplies the tools and execution needed to turn a sound idea into a finished audio file.

What it solves

Models can already write code that makes sound, but it rarely sounds like an instrument, a recording, or a finished mix. AnyAudio fills that gap:

  • Real instrument timbres — rendered from local sample banks instead of hand-written oscillators.
  • Notes land directly on the timeline — millisecond accuracy; music, narration and effects share one clock.
  • Automatic mix balance — tracks are placed in order with per-track gain, pan and fades; declaring a track as narration makes the plugin duck the other buses under the voice, and the master is peak-normalised so the whole mix does not clip. Every change can be auditioned section by section, and changed again.
  • Effects and voices — sound effects come from an installed sound library first (a pack of real recordings, searched by name), then from online CC0 when the library has nothing, and only then from the SoundFont banks or the procedural generators; speech goes through Edge TTS, MiMo-V2.5-TTS (currently free) or DeepSeek TTS (using the account DSH is signed in with).
  • Singing — give the agent notes and lyrics and it synthesises a vocal locally, landing on its own track in the DAW; ask for a song or a sung line and the agent calls the singing tool on its own.

Hear the difference

Both pairs contain identical material: one version made without the plugin, one with it. Listen first, read the numbers after.

GitHub plays embedded videos muted by default — click the speaker icon in the player to hear the audio.

"Fly Me to the Moon", bossa nova: arranged and adapted by the agent

The same 57-second bossa nova. Version A was produced the way an agent works without AnyAudio, writing NumPy synthesis directly; version B was rendered by AnyAudio from local sample banks. Same arrangement, only the sound source changed.

Version A — without AnyAudioVersion B — with AnyAudio
Peak / average level-1.5 dBFS / -19.9 dB-1.5 dBFS / -20.8 dB
Crest factor18.4 dB19.3 dB
Spectral centroid1,356 Hz1,890 Hz
Energy above 4 kHz6.8%11.6%

Version B uses sampled instruments: it sounds more like real players, with more high-frequency detail and more dynamic headroom.

A rainy night in five lines: speech and sound effects

The same 24-second scene, five lines of dialogue, plus rain, footsteps and a door, produced twice. Lines and timing are identical.

Version A — without AnyAudioVersion B — with AnyAudio
Peak / average level-1.5 dBFS / -27.5 dB-1.5 dBFS / -26.1 dB
Crest factor26.0 dB24.6 dB
Spectral centroid5,629 Hz4,401 Hz
Energy above 4 kHz55.3%44.0%

Version B's voices match the emotion and pacing of the scene more closely, and its effects are more realistic and more detailed.

The DAW

A visual workbench. Once the agent's music, voices and effects land here you can see a waveform for every track, drag clips around, change clip gain, add fades, and listen to any part of it.

A traditional DAW is built for a person, with AI as an assistant. This one is the other way round: the agent generates and makes bulk changes, while you direct the agent and can also audition and fine-tune by hand. A line that lands half a second late, an effect that buries the voice — fixing it by hand is far quicker than regenerating.

Person and agent share one timeline. Select a range, press "Add to conversation", and that range becomes a reference; write what you want changed after it and the agent knows exactly where you mean. The reverse works too: adjust one clip yourself until it sounds right, then have the agent apply that to the rest.

Install

Node.js 22.19+ (22.x) or 24+ (bundled with DSH); ffmpeg is only needed for speech and for muxing video.

dsh plugin --profile desktop add dsh-any-audio

If DSH boots a different profile, replace desktop with that profile name. Restart DSH once after installing so it picks up the plugin.

On a fresh install, opening a new conversation shows a six-step guide: welcome, install a sound source, install a sound pack, pick the narration engine, install the singing engine, meet the clip bay. Every step can be skipped, and Settings → AnyAudio → Advanced → Replay the guide brings it back.

The package bundles no audio resources; they are downloaded and installed on first use. Default suggestions:

  • Sound source: GeneralUser GS (general-purpose instruments, about 32 MB)
  • Sound pack: BaseSFX (237 real recordings, about 161 MB)
  • TTS engine: Edge (MiMo-TTS is also available, currently free)
  • Singing voicebank: Qixuan (sweet female voice, about 401 MB)

Quick start

Describe the work as usual while generating a video; the agent calls the plugin to render audio on its own:

Make a 30-second ink-wash animation: a seed in a rock crevice grows into a sapling. Add a little Chinese-style music and wind, no narration.

You can adjust musical detail and mixing behaviour as you go:

Guzheng lead, strings bed, cello on the low end; pull the music down whenever a voice comes in.

For a song, state the brief and call it directly:

Write me a Japanese RPG battle theme, loopable, 30 to 60 seconds. Drums, electric guitar and strings.

Or have the lyrics sung:

Sing the chorus of "Blue and White Porcelain" with Qixuan — the "the sky is clear, the rain is fine" lines.

You can even build an audiobook from scratch:

Turn Chapter 1 of Romance of the Three Kingdoms into an audiobook — deep, rich narration, distinguishable character voices, with simple background music and effects.

Then open the DAW tab at the top; the audio is already laid out by track:

Move the third line half a second later, then take 2 dB off the whole narration track.

Sound sources

The repository does not bundle SoundFonts. The plugin offers two suggested banks — GeneralUser GS as the default foundation and MuseScore General as an extra general-purpose orchestral bank — and it can also load compatible SoundFont files (.sf2, .sf3, .dls) placed in ~/.dsh/anyaudio/fonts. That directory is one shared library for every project and agent session on the machine, so a bank installed once is available everywhere.

BankSizeLicenseHow to get itNotes
GeneralUser GS32 MBGeneralUser GS License v2.0One clickSuggested — default foundation and fallback; the only bank guaranteed to include a drum kit
MuseScore General40 MBMITOne clickSuggested — extra general-purpose orchestral bank; 309 presets, fuller strings and ensembles
Upright Piano KW27 MB (7z)CC0 1.0ManualSingle-instrument piano bank, used on piano tracks only
Electric Guitar Clean446 MB (unpacked)CC0 1.0ManualSingle-instrument electric guitar bank

Installing both suggested banks gives the widest coverage: GeneralUser GS stays the default, while MuseScore General joins the automatic ranking for orchestral families. Download links and extraction notes for the last two are in Settings and in THIRD_PARTY_NOTICES.md; keep the file names unchanged after extracting so the plugin can recognise them.

Sound effects

Effects come from the installed sound library; when a sound is not there the agent looks for CC0 online, and falls back to sampling a soundfont or synthesising it.

PackClipsSizeHow to get it
BaseSFX237161 MBManual download, local install

Download the archive from the "Sound effects" tab in Settings or from the first-run guide, unpack it, and paste the full path of the extracted BaseSFX folder into "Install".

Speech TTS

Three engines, one interface:

EngineKeyNotes
Edge TTS (default)Not requiredFree, through Microsoft's public endpoint; needs ffmpeg to convert MP3 to WAV; may be rate-limited, in which case the plugin retries and reports a clear error. Supports rate, pitch and volume.
MiMo-V2.5-TTS (optional)Normal Open Platform API keyMore voices and styles; the key is stored in DSH credentials and only read on the host side. Currently free; register your own API key. Delivery is steered with style.
DeepSeek TTS (optional)Nothing extraUses the DeepSeek account DSH is signed in with. Two voices only (stella female, tide male), and no rate, pitch or volume control; billed per character, so the account needs credit.

MiMo and DeepSeek are both opt-in: saving a key or signing in does not switch the default engine, you choose it explicitly. MiMo's default voice mimo_default is resolved by the service cluster and may differ between regions; this version supports normal Open Platform keys only. DeepSeek's key is the one DSH itself signs in with — the plugin never writes or clears it, because removing it would break model access, not just narration.

Singing

The singing tool synthesises a real vocal on this machine from notes and lyrics and drops it onto its own vocal track in the clip bay — audition it, adjust its level, regenerate any line. The agent calls it automatically on singing requests; no need to name the tool.

Installing the singing environment

  1. Install the runtime (Step 1). Open "Settings → AnyAudio → Singing → Install singing environment" to install the runtime and vocoder.
  2. Download a voicebank archive (Step 2). Get the official voicebank zip from GitHub, Baidu Drive or Quark Drive — all three serve the same archive.
  3. Install the voicebank (Step 3). Back in Settings, paste the full path of the local zip and install it.

Nothing is bundled in the npm package; the first use needs a download and install.

GPU acceleration (optional)

  • Choosing the GPU asks for confirmation first, then downloads an extra ~216 MB of onnxruntime-gpu (CUDA/cuDNN included). The plugin measures several mirrors and picks the fastest.
  • Synthesis stays on CPU while the download runs; closing Settings does not interrupt it.
  • Once installed, both Auto and GPU use the graphics card, while CPU stays on the CPU. If the GPU setup is incompatible, reinstalling the singing environment restores the CPU setup.

Measured speed: a three-minute song takes about 247 s on CPU and about 28.5 s on GPU — roughly 8.7× faster.

Known limitations

  • Project size caps — a project is at most 15 minutes long and 20 tracks wide; going past either is an error.
  • Audio only, for now — a video can sit in the project as a reference picture, but this version does not trim, join or transition it.
  • Tracks hold finished audio — every clip on the timeline is an already-rendered wav/mp3 that can be auditioned on its own; MIDI, scores and parameters never go on the timeline.
  • SoundFont only — no SFZ, Kontakt or VST; converting other source formats is out of scope for this version.
  • No per-note envelope control — attack and release come from the preset; use short notes with gaps for staccato and velocity plus expression for dynamics.
  • Chinese instruments are GM approximations — guzheng maps to Koto, dizi to Flute, erhu to Fiddle; dedicated banks will do better.
  • Singing quality depends on the voicebank and tuning — the plugin only provides the install channel, interface and usage.
  • Only the Qixuan voicebank is guaranteed to work at a basic level; other banks are accepted through the open interface but loading and quality are not guaranteed, and need your own tuning.

Support the project

AnyAudio is an independent open-source project. If it helps your work or your creation, you are welcome to buy me a coffee to support further development.

Any amount is appreciated.

License

Code is MIT, see LICENSE.

SoundFonts and third-party components keep their own licenses, see THIRD_PARTY_NOTICES.md. This repository distributes no sample banks.

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/cloudoyx/any-audio)