{"id":13482452,"url":"https://github.com/mjago/soundfile","last_synced_at":"2025-07-04T08:08:36.376Z","repository":{"id":54647644,"uuid":"78474418","full_name":"mjago/soundfile","owner":"mjago","description":"libsndfile bindings for the Crystal Language","archived":false,"fork":false,"pushed_at":"2021-02-06T02:44:53.000Z","size":345,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T13:38:43.743Z","etag":null,"topics":["crystal","libsndfile","sound","sound-files"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/mjago.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":"2017-01-09T22:19:38.000Z","updated_at":"2024-04-09T20:43:33.000Z","dependencies_parsed_at":"2022-08-13T22:40:46.488Z","dependency_job_id":null,"html_url":"https://github.com/mjago/soundfile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mjago/soundfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjago%2Fsoundfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjago%2Fsoundfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjago%2Fsoundfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjago%2Fsoundfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjago","download_url":"https://codeload.github.com/mjago/soundfile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjago%2Fsoundfile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263472278,"owners_count":23471815,"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":["crystal","libsndfile","sound","sound-files"],"created_at":"2024-07-31T17:01:02.141Z","updated_at":"2025-07-04T08:08:36.345Z","avatar_url":"https://github.com/mjago.png","language":"Crystal","funding_links":[],"categories":["C bindings"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/mjago/soundfile.svg?branch=master)](https://travis-ci.org/mjago/soundfile)\n\n# soundfile\n\nCrystal extension for the [libsndfile](http://www.mega-nerd.com/libsndfile/) _soundfile manipulation_ library\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  soundfile:\n    github: mjago/soundfile\n```\n\n## Usage\n\n```crystal\nrequire \"soundfile\"\ninclude SoundFile\n```\n\n### Read and write files\n\n```crystal\nSFile.open(\"read.wav\", :read) do |sf_in|\n  ptr = Slice.new(sf_in.size, Int32.new(0))\n  sf.read_int(ptr, sf_in.size)\n\n  SFile.open(\"write.wav\", :write, sf_in.info) do |sf_out|\n    sf_out.write_int(ptr, sf_in.size)\n  end\nend\n```\n\nSee [specs](https://github.com/mjago/soundfile/blob/master/spec/soundfile_spec.cr) and [libsndfile](http://www.mega-nerd.com/libsndfile/) for further usage\n\n## Dependencies\n1. [libsndfile](http://www.mega-nerd.com/libsndfile/)\n\n## Development\n\nTODO: Write development instructions here\n\n## Contributing\n\n1. Fork it ( https://github.com/mjago/soundfile/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [mjago](https://github.com/mjago) - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjago%2Fsoundfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjago%2Fsoundfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjago%2Fsoundfile/lists"}