Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.1 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.1 KB

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