Nodaro Docs
DocumentationNode ReferenceModelsAI Agents (MCP)DevelopersSelf-hostingResearch
Audio

Trim Audio

Cut a section out of an audio file by start and end time, and save it as MP3, WAV or AAC. Keep only the part of a recording or song that the next node needs.

The Trim Audio node cuts a section out of an audio file. You set a start and an end time in seconds, choose MP3, WAV or AAC, and the node returns the trimmed audio. Leave both times empty to keep the whole file in the new format.

When to use it

  • Keep one section of a podcast or a music track.
  • Cut out one voice segment to re-voice or process it.
  • Shorten a generated song to the length of a video.
  • Save a file as WAV before an AI node, or as MP3 to make it smaller.

Quick start

Add the node

Press Tab on the canvas and choose Audio › Edit Audio › Trim Audio.

Wire the audio

Wire an audio node into the Audio input. For the sound of a video, wire the video through Extract Audio first.

Set the section

Open the settings panel and set Start Time (s) — optional and End Time (s) — optional. Choose the Audio Format.

Run it

Click Run on the node. The trimmed audio appears on the node with a player.

audioaudiovideoSuno Create MusicTrim Audio0 to 15 secondsGenerate VideoMerge Video & Audio
A generated song is cut to the first 15 seconds and merged onto a video.

Input and output

InputAcceptsWhat it does
AudioAudio nodes, such as Upload Audio, Text to Speech and Extract AudioThe audio to trim.

The output, Audio, is the trimmed audio in the chosen format.

Settings

SettingWhat it does
Audio FormatMP3 (the default), WAV or AAC.
Start Time (s) — optionalWhere the section starts, in seconds. Empty means the beginning of the file.
End Time (s) — optionalWhere the section ends, in seconds. Empty means the end of the file.

Tips

  • Use WAV before AI nodes. WAV keeps the highest quality for nodes such as Voice Changer and Forced Alignment.
  • Use MP3 for small files. Choose MP3 when quality is less critical.
  • Join sections back together. To put several trimmed sections one after another, use Combine Audio, which can also trim each segment.

From the API

POST /v1/trim-audio takes audioUrl or videoUrl, plus the optional startTime, endTime and audioFormat (mp3, wav or aac). With a video link, it extracts and trims the video's sound. The MCP tool is trim_audio. See Voice and media.

Frequently asked questions

Last updated on

On this page