New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

audioforge

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audioforge

🔊 AI Audio Generator CLI - Multi-provider sound effects & music generation from your terminal

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

🔊 AudioForge — AI Audio Generator CLI

npm version CI License: MIT

Multi-provider AI sound effect & music generation from your terminal.

  • 4 Providers: ElevenLabs, Stability AI, fal.ai, Replicate
  • Sound Effects: Game sounds, UI clicks, foley, ambient noise
  • Music Generation: Background music, loops, tracks with genre/BPM control
  • 15 Style Presets: game-sfx, cinematic, 8-bit, ambient, electronic, orchestral...
  • Batch Processing: Generate multiple audio files from YAML config
  • Templates: Save prompts with {variables} for repeatable generation
  • Cost Tracking: Per-provider spending summaries
  • History: Full generation log with search

Quick Start

npm install -g audioforge

# Configure a provider
audioforge config set elevenlabs.apiKey sk-your-key

# Generate a sound effect
audioforge gen "laser beam shooting"

# Generate with a style preset
audioforge gen "footsteps on gravel" --preset game-sfx

# Generate music
audioforge music "lo-fi hip hop beat" --genre ambient --duration 30

# Compare providers
audioforge compare "thunder rumble"

Commands

Sound Effects

audioforge generate <prompt>         # (alias: gen, g)
  -p, --provider <name>              # elevenlabs, stability, fal, replicate
  -m, --model <model>                # Specific model
  -d, --duration <seconds>           # Duration or preset (blip, short, medium...)
  -o, --output <path>                # Output file path
  -f, --format <type>                # wav, mp3, ogg, flac (default: wav)
  -s, --preset <style>               # Style preset (game-sfx, cinematic, 8-bit...)
  -t, --template <name>              # Use saved prompt template
  -v, --var <key=value>              # Template variable (repeatable)
  --seed <number>                    # Seed for reproducibility
  --loop                             # Generate seamless loop
  --open                             # Open audio after generation

Music

audioforge music <prompt>            # (alias: m)
  -p, --provider <name>              # stability, fal, replicate
  -d, --duration <seconds>           # Duration (default: 30)
  --genre <genre>                    # ambient, electronic, orchestral, rock...
  --bpm <bpm>                        # Tempo in BPM
  --instrumental                     # Instrumental only, no vocals
  --loop                             # Seamless loop

Other Commands

audioforge compare <prompt>          # Compare across providers
audioforge batch <file.yaml>         # Batch generate from YAML/JSON
audioforge convert <input> --to mp3  # Convert audio format
audioforge providers list            # List all providers
audioforge history list              # View generation history
audioforge template save <n> <p>     # Save prompt template
audioforge cost summary              # Spending summary
audioforge cost pricing              # Per-provider pricing
audioforge config set <key> <val>    # Set configuration
audioforge config list               # Show all config

Providers

ProviderModelsCapabilitiesAPI Key
ElevenLabseleven_sfx_v2SFX, Loopelevenlabs.apiKey
Stability AIstable-audio-2.5SFX, Music (up to 3 min)stability.apiKey
fal.aiCassetteAI, BeatovenSFX, Musicfal.apiKey
ReplicateMusicGen, AudioGenSFX, Music, Variationsreplicate.apiKey

Setup

audioforge config set elevenlabs.apiKey "your-elevenlabs-key"
audioforge config set stability.apiKey "your-stability-key"
audioforge config set fal.apiKey "your-fal-key"
audioforge config set replicate.apiKey "your-replicate-key"

Style Presets

PresetDescription
game-sfxPunchy, clear, game-ready sound effect
ui-clickSubtle, satisfying UI interaction sound
ambientAtmospheric environmental ambience
cinematicDramatic, theatrical sound design
foleyRealistic everyday sound recording
8-bitRetro chiptune pixel game sound
sci-fiFuturistic, technological sound
fantasyMagical, ethereal, enchanting sound
horrorDark, unsettling, eerie atmosphere
electronicSynthesized, modern electronic sound
orchestralClassical orchestral instruments
lo-fiWarm, vintage, relaxing lo-fi sound
notificationShort, attention-grabbing alert
transitionSmooth whoosh/sweep transition
natureNatural environmental outdoor sound

Duration Presets

PresetDuration
blip0.5s
short2s
medium5s
long10s
extended30s
music-short15s
music-medium30s
music-long60s
music-full180s

Batch Processing

Create a YAML file:

items:
  - prompt: "laser beam"
    type: sfx
    provider: elevenlabs
    duration: 3
  - prompt: "ambient piano loop"
    type: music
    provider: stability
    duration: 30
audioforge batch sounds.yaml
audioforge batch sounds.yaml --dry-run  # Preview only

Templates

# Save a template with variables
audioforge template save game-hit "{material} impact on {surface}" --preset game-sfx

# Use the template
audioforge gen "" -t game-hit -v material=metal -v surface=concrete

# List and manage
audioforge template list
audioforge template show game-hit
audioforge template delete game-hit

Part of the Forge Ecosystem

ToolPurpose
AppForgeScaffold projects
BackForgeBackend init
TestForgeAI test generation
ImgForgeAI image generation
AudioForgeAI audio generation
ScreenForgeApp store assets
StoreForgeStore deployment
MonForgeProduction monitoring

License

MIT © magicpro97

Keywords

ai

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts