Waveform and Audio Synthesis library in Go
Klangsynthese right now supports a number of features that will work regardless of OS, and a number of features specific to Windows where the hope is to move support to Linux and Darwin.
See test files.
OS | Load | Modify | Save | Play |
---|---|---|---|---|
Windows | X | X | X | |
Linux | X | X | ? | |
Darwin | X | X |
To develop with linux you'll need alsa:
sudo apt-get install alsa-base libasound2-dev
Binaries built with this will probably need alsa-base as well to run on Linux.
This recipe should run the wav test on Linux:
sudo apt-get install alsa-base libasound2-dev
go get github.com/200sc/klangsynthese
go get github.com/stretchr/testify/assert
go test github.com/200sc/klangsynthese/wav
- Wav support
- Mp3 support
- Flac support?
- Ogg support
- Creating waveforms (Sin, Square, Saw, ...)
- Filtering audio samples
- Creating Sequences of audio samples to play music
- Importable Bosca Ceoil files (.ceol)
- Importable DLS files
- Importable arbitrary instruments
- Other Importable soundfonts (.sf2...)