Skip to content

kikht/mix

Repository files navigation

Mix

GoDoc Build Status Go Report Card

Audio mixer for golang. Inspired by https://github.com/go-mix/mix but has following differences:

  • All audio operations are vectorized.
  • No forced compression on whole mix. Optional compressors are planned, but not implemented yet.
  • Fade-in & fade-out on audio regions.
  • Float32 for audio samples - more than enough for audio.
  • Most time calculations are in number of samples. Converters to time.Duration are provided.

Demo

go run examples/main.go | aplay

Dependencies

  • github.com/rkusa/gm/math32 - math functions for float32
  • github.com/krig/go-sox - cgo bindings to SoX for audio input
  • github.com/xthexder/go-jack - cgo bindings to jackd
  • sfml package requires csfml 2.4

About

Audio mixer for golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published