vorbis-go

Package vorbis provides Go bindings for OggVorbis implementation by the Xiph.Org Foundation.

  • 所有者: xlab/vorbis-go
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

vorbis-go vorbis

The package provides Go bindings for OggVorbis encoder/decoder reference implementation from Xiph.org.
All the binding code has automatically been generated with rules defined in vorbis.yml.

Usage

$ go get github.com/xlab/vorbis-go/vorbis

$ go get github.com/xlab/vorbis-go/decoder
(optionally if you need a quickstart in decoding)

Examples of usage: an implemented OggVorbis decoder for Go programming language.

Demo

There is a player implemented in Go that can read OggVorbis files and play them via portaudio-go. So you will need to get portaudio installed first.

$ brew install portaudio vorbis ogg
$ go get github.com/xlab/vorbis-go/cmd/vorbis-player

$ vorbis-player http://dl.xlab.is/music/ogg/cloud_passade_3.ogg
╭─────────────────────────────────────────────────────────────╮
│                          FILE INFO                          │
├─────────────┬───────────────────────────────────────────────┤
│ TITLE       │ Cloud Passade No. 3                           │
│ ARTIST      │ Lubomyr Melnyk                                │
│ DATE        │ 2013                                          │
│ COMMENT     │ Visit http://unseenworlds.bandcamp.com        │
│ ALBUM       │ Three Solo Pieces                             │
│ TRACKNUMBER │ 3                                             │
│ ALBUMARTIST │ Lubomyr Melnyk                                │
│ ISRC        │ USVML1311003                                  │
├─────────────┼───────────────────────────────────────────────┤
│ Bitstream   │ 2 channel, 44100.0Hz                          │
│ Encoded by  │ Xiph.Org libVorbis I 20140122 (Turpakäräjiin) │
╰─────────────┴───────────────────────────────────────────────╯
Playing...

Rebuilding the package

You will need to get the cgogen tool installed first.

$ git clone https://github.com/xlab/vorbis-go && cd vorbis-go
$ make clean
$ make

主要指标

概览
名称与所有者xlab/vorbis-go
主编程语言C
编程语言Makefile (语言数: 3)
平台
许可证
所有者活动
创建于2016-01-10 16:54:07
推送于2021-09-11 20:23:51
最后一次提交2021-09-11 23:23:51
发布数0
用户参与
星数27
关注者数4
派生数7
提交数35
已启用问题?
问题数6
打开的问题数2
拉请求数4
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?