klangsynthese

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

klangsynthese

Waveform and Audio Synthesis library in Go

GoDoc Go Report Card

Klangsynthese right now supports a number of features that will work regardless of OS, with further support planned for OSX as soon as we get our hands on one to test with.

Usage

See test files.

OS specific features

OS Load Modify Save Play
Windows X X X
Linux X X X
Darwin X X

Quick recipe for testing on Linux

This recipe should run the wav test on Linux:

go get github.com/200sc/klangsynthese
go get github.com/stretchr/testify/require
go test github.com/200sc/klangsynthese/wav

Other features

  • 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...)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFile

func LoadFile(filename string) (audio.Audio, error)

LoadFile will parse the file name given and redirect to the appropriate subpackage depending on the ending.

Types

This section is empty.

Directories

Path Synopsis
Package audio provides audio playing and encoding support
Package audio provides audio playing and encoding support
filter
Package filter provides various audio filters to be applied to audios through the Filter() function
Package filter provides various audio filters to be applied to audios through the Filter() function
filter/supports
Package supports holds interface types for filter supports
Package supports holds interface types for filter supports
Package flac provides functionality to handle .flac files and .flac encoded data
Package flac provides functionality to handle .flac files and .flac encoded data
Package font provides utilities to package together audio manipulations as a 'font'
Package font provides utilities to package together audio manipulations as a 'font'
ceol
Package ceol provides functionality to handle .ceol files and .ceol encoded data (Bosca Ceoil files)
Package ceol provides functionality to handle .ceol files and .ceol encoded data (Bosca Ceoil files)
dls
Package dls contains data structures for DLS (.dls) file types
Package dls contains data structures for DLS (.dls) file types
riff
Package riff reads and umarshalls RIFF files
Package riff reads and umarshalls RIFF files
Package mp3 provides functionality to handle .mp3 files and .mp3 encoded data
Package mp3 provides functionality to handle .mp3 files and .mp3 encoded data
Package sequence provides generators and options for creating audio sequences
Package sequence provides generators and options for creating audio sequences
Package synth provides functions and types to support waveform synthesis
Package synth provides functions and types to support waveform synthesis
Package wav provides functionality to handle .wav files and .wav encoded data
Package wav provides functionality to handle .wav files and .wav encoded data

Jump to

Keyboard shortcuts

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