audiomix

command
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command audiomix demonstrates editing audio with AVAudioMix.

It loads an audio or video file, applies volume ramp effects using AVMutableAudioMix, and either previews the result with AVPlayer or exports a new file with the mix baked in via AVAssetReader/Writer.

This example is a Go port of Apple's "Editing Spatial Audio with an Audio Mix" sample, adapted to use the general-purpose AVAudioMix APIs available through the avfoundation bindings.

Usage:

audiomix preview [--duration <seconds>] <file>
audiomix bake [--fade-in <seconds>] [--fade-out <seconds>] --output <outfile> <file>

Examples:

audiomix preview --duration 10 recording.mov
audiomix bake --fade-in 2 --fade-out 3 --output mixed.mov recording.mov

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL