Title: Audio lossyness between different CPU architectures · Issue #7 · slmdev/sac · GitHub
Open Graph Title: Audio lossyness between different CPU architectures · Issue #7 · slmdev/sac
X Title: Audio lossyness between different CPU architectures · Issue #7 · slmdev/sac
Description: Recently I discovered a strange behavior with SAC. Steps to reproduce: Choose a .wav file to encode, the longer the more likely the problem will occur. Encode a file on a specific CPU architecture (let's say x86-64). Any settings are fin...
Open Graph Description: Recently I discovered a strange behavior with SAC. Steps to reproduce: Choose a .wav file to encode, the longer the more likely the problem will occur. Encode a file on a specific CPU architecture ...
X Description: Recently I discovered a strange behavior with SAC. Steps to reproduce: Choose a .wav file to encode, the longer the more likely the problem will occur. Encode a file on a specific CPU architecture ...
Opengraph URL: https://github.com/slmdev/sac/issues/7
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Audio lossyness between different CPU architectures","articleBody":"Recently I discovered a strange behavior with SAC.\r\n\r\n### Steps to reproduce:\r\n- Choose a `.wav` file to encode, the longer the more likely the problem will occur.\r\n- Encode a file on a specific CPU architecture (let's say x86-64). Any settings are fine (so for simplicity I chose the fastest - e.g. no argument given to `sac`).\r\n- Decode the encoded file on a *different CPU architecture (let's say aarch64/ARM).\r\n- Check the audio checksums with `ffmpeg -v error -i \u003cfile.wav\u003e -f streamhash -`\r\n- You will see that the decoded `.wav` does not match the input one (while if you used the same CPU architecture for both encoding and decoding they would match). You can also listen to the decoded file, **warning: loud electronic noise**.\r\n\r\nTested with aarch64 and x86-64, both with clang 16.0.6 and `clang++ -O3 -flto -march=native -s`\r\n\r\nAt least SAC encoding is architecture-dependent (different architectures will give different encoded SAC files - even the size).\r\n\r\nOn [Mega](https://mega.nz/folder/EjQw3YpC#X6kcyjiIpo0XrNWhe8DgRg), you can find the original WAV file, as well as the aarch64 and x86-64 SAC encoded files.","author":{"url":"https://github.com/T-3B","@type":"Person","name":"T-3B"},"datePublished":"2023-12-10T17:47:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/7/sac/issues/7"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eefb737f-8ab5-a35c-427f-575c3d89c036 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A064:19A823:AD45AD:F21C64:6A4BE06D |
| html-safe-nonce | e893407981a86c7a9e4e2d3af4c8951bb68b8e59020719d7b37b16cc4fa3becc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDY0OjE5QTgyMzpBRDQ1QUQ6RjIxQzY0OjZBNEJFMDZEIiwidmlzaXRvcl9pZCI6IjQxOTY2NjU4NjMyOTkzMTg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b4c060a2c4f601a191fdb13af14999646cbecb8aac8edc1fbe3d6123303c5f4f |
| hovercard-subject-tag | issue:2034467991 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/slmdev/sac/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4af35e0df20cfdf1ea895be509f9913a5942df45e252f805e1eb6059b032b442/slmdev/sac/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4af35e0df20cfdf1ea895be509f9913a5942df45e252f805e1eb6059b032b442/slmdev/sac/issues/7 |
| og:image:alt | Recently I discovered a strange behavior with SAC. Steps to reproduce: Choose a .wav file to encode, the longer the more likely the problem will occur. Encode a file on a specific CPU architecture ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | T-3B |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/slmdev/sac git https://github.com/slmdev/sac.git |
| octolytics-dimension-user_id | 40179664 |
| octolytics-dimension-user_login | slmdev |
| octolytics-dimension-repository_id | 136962154 |
| octolytics-dimension-repository_nwo | slmdev/sac |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 136962154 |
| octolytics-dimension-repository_network_root_nwo | slmdev/sac |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 253920ac2dc35b0849cca4633895f1f2e5f03051 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width