{"id":23193539,"url":"https://github.com/mcraiha/csharp-qoa","last_synced_at":"2025-10-19T19:33:17.782Z","repository":{"id":260913270,"uuid":"875730403","full_name":"mcraiha/CSharp-QOA","owner":"mcraiha","description":"C# implementation of QOA (Quite OK Audio Format)","archived":false,"fork":false,"pushed_at":"2025-01-14T18:51:40.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T04:35:42.316Z","etag":null,"topics":["csharp","dotnet","qoa"],"latest_commit_sha":null,"homepage":"","language":"C#","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/mcraiha.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":"2024-10-20T17:44:47.000Z","updated_at":"2025-01-14T18:51:43.000Z","dependencies_parsed_at":"2024-11-18T19:31:25.077Z","dependency_job_id":"ca3599b8-6ce6-4e4d-b4cf-4850f3b7ac54","html_url":"https://github.com/mcraiha/CSharp-QOA","commit_stats":null,"previous_names":["mcraiha/csharp-qoa"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcraiha%2FCSharp-QOA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcraiha%2FCSharp-QOA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcraiha%2FCSharp-QOA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcraiha%2FCSharp-QOA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcraiha","download_url":"https://codeload.github.com/mcraiha/CSharp-QOA/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247302199,"owners_count":20916651,"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":["csharp","dotnet","qoa"],"created_at":"2024-12-18T13:11:45.800Z","updated_at":"2025-10-19T19:33:12.751Z","avatar_url":"https://github.com/mcraiha.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSharp-QOA\n\nManaged .NET implementation of [QOA](https://github.com/phoboslab/qoa) (Quite OK Audio Format) written in C#\n\n## Build status\n![](https://github.com/mcraiha/CSharp-QOA/actions/workflows/dotnet.yml/badge.svg)\n\n## Nuget\n[![NuGet version (LibQOA)](https://img.shields.io/nuget/v/LibQOA.svg?style=flat-square)](https://www.nuget.org/packages/LibQOA/)\n\n## Why?\n\nBecause I needed this for my personal project\n\n## Content\n\n[src](src) folder contains the actual library source code to do QOA encoding/decoding\n\n[tests](tests) folder contains unit test cases\n\n[clitool](clitool) folder contains command-line tool source code for encoding/decoding QOA files\n\n## How to use?\n\nIf you want to decode .qoa file to .wav, then you can use following code\n\n```cs\nusing QOALib;\n\nQOA qoa = new QOA();\n\nusing (FileStream inputStream = File.OpenRead(inputQOAFilename))\n{\n    using (FileStream outputStream = File.Create(outputWAVFilename))\n    {\n        qoa.DecodeToWav(inputStream, outputStream);\n    }\n}\n```\n\nIf you want to encode 16 bit .wav file to .qoa, then you can use following code\n\n```cs\nusing QOALib;\n\nQOA qoa = new QOA();\n\nusing (FileStream inputStream = File.OpenRead(inputWAVFilename))\n{\n    using (FileStream outputStream = File.Create(outputQOAFilename))\n    {\n        qoa.EncodeWAVToQOA(inputStream, outputStream);\n    }\n}\n```\n\n## License\n\nAll the code is licensed under [MIT License](LICENSE) because that is the license QOA uses.\n\nAll the audio samples in [tests/samples](tests/samples) folder are under [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/) and they are from [Oculus Audio Pack 1](https://developers.meta.com/horizon/downloads/package/oculus-audio-pack-1/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcraiha%2Fcsharp-qoa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcraiha%2Fcsharp-qoa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcraiha%2Fcsharp-qoa/lists"}