Title: libsndfile (soundfile) for mp3 not float32 but float64 · Issue #349 · bastibe/python-soundfile · GitHub
Open Graph Title: libsndfile (soundfile) for mp3 not float32 but float64 · Issue #349 · bastibe/python-soundfile
X Title: libsndfile (soundfile) for mp3 not float32 but float64 · Issue #349 · bastibe/python-soundfile
Description: librosa/librosa#1584 Audio out from libsndfile (soundfile) for mp3 not float32 but float64. Because of this, if we do not force the dtype=float64 , we get an empty array print mp3 with dtype set float32 by default audio_test, _ = librosa...
Open Graph Description: librosa/librosa#1584 Audio out from libsndfile (soundfile) for mp3 not float32 but float64. Because of this, if we do not force the dtype=float64 , we get an empty array print mp3 with dtype set fl...
X Description: librosa/librosa#1584 Audio out from libsndfile (soundfile) for mp3 not float32 but float64. Because of this, if we do not force the dtype=float64 , we get an empty array print mp3 with dtype set fl...
Opengraph URL: https://github.com/bastibe/python-soundfile/issues/349
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"libsndfile (soundfile) for mp3 not float32 but float64","articleBody":"https://github.com/librosa/librosa/issues/1584\r\nAudio out from libsndfile (soundfile) for mp3 not float32 but float64.\r\nBecause of this, if we do not force the dtype=float64 , we get an empty array\r\n\r\nprint mp3 with dtype set float32 by default\r\naudio_test, _ = librosa.load('./g.mp3', mono=False, res_type='kaiser_fast',sr=sr)\r\n```\r\n[]\r\n0\r\n(2, 0)\r\ntensor([], size=(2, 0))\r\n```\r\nprint mp3 with dtype =float64\r\naudio_test, _ = librosa.load('./g.mp3', mono=False, res_type='kaiser_fast',sr=sr, dtype=np.float64)\r\n```\r\n[[0. 0. 0. ... 0. 0. 0.]\r\n [0. 0. 0. ... 0. 0. 0.]]\r\n21182464\r\n(2, 10591232)\r\ntensor([[0., 0., 0., ..., 0., 0., 0.],\r\n [0., 0., 0., ..., 0., 0., 0.]])\r\n```","author":{"url":"https://github.com/magicse","@type":"Person","name":"magicse"},"datePublished":"2022-09-29T13:01:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/349/python-soundfile/issues/349"}
| 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:61bd8a9f-a181-fee6-78f1-12d2f8855bc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE80:1DF0:240C772:2F2E2C8:698BC40A |
| html-safe-nonce | c02ca63105aedb090dbc9c720999762c63d302adac61e9b0d9ad485cdaa58244 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTgwOjFERjA6MjQwQzc3MjoyRjJFMkM4OjY5OEJDNDBBIiwidmlzaXRvcl9pZCI6Ijg3Mjk0MDQ3ODIwNjI5NzA5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e22643253fe9b8d74c10bea40f09583552a6630a787bdf702a238219e437465e |
| hovercard-subject-tag | issue:1390834165 |
| 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/bastibe/python-soundfile/349/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34a6d26bcd0f04937a926daa73df702bc9b8f79a8a4457ab0e3bf82703395b85/bastibe/python-soundfile/issues/349 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34a6d26bcd0f04937a926daa73df702bc9b8f79a8a4457ab0e3bf82703395b85/bastibe/python-soundfile/issues/349 |
| og:image:alt | librosa/librosa#1584 Audio out from libsndfile (soundfile) for mp3 not float32 but float64. Because of this, if we do not force the dtype=float64 , we get an empty array print mp3 with dtype set fl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | magicse |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/bastibe/python-soundfile git https://github.com/bastibe/python-soundfile.git |
| octolytics-dimension-user_id | 649181 |
| octolytics-dimension-user_login | bastibe |
| octolytics-dimension-repository_id | 12406971 |
| octolytics-dimension-repository_nwo | bastibe/python-soundfile |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12406971 |
| octolytics-dimension-repository_network_root_nwo | bastibe/python-soundfile |
| 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 | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width