{"id":13425377,"url":"https://github.com/mccoyst/vorbis","last_synced_at":"2026-01-17T11:47:38.872Z","repository":{"id":64300834,"uuid":"11358791","full_name":"mccoyst/vorbis","owner":"mccoyst","description":"A \"native\" ogg vorbis decoder for Go (uses inline stb_vorbis)","archived":false,"fork":false,"pushed_at":"2023-08-18T17:02:41.000Z","size":103,"stargazers_count":32,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T19:37:10.901Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mccoyst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-07-12T02:45:39.000Z","updated_at":"2024-12-25T07:40:43.000Z","dependencies_parsed_at":"2024-01-17T03:17:40.584Z","dependency_job_id":"b469b159-a62a-4103-a5c3-650f1bea70a5","html_url":"https://github.com/mccoyst/vorbis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mccoyst/vorbis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccoyst%2Fvorbis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccoyst%2Fvorbis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccoyst%2Fvorbis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccoyst%2Fvorbis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mccoyst","download_url":"https://codeload.github.com/mccoyst/vorbis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccoyst%2Fvorbis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07-31T00:01:11.195Z","updated_at":"2026-01-17T11:47:38.863Z","avatar_url":"https://github.com/mccoyst.png","language":"Go","funding_links":[],"categories":["Uncategorized","Audio and Music","Audio/Music","音频和音乐","音頻和音樂","音频和音乐库","音频和视频","\u003cspan id=\"音频和音乐-audio-and-music\"\u003e音频和音乐 Audio and Music\u003c/span\u003e"],"sub_categories":["Contents"],"readme":"vorbis\n======\n\n[![GoDoc](https://godoc.org/github.com/mccoyst/vorbis?status.svg)](https://godoc.org/github.com/mccoyst/vorbis)\n\nThis Go package provides a \"native\" ogg vorbis decoder, but still requires cgo, as it uses inline code from [stb_vorbis](http://nothings.org/stb_vorbis/). Someday, it won't.\n\nThe package exports a single function:\n\n\tvar data []byte\n\t…\n\tsamples, nchannels, sampleRate, err := vorbis.Decode(data)\n\t\nThis corresponds to `stb_vorbis_decode_memory()`, but is a little different. Samples is a `[]int16`, corresponding to stb's dynamic array of shorts if you're on the right platforms. The samples seem to be stored native-endian, but I haven't tested many vorbis files. Nchannels is the number of channels, which are interleaved in the samples slice. Err is non-nil if the data is not an ogg vorbis stream according to stb.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmccoyst%2Fvorbis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmccoyst%2Fvorbis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmccoyst%2Fvorbis/lists"}