{"action":"created","issue":{"url":"https://api.github.com/repos/taglib/taglib/issues/500","labels_url":"https://api.github.com/repos/taglib/taglib/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/taglib/taglib/issues/500/comments","events_url":"https://api.github.com/repos/taglib/taglib/issues/500/events","html_url":"https://github.com/taglib/taglib/issues/500","id":55371666,"number":500,"title":"WAVE Info tags not removed properly","user":{"login":"sbooth","id":9965,"avatar_url":"https://avatars.githubusercontent.com/u/9965?v=3","gravatar_id":"","url":"https://api.github.com/users/sbooth","html_url":"https://github.com/sbooth","followers_url":"https://api.github.com/users/sbooth/followers","following_url":"https://api.github.com/users/sbooth/following{/other_user}","gists_url":"https://api.github.com/users/sbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/sbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbooth/subscriptions","organizations_url":"https://api.github.com/users/sbooth/orgs","repos_url":"https://api.github.com/users/sbooth/repos","events_url":"https://api.github.com/users/sbooth/events{/privacy}","received_events_url":"https://api.github.com/users/sbooth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-24T13:58:51Z","updated_at":"2015-01-30T05:09:02Z","closed_at":null,"body":"I've discovered odd behavior where tag information isn't properly removed from WAVE files.  I created an empty WAVE in audacity and verified that it had no tag information in a hex editor and using the `tagreader` example:\r\n\r\n```\r\n./tagreader ~/Desktop/test.wav\r\n-- TAG (basic) --\r\ntitle   - \"\"\r\nartist  - \"\"\r\nalbum   - \"\"\r\nyear    - \"0\"\r\ncomment - \"\"\r\ntrack   - \"0\"\r\ngenre   - \"\"\r\n-- TAG (properties) --\r\n-- AUDIO --\r\nbitrate     - 705\r\nsample rate - 44100\r\nchannels    - 1\r\nlength      - 0:01\r\n```\r\nThen I added a dummy title and verified it was there:\r\n\r\n`./tagwriter -t \"Title\" ~/Desktop/test.wav `\r\n\r\n```\r\n./tagreader ~/Desktop/test.wav\r\n-- TAG (basic) --\r\ntitle   - \"Title\"\r\nartist  - \"\"\r\nalbum   - \"\"\r\nyear    - \"0\"\r\ncomment - \"\"\r\ntrack   - \"0\"\r\ngenre   - \"\"\r\n-- TAG (properties) --\r\nTITLE - \"Title\"\r\n-- AUDIO --\r\nbitrate     - 705\r\nsample rate - 44100\r\nchannels    - 1\r\nlength      - 0:10\r\n```\r\n\r\nInterestingly, the reported length changed from 1 second (the actual length) to 10 seconds.  This is something I need to investigate further.\r\n\r\nI then attempted to remove the title by setting it to an empty string:\r\n\r\n`./tagwriter -t \"\" ~/Desktop/test.wav `\r\n\r\nBut the tag persisted:\r\n\r\n```\r\n./tagreader ~/Desktop/test.wav\r\n-- TAG (basic) --\r\ntitle   - \"Title\"\r\nartist  - \"\"\r\nalbum   - \"\"\r\nyear    - \"0\"\r\ncomment - \"\"\r\ntrack   - \"0\"\r\ngenre   - \"\"\r\n-- TAG (properties) --\r\nTITLE - \"Title\"\r\n-- AUDIO --\r\nbitrate     - 705\r\nsample rate - 44100\r\nchannels    - 1\r\nlength      - 0:10\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/taglib/taglib/issues/comments/72154986","html_url":"https://github.com/taglib/taglib/issues/500#issuecomment-72154986","issue_url":"https://api.github.com/repos/taglib/taglib/issues/500","id":72154986,"user":{"login":"TsudaKageyu","id":2161941,"avatar_url":"https://avatars.githubusercontent.com/u/2161941?v=3","gravatar_id":"","url":"https://api.github.com/users/TsudaKageyu","html_url":"https://github.com/TsudaKageyu","followers_url":"https://api.github.com/users/TsudaKageyu/followers","following_url":"https://api.github.com/users/TsudaKageyu/following{/other_user}","gists_url":"https://api.github.com/users/TsudaKageyu/gists{/gist_id}","starred_url":"https://api.github.com/users/TsudaKageyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TsudaKageyu/subscriptions","organizations_url":"https://api.github.com/users/TsudaKageyu/orgs","repos_url":"https://api.github.com/users/TsudaKageyu/repos","events_url":"https://api.github.com/users/TsudaKageyu/events{/privacy}","received_events_url":"https://api.github.com/users/TsudaKageyu/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T05:09:02Z","updated_at":"2015-01-30T05:09:02Z","body":"I just confirmed the issue. I will look into it on this weekend."}}