{"id":13878657,"url":"https://github.com/aidewoode/wahwah","last_synced_at":"2025-05-06T22:07:16.932Z","repository":{"id":43826561,"uuid":"195390614","full_name":"aidewoode/wahwah","owner":"aidewoode","description":"Ruby gem for reading audio metadata","archived":false,"fork":false,"pushed_at":"2024-09-09T12:46:22.000Z","size":606,"stargazers_count":126,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T22:02:55.460Z","etag":null,"topics":["audio","flac","id3","metadata","mp3","mp4","music","ogg","opus","ruby","tagging","wav","wma"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/aidewoode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-07-05T10:29:30.000Z","updated_at":"2025-04-20T16:53:10.000Z","dependencies_parsed_at":"2024-11-24T09:03:12.579Z","dependency_job_id":"da9f469a-d5d4-4d0c-9616-251d6344aef2","html_url":"https://github.com/aidewoode/wahwah","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidewoode%2Fwahwah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidewoode%2Fwahwah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidewoode%2Fwahwah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidewoode%2Fwahwah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidewoode","download_url":"https://codeload.github.com/aidewoode/wahwah/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776579,"owners_count":21802467,"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":["audio","flac","id3","metadata","mp3","mp4","music","ogg","opus","ruby","tagging","wav","wma"],"created_at":"2024-08-06T08:01:55.871Z","updated_at":"2025-05-06T22:07:16.916Z","avatar_url":"https://github.com/aidewoode.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# WahWah\n\n[![CI](https://github.com/aidewoode/wahwah/actions/workflows/ci.yml/badge.svg)](https://github.com/aidewoode/wahwah/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/aidewoode/wahwah/badge.svg?branch=master)](https://coveralls.io/github/aidewoode/wahwah?branch=master)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)\n\nWahWah is an audio metadata reader Ruby gem, it supports many popular formats including mp3(ID3 v1, v2.2, v2.3, v2.4), m4a, ogg, oga, opus, wav, flac and wma.\n\nWahWah is written in pure Ruby, and without any dependencies.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"wahwah\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install wahwah\n\n\n## Compatibility\n\nWahWah support Ruby 2.7+\n\n## Usage\n\nWahWah is so easy to use.\n\n```ruby\nrequire \"wahwah\"\n\n# Get metadata from an audio file path\ntag = WahWah.open(\"/files/example.wav\")\n\n# Or from IO like object\nFile.open(\"/files/example.wav\") do |file|\n  tag = WahWah.open(file)\nend\n\n# Supported attributes\ntag.title       # =\u003e \"song title\"\ntag.artist      # =\u003e \"artist name\"\ntag.album       # =\u003e \"album name\"\ntag.albumartist # =\u003e \"albumartist name\"\ntag.composer    # =\u003e \"composer name\"\ntag.comments    # =\u003e [\"comment\", \"another comment\"]\ntag.track       # =\u003e 1\ntag.track_total # =\u003e 10\ntag.genre       # =\u003e \"Rock\"\ntag.year        # =\u003e \"1984\"\ntag.disc        # =\u003e 1\ntag.disc_total  # =\u003e 2\ntag.lyrics      # =\u003e \"song lyrics\"\ntag.duration    # =\u003e 256.1 (in seconds)\ntag.bitrate     # =\u003e 192 (in kbps)\ntag.sample_rate # =\u003e 44100 (in Hz)\ntag.bit_depth   # =\u003e 16 (in bits, only for PCM formats)\ntag.file_size   # =\u003e 976700 (in bytes)\ntag.images      # =\u003e [{ :type =\u003e :cover_front, :mime_type =\u003e 'image/jpeg', :data =\u003e 'image data binary string' }]\n\n\n# Get all support formats\nWahWah.support_formats # =\u003e [\"mp3\", \"ogg\", \"oga\", \"opus\", \"wav\", \"flac\", \"wma\", \"m4a\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidewoode%2Fwahwah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidewoode%2Fwahwah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidewoode%2Fwahwah/lists"}