Audio Processor Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Edit, convert, and analyze audio files.

Trim, merge, convert audio formats, adjust volume, add effects, and extract metadata. Uses pydub and ffmpeg for audio processing.

langchaincrewaigeneric

Quick Start

bash
agentnode install audio-processor-pack

Usage

From package
python
from audio_processor_pack.tool import run

result = run(
    capability="process_audio",
    params={
        "input_path": "/tmp/interview_raw.wav",
        "operations": [
            {"type": "trim", "start_ms": 2500, "end_ms": 3600000},
            {"type": "normalize", "target_dbfs": -20.0},
            {"type": "convert", "format": "mp3", "bitrate": "192k"}
        ]
    }
)

print(f"Output: {result['output_path']}")
print(f"Duration: {result['duration_seconds']:.1f}s")
print(f"File size: {result['file_size_kb']:.0f} KB")

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 1.8s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.8s
import127ms
smoke157ms
tests1.3s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Trim silence from podcast recordings
  • Convert WAV files to MP3 with bitrate control
  • Merge multiple audio clips into a single track
  • Normalize volume across a batch of audio files
  • Extract metadata and duration from audio files

README

Audio Processor Pack

Edit, convert, and analyze audio files. Trim, merge, normalize volume, convert formats, and extract metadata — powered by pydub and ffmpeg under the hood.

Quick Start

agentnode install audio-processor-pack
from audio_processor_pack.tool import run

result = run(
    capability="process_audio",
    params={
        "input_path": "/tmp/recording.wav",
        "operations": [{"type": "convert", "format": "mp3"}]
    }
)
print(result["output_path"])

Usage

Trim silence and normalize

result = run(
    capability="process_audio",
    params={
        "input_path": "/tmp/podcast.wav",
        "operations": [
            {"type": "trim_silence", "threshold_dbfs": -40},
            {"type": "normalize", "target_dbfs": -16.0},
            {"type": "convert", "format": "mp3", "bitrate": "192k"}
        ]
    }
)

Merge clips with crossfade

result = run(
    capability="process_audio",
    params={
        "input_paths": ["/tmp/intro.mp3", "/tmp/main.mp3", "/tmp/outro.mp3"],
        "operations": [{"type": "merge", "crossfade_ms": 2000}]
    }
)

Extract audio metadata

result = run(
    capability="process_audio",
    params={
        "input_path": "/tmp/track.mp3",
        "operations": [{"type": "metadata"}]
    }
)
print(f"Duration: {result['duration_seconds']}s, Channels: {result['channels']}")

API Reference

CapabilityDescription
process_audioApply operations to audio files

Operations: trim, trim_silence, merge, normalize, convert, metadata, adjust_volume, fade_in, fade_out.

Returns: output_path, duration_seconds, file_size_kb, format, channels, sample_rate, segments_merged.

Requirements

No environment variables required. ffmpeg must be available in the runtime (included in AgentNode sandboxes).

License

MIT

Version History

Capabilities

audio_processingprocess_audiotool

Permissions

This package declares the following access levels. Review before installing.

Networknone
Filesystemtemp
Code Executionlimited_subprocess
Data Accessinput_only
User Approvalnever
bash
agentnode install audio-processor-pack

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointaudio_processor_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode