{"id":17041684,"url":"https://github.com/xlab/vorbis-go","last_synced_at":"2025-04-12T14:33:53.445Z","repository":{"id":47144948,"uuid":"49375967","full_name":"xlab/vorbis-go","owner":"xlab","description":"Package vorbis provides Go bindings for OggVorbis implementation by the Xiph.Org Foundation.","archived":false,"fork":false,"pushed_at":"2021-09-11T20:23:51.000Z","size":58,"stargazers_count":24,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-18T18:51:59.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-10T16:54:07.000Z","updated_at":"2024-06-06T19:09:28.000Z","dependencies_parsed_at":"2022-08-28T15:00:07.321Z","dependency_job_id":null,"html_url":"https://github.com/xlab/vorbis-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fvorbis-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fvorbis-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fvorbis-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fvorbis-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlab","download_url":"https://codeload.github.com/xlab/vorbis-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219847461,"owners_count":16556351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:13:13.311Z","updated_at":"2024-10-14T09:13:14.468Z","avatar_url":"https://github.com/xlab.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"vorbis-go ![vorbis](https://xiph.org/images/logos/fish_xiph_org.png)\n=========\n\nThe package provides Go bindings for OggVorbis encoder/decoder reference implementation from [Xiph.org](https://www.xiph.org).\u003cbr /\u003e\nAll the binding code has automatically been generated with rules defined in [vorbis.yml](/vorbis.yml).\n\n### Usage\n\n```\n$ go get github.com/xlab/vorbis-go/vorbis\n\n$ go get github.com/xlab/vorbis-go/decoder\n(optionally if you need a quickstart in decoding)\n```\n\nExamples of usage: an implemented [OggVorbis decoder](/decoder) for Go programming language.\n\n### Demo\n\nThere is a player implemented in Go that can read OggVorbis files and play them via [portaudio-go](https://github.com/xlab/portaudio-go). So you will need to get portaudio installed first.\n\n```\n$ brew install portaudio vorbis ogg\n$ go get github.com/xlab/vorbis-go/cmd/vorbis-player\n\n$ vorbis-player http://dl.xlab.is/music/ogg/cloud_passade_3.ogg\n╭─────────────────────────────────────────────────────────────╮\n│                          FILE INFO                          │\n├─────────────┬───────────────────────────────────────────────┤\n│ TITLE       │ Cloud Passade No. 3                           │\n│ ARTIST      │ Lubomyr Melnyk                                │\n│ DATE        │ 2013                                          │\n│ COMMENT     │ Visit http://unseenworlds.bandcamp.com        │\n│ ALBUM       │ Three Solo Pieces                             │\n│ TRACKNUMBER │ 3                                             │\n│ ALBUMARTIST │ Lubomyr Melnyk                                │\n│ ISRC        │ USVML1311003                                  │\n├─────────────┼───────────────────────────────────────────────┤\n│ Bitstream   │ 2 channel, 44100.0Hz                          │\n│ Encoded by  │ Xiph.Org libVorbis I 20140122 (Turpakäräjiin) │\n╰─────────────┴───────────────────────────────────────────────╯\nPlaying...\n```\n\n### Rebuilding the package\n\nYou will need to get the [cgogen](https://git.io/cgogen) tool installed first.\n\n```\n$ git clone https://github.com/xlab/vorbis-go \u0026\u0026 cd vorbis-go\n$ make clean\n$ make\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fvorbis-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlab%2Fvorbis-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fvorbis-go/lists"}