audio

Generic Go package designed to define a common interface to analyze and/or process audio data

  • Owner: go-audio/audio
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

audio

GoDoc

audio is a generic Go package designed to define a common interface to analyze
and/or process audio data.

At the heart of the package is the Buffer interface and its implementations:

  • FloatBuffer
  • Float32Buffer
  • IntBuffer

Decoders, encoders, processors, analyzers and transformers can be written to
accept or return these types and share a common interface.

The idea is that audio libraries can define this interface or its
implementations as input and return an audio.Buffer interface allowing all
audio libraries to be chainable.

Performance

The buffer implementations are designed so a buffer can be reused and mutated
avoiding allocation penalties.

It is recommended to avoid using Float32Buffer unless performance is critical.
The major drawback of using float32s is that the Go stdlib was designed to work
with float64 and therefore the access to standard packages is limited.

Usage

Examples of how to use this interface is available under the
go-audio organization.

Main metrics

Overview
Name With Ownergo-audio/audio
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:Apache License 2.0
所有者活动
Created At2016-12-06 04:18:44
Pushed At2024-05-22 00:43:59
Last Commit At2018-10-13 13:32:23
Release Count1
Last Release Namev1.0.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count218
Watchers Count13
Fork Count12
Commits Count43
Has Issues Enabled
Issues Count11
Issue Open Count6
Pull Requests Count7
Pull Requests Open Count3
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private