{"id":20509818,"url":"https://github.com/dulltools/waverly","last_synced_at":"2026-06-08T05:31:16.162Z","repository":{"id":43110015,"uuid":"464238099","full_name":"dulltools/waverly","owner":"dulltools","description":"WAV file reader and writer","archived":false,"fork":false,"pushed_at":"2022-03-18T01:44:46.000Z","size":415,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-13T01:58:36.706Z","etag":null,"topics":["audio","audio-processing","rust","wav","wave"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dulltools.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}},"created_at":"2022-02-27T19:53:26.000Z","updated_at":"2024-01-03T01:52:27.000Z","dependencies_parsed_at":"2022-08-30T15:41:37.728Z","dependency_job_id":null,"html_url":"https://github.com/dulltools/waverly","commit_stats":null,"previous_names":["fraihaav/waverly"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dulltools/waverly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulltools%2Fwaverly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulltools%2Fwaverly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulltools%2Fwaverly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulltools%2Fwaverly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dulltools","download_url":"https://codeload.github.com/dulltools/waverly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dulltools%2Fwaverly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34050225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["audio","audio-processing","rust","wav","wave"],"created_at":"2024-11-15T20:26:34.674Z","updated_at":"2026-06-08T05:31:16.146Z","avatar_url":"https://github.com/dulltools.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# waverly\n[![docs.rs](https://docs.rs/waverly/badge.svg)](https://docs.rs/waverly)\n\nWaverly is a Rust library that allows for easy parsing and writing of WAV files with the primary\ngoal of providing access to all metadata within a WAV file, not just the format and data chunks.\nIt's secondary goal is to support `no_std`. If you only care about the data chunk already \nformatted as samples, there are plenty of [good alternatives](https://crates.io/search?q=wav).\n\n```rust\nuse std::fs::File;\nuse std::io::Cursor;\nuse waverly::Wave;\n\nfn main() -\u003e Result\u003c(), waverly::WaverlyError\u003e {\n    let file = File::open(\"./meta/16bit-2ch-float-peak.wav\")?;\n    let wave: Wave = Wave::from_reader(file)?;\n\n    let mut virt_file = Cursor::new(Vec::new());\n    wave.write(\u0026mut virt_file)?;\n    Ok(())\n}\n```\n\n## TODO\n- [x] Parse/read and write WAV files\n- [x] FORMAT chunk\n- [x] DATA chunk\n- [x] PEAK chunk\n- [x] FACT chunk\n- [x] `no_std` support\n- [ ] Single pass generation of samples in any bit depth\n- [ ] Most metadata in WAV can be generated without user input, do so where possible on write.\n- [ ] Feature to skip or target chunks\n- [ ] CUE POINT chunk\n- [ ] PLAYLIST chunk\n- [ ] Support PEAK chunk when channels are not equal to 2\n- [ ] Better support for extensible modes\n- [ ] Better error messages when binary doesn't align with chunks\n- [ ] ATests for additional chunks, extensible modes, `no_std`\n\n\n## Further reading\n[Multimedia Programming Interface and Data Specifications, starting on page 56](http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Docs/riffmci.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdulltools%2Fwaverly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdulltools%2Fwaverly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdulltools%2Fwaverly/lists"}