{"id":19474778,"url":"https://github.com/xigh/go-waveform","last_synced_at":"2025-04-25T12:31:59.985Z","repository":{"id":55052127,"uuid":"245372875","full_name":"xigh/go-waveform","owner":"xigh","description":"Go module to generate and render waveform images from audio files","archived":false,"fork":false,"pushed_at":"2024-12-31T15:13:54.000Z","size":58,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T22:23:40.140Z","etag":null,"topics":["golang","module","render","wav","waveform"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xigh.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-06T08:59:07.000Z","updated_at":"2024-12-31T15:13:57.000Z","dependencies_parsed_at":"2024-06-21T15:32:07.133Z","dependency_job_id":"8e7c7f8e-311b-4a9c-b11e-082c9ded5968","html_url":"https://github.com/xigh/go-waveform","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/xigh%2Fgo-waveform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fgo-waveform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fgo-waveform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fgo-waveform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xigh","download_url":"https://codeload.github.com/xigh/go-waveform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250817823,"owners_count":21492230,"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":["golang","module","render","wav","waveform"],"created_at":"2024-11-10T19:26:57.077Z","updated_at":"2025-04-25T12:31:56.924Z","avatar_url":"https://github.com/xigh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-waveform\n\nGo module to generate and render waveform images from audio files\n\nExample :\n\n![combined](combined.png)\n\nWe can zoom :\n\n![combined2](combined2.png)\n\n# TODO\n\n* doc\n* add range\n* add segment\n* add labels\n\n# Usage :\n\n```go\nimport (\n    // ...\n\t\"github.com/xigh/go-waveform\"\n\t\"github.com/xigh/go-wavreader\"\n)\n\nfunc main() {\n\tr, err := os.Open(\"test-hello.wav\")\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer r.Close()\n\t\n\tw0, err := wavreader.New(r)\n\tif err != nil {\n        return err\n    }\n    \n\timg := waveform.MinMax(w1, \u0026waveform.Options{\n\t\tWidth:   1800,\n\t\tHeight:  400,\n\t\tZoom:    1.7,\n\t\tHalf:    false,\n\t\tMarginL: *margin,\n\t\tMarginR: *margin,\n\t\tMarginT: *margin,\n\t\tMarginB: *margin,\n\t\tFront: \u0026color.NRGBA{\n\t\t\tR: 255,\n\t\t\tG: 128,\n\t\t\tB: 0,\n\t\t\tA: 150,\n\t\t},\n\t\tBack: \u0026color.NRGBA{\n\t\t\tA: 0,\n\t\t},\n\t})\n\n\tw, err := os.Create(\"test-minmax.png\")\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer w.Close()\n\n\terr = png.Encode(w, img)\n\tif err != nil {\n\t\treturn err\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigh%2Fgo-waveform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxigh%2Fgo-waveform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigh%2Fgo-waveform/lists"}