Mixer in G is a PCM audio stream mixer package written in pure Go using the go-audio framework and does not require binding to non-native libraries, such as SoX or FFmpeg, as other mixers do.
To import Mixer in G into your project:
go get github.com/ScriptTiger/mixerInG
Then just import "github.com/ScriptTiger/mixerInG"
and get started with using its functions. Please refer to the reference implementation for more details and ideas on how to integrate Mixer in G into your project.
https://github.com/ScriptTiger/mixerInG/tree/main/ref
Usage: mixerInG [options...]
Argument | Description |
---|---|
-i <file> |
Input WAV file (must be used for each input, for at least 2 inputs) |
-o <file> |
Destination WAV file |
If no output file is given, or -
is given, the mix is written to standard output and can be piped into VLC or other compatible media applications.
For more ScriptTiger scripts and goodies, check out ScriptTiger's GitHub Pages website:
https://scripttiger.github.io/